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

ts-type

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-type - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

lib/helper/array/readonly.d.ts

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [2.1.5](https://github.com/bluelovers/ws-ts-type/compare/ts-type@2.1.4...ts-type@2.1.5) (2022-02-26)
### ✨ Features
* add `ITSToReadonlyArray` , `ITSToArray` ([f968c89](https://github.com/bluelovers/ws-ts-type/commit/f968c8945a2629095a1ffaa8fb3aad716c7ef374))
## [2.1.4](https://github.com/bluelovers/ws-ts-type/compare/ts-type@2.1.2...ts-type@2.1.4) (2022-01-12)

@@ -8,0 +19,0 @@

1

lib/index.d.ts
export * from './generic';
export * from './helper';
export * from './helper/array/readonly';
export * from './helper/filter';

@@ -4,0 +5,0 @@ export * from './helper/infer';

@@ -0,2 +1,8 @@

/**
* detect if T is a union
*/
export declare type IsAUnion<T, Y = true, N = false, U = T> = U extends any ? ([T] extends [U] ? N : Y) : never;
/**
* detect if T is a single string literal
*/
export declare type IsASingleStringLiteral<T extends string, Y = true, N = false> = string extends T ? N : [T] extends [never] ? N : IsAUnion<T, N, Y>;

4

package.json
{
"name": "ts-type",
"version": "2.1.4",
"version": "2.1.5",
"description": "add some typescript type and re-export some build-in typescript type",

@@ -67,3 +67,3 @@ "keywords": [

},
"gitHead": "76cf697a05ef4cb0518cefbe58def9113ad40a71"
"gitHead": "e8c949105b230b7b3a956d1c0c8f35e21e9c150a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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