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 };