Skip to content

Commit

Permalink
fix(file): add missing exports (#1101)
Browse files Browse the repository at this point in the history
Any declaration that is not being exported is missing from the resulting d.ts declaration files.
  • Loading branch information
jsayol authored and ihadeed committed Feb 23, 2017
1 parent 093c8a8 commit 23b97f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export interface FileWriter extends FileSaver {
}

/* FileWriter states */
declare var FileWriter: {
export declare var FileWriter: {
INIT: number;
WRITING: number;
DONE: number
Expand All @@ -308,7 +308,7 @@ export interface FileReader {
readAsArrayBuffer(fe: File | Blob): void;
}

declare var FileReader: {
export declare var FileReader: {
EMPTY: number;
LOADING: number;
DONE: number;
Expand All @@ -322,7 +322,7 @@ export interface FileError {
message: string;
}

declare var FileError: {
export declare var FileError: {
new (code: number): FileError;
NOT_FOUND_ERR: number;
SECURITY_ERR: number;
Expand Down

0 comments on commit 23b97f6

Please sign in to comment.