Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

Usage

  1. npm i unknown-ts -D
  2. At the entry point of your application, import 'unknown-ts'

About

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

Resources

Stars

29 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages