unknown-ts
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

A polyfill of unknown that works with legacy typescript versions (before 3.0)

export type mixed = { [key: string]: any } | object | number | string | boolean | symbol | undefined | null | void
 
declare global {
  type unknown = mixed
}

/unknown-ts/

    Package Sidebar

    Install

    npm i unknown-ts

    Weekly Downloads

    25

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    3.09 kB

    Total Files

    6

    Last publish

    Collaborators

    • gcanti