Fix lint issue

This commit is contained in:
Sindre Sorhus 2019-01-12 12:14:45 +07:00
parent 0e1cce5d45
commit ab586df0f9

View file

@ -14,9 +14,7 @@ export interface ArrayLike {
length: number; length: number;
} }
export interface Class<T = unknown> { export type Class<T = unknown> = new(...args: any[]) => T;
new(...args: any[]): T;
}
type DomElement = object & { nodeType: 1; nodeName: string }; type DomElement = object & { nodeType: 1; nodeName: string };
type NodeStream = object & { pipe: Function }; type NodeStream = object & { pipe: Function };