Fix linting
This commit is contained in:
parent
7bf407fbf1
commit
ffc6ce4586
3 changed files with 14 additions and 13 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue