@types/domurl
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -1,2 +0,2 @@ | ||
// Type definitions for domurl | ||
// Type definitions for domurl | ||
// Project: https://github.com/Mikhus/domurl | ||
@@ -6,5 +6,6 @@ // Definitions by: Mikhus <ttps://github.com/Mikhus> | ||
declare class QueryString { | ||
constructor(qs?: string); | ||
toString: () => string; | ||
// <reference types="node" /> | ||
declare namespace domurl { | ||
type QueryString<T> = T; | ||
} | ||
@@ -14,3 +15,3 @@ | ||
constructor(url?: string); | ||
query: T; | ||
query: domurl.QueryString<T>; | ||
protocol: string; | ||
@@ -31,3 +32,5 @@ user: string; | ||
queryLength: () => number; | ||
clearQuery: () => Url<T>; | ||
clearQuery: () => Url<{}>; | ||
} | ||
export = Url; |
{ | ||
"name": "@types/domurl", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "TypeScript definitions for domurl", | ||
"license": "MIT", | ||
"author": "Mikhus <ttps://github.com/Mikhus>", | ||
"contributors": [ | ||
{ | ||
"name": "Mikhus", | ||
"url": "ttps://github.com/Mikhus" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/domurl" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "7846d6925849eb7bcfa07519bc57eead0ef0e7bfac62fa7825eb41bc514fb09f" | ||
"typesPublisherContentHash": "4187e919f52547265a8ae49a58657445eff3fdc2df02358ea860060edd989352", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -5,15 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for domurl (https://github.com/Mikhus/domurl). | ||
This package contains type definitions for domurl ( https://github.com/Mikhus/domurl ). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/domurl | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/domurl | ||
Additional Details | ||
* Last updated: Wed, 05 Oct 2016 20:53:31 GMT | ||
* File structure: Global | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Global values: QueryString, Url | ||
* Last updated: Wed, 20 Mar 2019 02:10:28 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Mikhus <ttps://github.com/Mikhus>. |
3083
29
17