Skip to content

Commit

Permalink
build: Add types for TypeScript (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
BANOnotIT authored and jahredhope committed Aug 24, 2019
1 parent 90f7150 commit 98d38d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
declare module 'promise-file-reader' {
export function readAsText(input: Blob): Promise<string>;

export function readAsArrayBuffer(input: Blob): Promise<ArrayBuffer>;

export function readAsDataURL(input: Blob): Promise<string>;
}

0 comments on commit 98d38d0

Please sign in to comment.