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

type-fest

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-fest - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

source/opaque.ts

1

index.d.ts

@@ -13,4 +13,5 @@ // Basic

export {Promisable} from './source/promisable';
export {Opaque} from './source/opaque';
// Miscellaneous
export {PackageJson} from './source/package-json';

2

package.json
{
"name": "type-fest",
"version": "0.6.0",
"version": "0.7.0",
"description": "A collection of essential TypeScript types",

@@ -5,0 +5,0 @@ "license": "(MIT OR CC0-1.0)",

@@ -75,2 +75,3 @@ <div align="center">

- [`Promisable`](source/promisable.d.ts) - Create a type that represents either the value or the value wrapped in `PromiseLike`.
- [`Opaque`](source/opaque.d.ts) - Create an [opaque type](https://codemix.com/opaque-types-in-javascript/).

@@ -77,0 +78,0 @@ ### Miscellaneous

@@ -20,3 +20,3 @@ /// <reference lib="esnext"/>

*/
export type Class<T = unknown> = new(...arguments_: any[]) => T;
export type Class<T = unknown, Arguments extends any[] = any[]> = new(...arguments_: Arguments) => T;

@@ -23,0 +23,0 @@ /**

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