Skip to content

Commit

Permalink
Update provided image types
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilwanner committed Jun 14, 2020
1 parent c796e31 commit 114d62a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export interface ImgSrc {
type ImgSrc = {
src: string;
width: number;
height: number;
format: string;
toString(): string;
}

export interface ColorsSrc {
type ColorsSrc = {
src: string[];
width: number;
height: number;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"webpack": "^4.43.0"
},
"main": "lib/index.js",
"types": "images.d.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
Expand Down

0 comments on commit 114d62a

Please sign in to comment.