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.0.3 to 2.1.1

17

CHANGELOG.md

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

## [2.1.1](https://github.com/bluelovers/ws-ts-type/compare/ts-type@2.0.3...ts-type@2.1.1) (2021-12-04)
### 🐛 Bug Fixes
* wrong typo ([2575d61](https://github.com/bluelovers/ws-ts-type/commit/2575d61db1b3606c5d3f3867d3a3b786af56e6aa))
### BREAKING CHANGE
* - { ITAndStringLiteral => ITSAndStringLiteral }
- { ITAndTypeAndStringLiteral => ITSAndTypeAndStringLiteral }
## [2.0.3](https://github.com/bluelovers/ws-ts-type/compare/ts-type@2.0.1...ts-type@2.0.3) (2021-11-28)

@@ -8,0 +25,0 @@

4

lib/helper/string.d.ts
export declare type ITSToStringLiteralAllowedType = string | number | boolean | bigint;
export declare type ITSToStringLiteral<T extends ITSToStringLiteralAllowedType> = `${T}`;
export declare type ITSTypeAndStringLiteral<T extends ITSToStringLiteralAllowedType> = T | ITSToStringLiteral<T>;
export declare type ITAndStringLiteral<T extends ITSToStringLiteralAllowedType, S = string> = S | ITSToStringLiteral<T>;
export declare type ITAndTypeAndStringLiteral<T extends ITSToStringLiteralAllowedType, S = string> = S | ITSTypeAndStringLiteral<T>;
export declare type ITSAndStringLiteral<T extends ITSToStringLiteralAllowedType, S = string> = S | ITSToStringLiteral<T>;
export declare type ITSAndTypeAndStringLiteral<T extends ITSToStringLiteralAllowedType, S = string> = S | ITSTypeAndStringLiteral<T>;
{
"name": "ts-type",
"version": "2.0.3",
"version": "2.1.1",
"description": "add some typescript type and re-export some build-in typescript type",

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

},
"gitHead": "1d3c3b661d96e12854b93000be07b60f5adee396"
"gitHead": "fcdfde9b98f1d9e0c2386f2189cdfd7cad6d5529"
}

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