mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Fix linting errors.
This commit is contained in:
4
angular-file-saver/index.d.ts
vendored
4
angular-file-saver/index.d.ts
vendored
@@ -3,6 +3,8 @@
|
||||
// Definitions by: Donald Nairn <https://github.com/deenairn/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="angular" />
|
||||
|
||||
declare namespace angular {
|
||||
/**
|
||||
* A core Angular factory proving FileSaver functionality.
|
||||
@@ -14,6 +16,6 @@ declare namespace angular {
|
||||
* @param filename: a String custom filename (an extension is optional);
|
||||
* @param disableAutoBOM : (optional) Boolean Disable automatically provided Unicode text encoding hints;
|
||||
*/
|
||||
saveAs(blob: Blob, fileName: string, disableBOM: boolean);
|
||||
saveAs(blob: Blob, fileName: string, disableBOM?: boolean): void;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user