Fixing defs and tests

This commit is contained in:
Mykhailo Stadnyk
2016-08-12 15:36:54 +03:00
parent 0957d02747
commit fb27145ccd
2 changed files with 4 additions and 5 deletions

View File

@@ -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
View File

@@ -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;
}