diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2019-02-04 01:30:33 +0900 |
|---|---|---|
| committer | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2019-02-04 01:30:33 +0900 |
| commit | c4f74913225cc92d4285b6da0182b0daf62ca404 (patch) | |
| tree | 9cfae79549579429c7b2c1ae2ebaaa0bd14f5640 /src | |
| parent | New translations ja-JP.yml (Polish) (#4116) (diff) | |
| download | sharkey-c4f74913225cc92d4285b6da0182b0daf62ca404.tar.gz sharkey-c4f74913225cc92d4285b6da0182b0daf62ca404.tar.bz2 sharkey-c4f74913225cc92d4285b6da0182b0daf62ca404.zip | |
Revert "Create new type definition for 'is-url' (#4013)"
This reverts commit 014b58cb4098c31c1d0d8d2ad521e48368491d07.
Diffstat (limited to 'src')
| -rw-r--r-- | src/@types/is-url.d.ts | 7 | ||||
| -rw-r--r-- | src/config/load.ts | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/@types/is-url.d.ts b/src/@types/is-url.d.ts deleted file mode 100644 index c1ccadd498..0000000000 --- a/src/@types/is-url.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare module 'is-url' { - function isUrl(string: string): boolean; - - namespace isUrl {} // Hack - - export = isUrl; -} diff --git a/src/config/load.ts b/src/config/load.ts index 57cfb8075c..ba8b4af3ce 100644 --- a/src/config/load.ts +++ b/src/config/load.ts @@ -6,7 +6,7 @@ import * as fs from 'fs'; import { URL } from 'url'; import * as yaml from 'js-yaml'; import { Source, Mixin } from './types'; -import * as isUrl from 'is-url'; +import isUrl = require('is-url'); import * as pkg from '../../package.json'; /** |