Installation
npm install --save @types/japan-postal-code
Summary
This package contains type definitions for japan-postal-code (https://github.com/mzp/japan-postal-code).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/japan-postal-code.
index.d.ts
declare namespace JapanPostalCode {
interface Callback {
(address: AddressData): void;
}
interface AddressData {
prefecture: string;
city: string;
area: string;
street: string;
}
}
declare function get(zip_code: string, callback: JapanPostalCode.Callback): void;
declare const JapanPostalCode: {
get: typeof get;
};
export = JapanPostalCode;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by .