National Public Mania

    @hashicorp/platform-types
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.0 • Public • Published

    @hashicorp/platform-types

    Common, shared types for use across all web properties.

    Usage

    Install the package as a devDependency:

    npm install --save-dev @hashicorp/platform-types
    

    Add a global.d.ts file at the root of your project:

    /// <reference types="@hashicorp/platform-types" />

    Ensure that global.d.ts is included in tsconfig.json

    {
      // "compilerOptions":...
      "include": [ "global.d.ts", /* other types */ ],
      // "exclude": [...]
    }

    Utility Types

    This package also ships a collection of utility types from utility-types. You can import a utility type with the following:

    import { Optional } from '@hashicorp/platform-types/utilities'

    Keywords

    none

    Install

    npm i @hashicorp/platform-types

    DownloadsWeekly Downloads

    1,975

    Version

    0.3.0

    License

    MPL-2.0

    Unpacked Size

    3.69 kB

    Total Files

    5

    Last publish

    Collaborators

    • hashicb
    • britt.lindgren
    • paulhcp
    • nandereck
    • tstormk
    • hashibot-hds
    • lackeyjb1
    • alexcarpenter
    • youriwims
    • jpogran
    • ashleemboyer
    • _natmegs
    • thrashr888
    • amyrlam
    • melsumner
    • johncowen
    • mwickett
    • didoo
    • zchsh
    • brandonromano
    • hcitsec
    • gregone
    • meirish
    • enmod
    • kylemac
    • kaxcode
    • anubhavmishra-hashicorp
    • hashibot-web
    • cstitt-hashi
    • bkalow
    • kstraut
    • mocohen
    • dhaulagiri