0.2.4 • Published 6 months ago
@types/japan-postal-code v0.2.4
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
// Type definitions for japan-postal-code 0.2
// Project: https://github.com/mzp/japan-postal-code
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 23 Dec 2021 23:34:53 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by DefinitelyTyped.