1.0.7 • Published 3 months ago

types-fix v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months 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

3 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago