diff --git a/source/index.ts b/source/index.ts index e86d89f..64f5600 100644 --- a/source/index.ts +++ b/source/index.ts @@ -43,7 +43,7 @@ export const enum TypeName { } const toString = Object.prototype.toString; -const isOfType = (type: string) => (value: any): value is T => typeof value === type; // tslint:disable-line:strict-type-predicates +const isOfType = (type: string) => (value: any): value is T => typeof value === type; const getObjectType = (value: any): TypeName | null => { const objectName = toString.call(value).slice(8, -1) as string;