[urijs] Ensure compatibility with node.js environment (#36536)

This commit is contained in:
Bohr Hew 2019-07-08 12:38:14 -04:00 committed by Andrew Branch
parent 9075fd92d9
commit 71c2f3c003

View File

@ -15,6 +15,10 @@
// - rxjs: https://github.com/ReactiveX/rxjs/issues/1986
/// <reference path="./dom-monkeypatch.d.ts" />
// Compatability with node.js
// tslint:disable-next-line:no-empty-interface
interface HTMLElement { }
declare namespace uri {
interface URI {
absoluteTo(path: string | URI): URI;