Skip to content

Commit

Permalink
fix(image-reader): fix default export of image-processor[didi#166]
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyan0205 committed Jul 28, 2018
1 parent 4ca1df1 commit d9b8a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/image-processor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export interface ImageProcessorData {
blob: Blob
}

export declare function ImageProcessor(
export default function ImageProcessor(
options: ImageProcessorOptions,
callback?: (data: ImageProcessorData) => any): Promise<ImageProcessorData>

0 comments on commit d9b8a2c

Please sign in to comment.