Fix linting

This commit is contained in:
Sindre Sorhus 2019-06-15 02:12:31 +07:00
parent 7bf407fbf1
commit ffc6ce4586
3 changed files with 14 additions and 13 deletions

View file

@ -2,7 +2,6 @@
/// <reference lib="dom"/>
// TODO: Use the `URL` global when targeting Node.js 10
// eslint-disable-next-line @typescript-eslint/no-require-imports
const URLGlobal = typeof URL === 'undefined' ? require('url').URL : URL;
export type Class<T = unknown> = new (...args: any[]) => T;