mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
15 lines
420 B
TypeScript
15 lines
420 B
TypeScript
// Type definitions for url v1.8.6
|
|
// Project: https://github.com/websanova/js-url
|
|
// Definitions by: MIZUNE Pine <https://github.com/pine613>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
interface UrlStatic {
|
|
(): string;
|
|
(pattern: string): string;
|
|
(pattern: number): string;
|
|
(pattern: string, url: string): string;
|
|
(pattern: number, url: string): string;
|
|
}
|
|
|
|
declare var url: UrlStatic;
|