@types/japan-postal-code
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

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 .

Readme

Keywords

none

Package Sidebar

Install

npm i @types/japan-postal-code

Weekly Downloads

1,218

Version

0.2.4

License

MIT

Unpacked Size

3.21 kB

Total Files

5

Last publish

Collaborators

  • types