Import URL class from the url module

This commit is contained in:
Itai Steinherz 2018-12-07 08:22:30 +02:00
parent a7d3b376d4
commit bd9ea506c4
No known key found for this signature in database
GPG key ID: BE977733D203B00A

View file

@ -3,6 +3,7 @@
/// <reference lib="esnext.asynciterable"/>
/// <reference lib="dom"/>
import symbolObservable from 'symbol-observable';
import {URL} from 'url';
type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array;
type Primitive = null | undefined | string | number | boolean | Symbol;