From ab586df0f9ff91e4c0e0d692a978cba110df1d7c Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 12 Jan 2019 12:14:45 +0700 Subject: [PATCH] Fix lint issue --- source/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/index.ts b/source/index.ts index ba1f089..45cd17d 100644 --- a/source/index.ts +++ b/source/index.ts @@ -14,9 +14,7 @@ export interface ArrayLike { length: number; } -export interface Class { - new(...args: any[]): T; -} +export type Class = new(...args: any[]) => T; type DomElement = object & { nodeType: 1; nodeName: string }; type NodeStream = object & { pipe: Function };