1.11.6 • Published 6 months ago

@types/provinces v1.11.6

Weekly downloads
401
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/provinces

Summary

This package contains type definitions for provinces (https://github.com/substack/provinces).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/provinces.

index.d.ts

// Type definitions for provinces 1.11
// Project: https://github.com/substack/provinces
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare global {
    /**
     * @see {@link https://github.com/substack/provinces#data-format}
     */
    interface Province {
        /**
         * full name of the province or state
         */
        name: string;
        /**
         * country abbreviation
         */
        country: string;
        /**
         * optional 2 or 3 character short name
         */
        short?: string | undefined;
        /**
         * optional array of additional names and abbreviations
         */
        alt?: string[] | undefined;
        /**
         * optional region of a country (for example: "Wales")
         */
        region?: string | undefined;
        /**
         * optional English name of a country (for example: "Beijing")
         */
        english?: string | undefined;
    }
}

/**
 * @see {@link https://github.com/substack/provinces#methods}
 */
declare const provinces: Province[];

export = provinces;

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:35:19 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.

1.11.6

6 months ago

1.11.5

7 months ago

1.11.4

2 years ago

1.11.3

3 years ago

1.11.2

3 years ago

1.11.1

5 years ago

1.11.0

6 years ago