Fix import style and add strictFunctionTypes

This commit is contained in:
Andy Hanson
2017-10-16 10:23:51 -07:00
parent ea4b599d93
commit 6c91d49f9f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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);
+1
View File
@@ -8,6 +8,7 @@
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"