0.2.4 • Published 6 months ago

@types/japan-postal-code v0.2.4

Weekly downloads
1,154
License
MIT
Repository
github
Last release
6 months ago

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.

0.2.3

7 months ago

0.2.4

6 months ago

0.2.2

2 years ago

0.2.1

3 years ago

0.2.0

4 years ago