Fix vibrant type (#5100)

This commit is contained in:
Paulus Schoutsen 2020-03-07 21:46:51 -08:00 committed by GitHub
parent 0b3d2ea4ad
commit e5467181cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import {
} from "lit-element";
import { classMap } from "lit-html/directives/class-map";
import { styleMap } from "lit-html/directives/style-map";
import * as Vibrant from "node-vibrant";
import Vibrant from "node-vibrant";
import { Palette } from "node-vibrant/lib/color";
import "@polymer/paper-icon-button/paper-icon-button";

View File

@ -1,4 +1,4 @@
declare module "node-vibrant" {
export = Vibrant;
export default Vibrant;
}
declare var Vibrant: Any;