@glideapps/ts-necessities
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -10,3 +10,3 @@ export declare function proveType<T>(_val: T): void; | ||
export declare function reduceTwo<T>(a: T | undefined, b: T | undefined, f: (aa: T, bb: T) => T): T | undefined; | ||
export declare type Writeable<T> = { | ||
export declare type Writable<T> = { | ||
-readonly [P in keyof T]: T[P]; | ||
@@ -13,0 +13,0 @@ }; |
{ | ||
"name": "@glideapps/ts-necessities", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Small utilities to make life with TypeScript easier", | ||
@@ -9,3 +9,4 @@ "main": "dist/index.js", | ||
"build": "tsc", | ||
"lint": "eslint src --ext .ts,.tsx" | ||
"lint": "eslint src --ext .ts,.tsx", | ||
"typedoc": "typedoc" | ||
}, | ||
@@ -26,4 +27,5 @@ "keywords": [ | ||
"eslint-plugin-import": "^2.22.1", | ||
"typedoc": "^0.20.16", | ||
"typescript": "^4.1.3" | ||
} | ||
} |
@@ -52,3 +52,3 @@ export function proveType<T>(_val: T) { | ||
export type Writeable<T> = { -readonly [P in keyof T]: T[P] }; | ||
export type Writable<T> = { -readonly [P in keyof T]: T[P] }; | ||
@@ -55,0 +55,0 @@ export function definedMap<T, U>(x: T | undefined, f: (xx: T) => U): U | undefined { |
@@ -18,3 +18,7 @@ { | ||
}, | ||
"typedocOptions": { | ||
"entryPoints": ["src/index.ts"], | ||
"out": "docs" | ||
}, | ||
"include": ["./src/**/*.ts", "./src/**/*.tsx"] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18545
279
6