mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 12:33:17 +08:00
Fixing defs and tests
This commit is contained in:
@@ -44,8 +44,7 @@ delete u.query.a;
|
||||
delete u.query["a"];
|
||||
|
||||
// If you need to remove all query string params:
|
||||
u.query.clear();
|
||||
alert(u);
|
||||
alert(u.clearQuaery());
|
||||
|
||||
// Lookup URL parts:
|
||||
alert(
|
||||
|
||||
6
domurl/domurl.d.ts
vendored
6
domurl/domurl.d.ts
vendored
@@ -1,10 +1,10 @@
|
||||
// Type definitions for domurl
|
||||
// Project: https://github.com/Mikhus/domurl
|
||||
// Definitions by: Mykhailo Stadnyk <mikhus@gmail.com>
|
||||
// Definitions by: Mikhus <ttps://github.com/Mikhus>
|
||||
// Definitions: https://github.com/Mikhus/DefinitelyTyped
|
||||
|
||||
interface QueryString {
|
||||
(qs?: string);
|
||||
declare class QueryString {
|
||||
constructor(qs?: string);
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user