@types/zipcodes
Advanced tools
Comparing version 6.0.0 to 6.1.0
@@ -1,4 +0,4 @@ | ||
// Type definitions for zipcodes 6.0 | ||
// Type definitions for zipcodes 6.1 | ||
// Project: https://github.com/davglass/zipcodes#readme | ||
// Definitions by: Brayden Lopez <https://github.com/headdetect> | ||
// Definitions by: Brayden Lopez <https://github.com/headdetect>, Dobes Vandermeer <https://github.com/dobesv> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -17,3 +17,3 @@ | ||
export function lookup(zip: any): ZipCode; | ||
export function lookup(zip: string|number): ZipCode | undefined; | ||
@@ -24,5 +24,5 @@ export function lookupByName(city: string, state: string): ZipCode[]; | ||
export function distance(zipA: ZipCode, zipB: ZipCode): number; | ||
export function distance(zipA: string|number, zipB: string|number): number | null; | ||
export function radius(zip: ZipCode, miles: number, full: boolean): string | ZipCode[]; | ||
export function radius(zip: string|number, miles: number, full: boolean): string[] | ZipCode[]; | ||
@@ -33,2 +33,2 @@ export function toMiles(kilos: number): number; | ||
export function lookupByCoords(lat: number, lon: number): ZipCode; | ||
export function lookupByCoords(lat: number, lon: number): string | null; |
{ | ||
"name": "@types/zipcodes", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "TypeScript definitions for zipcodes", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "headdetect" | ||
}, | ||
{ | ||
"name": "Dobes Vandermeer", | ||
"url": "https://github.com/dobesv", | ||
"githubUsername": "dobesv" | ||
} | ||
@@ -17,8 +22,8 @@ ], | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e5cf8e0a207f2985b08341704b72bd295d0835b315dc73d25fc77dcbe1f66cfd", | ||
"typesPublisherContentHash": "b1ad18b2fd9ea6461443c58cb0b83d2c99f25bdbcd192d5c403e1ed8038bc5ea", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zipcodes | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/zipcodes | ||
Additional Details | ||
* Last updated: Fri, 05 Jan 2018 17:25:09 GMT | ||
* Last updated: Thu, 09 Aug 2018 01:47:21 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: ZipCodes | ||
# Credits | ||
These definitions were written by Brayden Lopez <https://github.com/headdetect>. | ||
These definitions were written by Brayden Lopez <https://github.com/headdetect>, Dobes Vandermeer <https://github.com/dobesv>. |
3495