From 40bb1edfacbae3fc4edc48e6321fb947a1e5c9ee Mon Sep 17 00:00:00 2001 From: Sascha Englert Date: Thu, 20 Sep 2018 17:25:57 +0200 Subject: [PATCH] Adjusted tsconfig and fixed critical whitespace missing in comment /s --- types/obj-str/obj-str-tests.ts | 2 +- types/obj-str/tsconfig.json | 14 ++++---------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/types/obj-str/obj-str-tests.ts b/types/obj-str/obj-str-tests.ts index eea0300de7..e945aef673 100644 --- a/types/obj-str/obj-str-tests.ts +++ b/types/obj-str/obj-str-tests.ts @@ -3,4 +3,4 @@ import objstr = require('obj-str'); const isTrue = () => true; objstr({ foo: true, bar: false, baz: isTrue() }); -//=> 'foo baz' +// => 'foo baz' diff --git a/types/obj-str/tsconfig.json b/types/obj-str/tsconfig.json index ec7d04011d..e2498d5707 100644 --- a/types/obj-str/tsconfig.json +++ b/types/obj-str/tsconfig.json @@ -1,22 +1,16 @@ { "compilerOptions": { "module": "commonjs", - "lib": [ - "es6" - ], + "lib": ["es6"], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, "baseUrl": "../", - "typeRoots": [ - "../" - ], + "typeRoots": ["../"], + "strictFunctionTypes": true, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, - "files": [ - "index.d.ts", - "obj-str-tests.ts" - ] + "files": ["index.d.ts", "obj-str-tests.ts"] }