From 35e69d244e43694110d591f5e05fbcbc3d287891 Mon Sep 17 00:00:00 2001 From: imprevo Date: Tue, 2 Apr 2019 00:34:26 +0700 Subject: [PATCH] Enable strictFunctionTypes option --- types/rtl-detect/tsconfig.json | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/types/rtl-detect/tsconfig.json b/types/rtl-detect/tsconfig.json index b0b27b65f9..1bd8ca915d 100644 --- a/types/rtl-detect/tsconfig.json +++ b/types/rtl-detect/tsconfig.json @@ -1,22 +1,16 @@ { "compilerOptions": { "module": "commonjs", - "lib": [ - "es6" - ], + "lib": ["es6"], "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true, + "strictFunctionTypes": true, "baseUrl": "../", - "typeRoots": [ - "../" - ], + "typeRoots": ["../"], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, - "files": [ - "index.d.ts", - "rtl-detect-tests.ts" - ] + "files": ["index.d.ts", "rtl-detect-tests.ts"] }