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;
}
export interface Class<T = unknown> {
new(...args: any[]): T;
}
export type Class<T = unknown> = new(...args: any[]) => T;
type DomElement = object & { nodeType: 1; nodeName: string };
type NodeStream = object & { pipe: Function };