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

tslang

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslang - npm Package Compare versions

Comparing version 0.1.22 to 0.1.23

LICENSE

3

library/index.d.ts

@@ -1,3 +0,1 @@

import {Constructor} from './types';
export * from './assertion';

@@ -17,2 +15,3 @@ export * from './comparison';

*/
// eslint-disable-next-line @typescript-eslint/ban-types
export function mixin(constructors: Function[]): ClassDecorator;

@@ -1,3 +0,1 @@

/* eslint-disable @magicspace/scoped-modules */
// @ts-check

@@ -4,0 +2,0 @@

import {IsEqual} from './comparison';
import {Primitive} from './types';

@@ -294,5 +293,5 @@ // Extract keys

export type Intersection<TUnion> = (TUnion extends any
? (_: TUnion) => void
: never) extends (_: infer T) => void
export type Intersection<TUnion> = (
TUnion extends any ? (_: TUnion) => void : never
) extends (_: infer T) => void
? T

@@ -311,5 +310,3 @@ : never;

{
[TKey in __ObjectUnionNonGeneralKey<
TObjectUnion
>]?: TObjectUnion extends object
[TKey in __ObjectUnionNonGeneralKey<TObjectUnion>]?: TObjectUnion extends object
? TKey extends keyof TObjectUnion

@@ -329,1 +326,3 @@ ? TObjectUnion[TKey]

> = Omit<TObject, TKey> & Partial<Pick<TObject, TKey>>;
export type DeepPartial<T> = {[P in keyof T]?: DeepPartial<T[P]>};
{
"name": "tslang",
"version": "0.1.22",
"version": "0.1.23",
"description": "TypeScript Language Type Utilities.",
"license": "MIT",
"author": "Chengdu Mufan Technology Co., Ltd.",
"types": "library/index.d.ts",
"main": "library/index.js",
"scripts": {
"lint:library": "eslint library --ext .ts,.tsx --max-warnings 0",
"lint:test": "eslint test --ext .ts,.tsx --max-warnings 0",
"lint-prettier": "prettier --list-different \"**/*.{ts,tsx,js,jsx,json,md}\"",
"lint": "yarn lint-prettier && yarn lint:library && yarn lint:test",
"test": "yarn tsc -p library && yarn tsc -p test"
"build": "rimraf ./.bld-cache && tsc --build",
"lint": "eslint .",
"lint-prettier": "prettier --check .",
"test": "yarn lint-prettier && yarn build && yarn lint"
},

@@ -20,9 +20,9 @@ "files": [

"devDependencies": {
"@magicspace/configs": "^0.2.3",
"@magicspace/eslint-plugin": "^0.1.15",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.2",
"prettier": "^1.19.1",
"typescript": "^3.7.5"
"@mufan/code": "^0.2.5",
"@mufan/eslint-plugin": "^0.1.37",
"eslint": "^7.15.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"typescript": "^4.1.3"
}
}
[![NPM Package](https://badge.fury.io/js/tslang.svg)](https://www.npmjs.com/package/tslang)
[![Build Status](https://travis-ci.org/makeflow/tslang.svg?branch=master)](https://travis-ci.org/makeflow/tslang)

@@ -4,0 +3,0 @@ # TypeScript Language Type Utilities

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