forked from FoundKeyGang/FoundKey
Revert "Create new type definition for 'is-url' (#4013)"
This reverts commit 014b58cb40
.
This commit is contained in:
parent
206b57b962
commit
c4f7491322
3 changed files with 2 additions and 8 deletions
|
@ -46,6 +46,7 @@
|
||||||
"@types/gulp-util": "3.0.34",
|
"@types/gulp-util": "3.0.34",
|
||||||
"@types/is-root": "1.0.0",
|
"@types/is-root": "1.0.0",
|
||||||
"@types/is-svg": "3.0.0",
|
"@types/is-svg": "3.0.0",
|
||||||
|
"@types/is-url": "1.2.28",
|
||||||
"@types/js-yaml": "3.12.0",
|
"@types/js-yaml": "3.12.0",
|
||||||
"@types/jsdom": "12.2.1",
|
"@types/jsdom": "12.2.1",
|
||||||
"@types/katex": "0.5.0",
|
"@types/katex": "0.5.0",
|
||||||
|
|
7
src/@types/is-url.d.ts
vendored
7
src/@types/is-url.d.ts
vendored
|
@ -1,7 +0,0 @@
|
||||||
declare module 'is-url' {
|
|
||||||
function isUrl(string: string): boolean;
|
|
||||||
|
|
||||||
namespace isUrl {} // Hack
|
|
||||||
|
|
||||||
export = isUrl;
|
|
||||||
}
|
|
|
@ -6,7 +6,7 @@ import * as fs from 'fs';
|
||||||
import { URL } from 'url';
|
import { URL } from 'url';
|
||||||
import * as yaml from 'js-yaml';
|
import * as yaml from 'js-yaml';
|
||||||
import { Source, Mixin } from './types';
|
import { Source, Mixin } from './types';
|
||||||
import * as isUrl from 'is-url';
|
import isUrl = require('is-url');
|
||||||
import * as pkg from '../../package.json';
|
import * as pkg from '../../package.json';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue