mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Fix import style and add strictFunctionTypes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as blobToBuffer from "blob-to-buffer";
|
||||
import blobToBuffer = require("blob-to-buffer");
|
||||
|
||||
blobToBuffer(new Blob(), (error, buffer) => {
|
||||
console.log(error);
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user