According to https://developer.mozilla.org/en-US/docs/Web/API/FileReader
interface FileReader extends MSBaseReader {
error: DOMError;
readAsArrayBuffer(blob: Blob): void;
readAsDataURL(blob: Blob): void;
readAsText(blob: Blob, encoding?: string): void;
}
declare var FileReader: {
prototype: FileReader;
new (): FileReader;
}
this from lib.d.ts should also have DONE,LOADING,EMPTY on the variable. How can I extend this, and do lib.d.ts has a public place where such changes can be committed to?