Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expect-type

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expect-type - npm Package Compare versions

Comparing version 0.14.0 to 0.14.1

9

package.json
{
"name": "expect-type",
"version": "0.14.0",
"version": "0.14.1",
"keywords": [

@@ -26,12 +26,15 @@ "typescript",

"scripts": {
"eslint": "eslint --ext '.ts,.js'",
"eslint": "eslint --ext '.ts,.js,.md'",
"lint": "tsc && eslint .",
"build": "tsc -p tsconfig.lib.json",
"test": "tsc"
"test": "jest"
},
"devDependencies": {
"@types/jest": "29.0.0",
"eslint": "8.23.0",
"eslint-plugin-mmkal": "0.0.1-2",
"jest": "28.1.3",
"ts-jest": "28.0.8",
"typescript": "4.8.2"
}
}
# expect-type
[![CI](https://github.com/mmkal/expect-type/actions/workflows/ci.yml/badge.svg)](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)
[![](https://byob.yarr.is/mmkal/expect-type/coverage)](https://github.com/mmkal/expect-type/actions/workflows/ci.yml)
Compile-time tests for types. Useful to make sure types don't regress into being overly-permissive as changes go in over time.

@@ -427,2 +430,3 @@

- inverting assertions intuitively and easily via `expectTypeOf(...).not`
- checks generics properly and strictly ([tsd doesn't](https://github.com/SamVerschueren/tsd/issues/142))
- first-class support for:

@@ -429,0 +433,0 @@ - `any` (as well as `unknown` and `never`) (see issues outstanding at time of writing in tsd for [never](https://github.com/SamVerschueren/tsd/issues/78) and [any](https://github.com/SamVerschueren/tsd/issues/82)).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc