DefinitelyTyped/types/zipcodes
Dobes Vandermeer 61173dfe08 Fix typings for zipcodes
The typings didn't match the library.

* `lookup` takes a `string` (or a `number` if you so choose): https://github.com/davglass/zipcodes/blob/master/lib/index.js#L13
* `distance` takes two `string`s, not `ZipCode` objects: https://github.com/davglass/zipcodes/blob/master/lib/index.js#L56
* similarly, `radius` takes a string rather than a `ZipCode` object, and always returns an array (of `string`s or `ZipCode` objects): https://github.com/davglass/zipcodes/blob/master/lib/index.js#L80
* Many return values are optional, with `null` or `undefined` returned for an invalid input.
2018-08-07 09:23:03 -07:00
..
index.d.ts
tsconfig.json
tslint.json
zipcodes-tests.ts