From 33dfeb9d34d7d1973871938222ec7d86ef52546a Mon Sep 17 00:00:00 2001 From: Yongbeen Im Date: Sun, 30 Dec 2018 17:12:38 +0900 Subject: [PATCH 1/2] classnames tsconfig file modified strictNullChecks option to true --- types/classnames/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/classnames/tsconfig.json b/types/classnames/tsconfig.json index f9b03432fc..0e8475e613 100644 --- a/types/classnames/tsconfig.json +++ b/types/classnames/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "strictFunctionTypes": true, "baseUrl": "../", "typeRoots": [ From d81e5b3218210620695c15c8aa2a853721c6e1bc Mon Sep 17 00:00:00 2001 From: Yongbeen Im Date: Sun, 30 Dec 2018 17:13:44 +0900 Subject: [PATCH 2/2] calssnames module bind error fixed --- types/classnames/bind.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/classnames/bind.d.ts b/types/classnames/bind.d.ts index 4af94d1835..9befbabd4c 100644 --- a/types/classnames/bind.d.ts +++ b/types/classnames/bind.d.ts @@ -1,3 +1,3 @@ -import * as cn from "./index"; +import classNames = require('./index'); -export function bind(styles: Record): typeof cn; +export function bind(styles: Record): typeof classNames;