1.0.7 • Published 1 year ago

types-fix v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Types fix

Stars Downloads Dependencies

Table of contents

Overview

This package fixes some global types (currently it contains one fix see below).

Installation

npm install --save-dev types-fix

TypeScript any-to-unknown

This fix replaces any with unknown in some TypeScript core types. Use it for better type checking.

Configuration

// tsconfig.json
{
  "compilerOptions": {
    "typeRoots": [
      "node_modules/@types",
      "node_modules/types-fix"
    ],
    "types": [
      "typescript-any-to-unknown"
    ]
  }
}
1.0.7

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.0

3 years ago