Remove moot tslint disable comment

This commit is contained in:
Sam Verschueren 2018-04-04 07:32:23 +02:00
parent 7ae4b44ca2
commit 877a910a7b

View file

@ -43,7 +43,7 @@ export const enum TypeName {
}
const toString = Object.prototype.toString;
const isOfType = <T>(type: string) => (value: any): value is T => typeof value === type; // tslint:disable-line:strict-type-predicates
const isOfType = <T>(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;