@ovotech/ts-compose
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -10,2 +10,3 @@ import * as ts from 'typescript'; | ||
export declare const Unknown: ts.KeywordTypeNode; | ||
export declare const Never: ts.KeywordTypeNode; | ||
export declare const TypeLiteral: ({ props, index, }?: { | ||
@@ -12,0 +13,0 @@ props?: ts.TypeElement[] | undefined; |
@@ -23,2 +23,3 @@ "use strict"; | ||
exports.Unknown = ts.createKeywordTypeNode(ts.SyntaxKind.UnknownKeyword); | ||
exports.Never = ts.createKeywordTypeNode(ts.SyntaxKind.NeverKeyword); | ||
exports.TypeLiteral = ({ props = [], index, } = {}) => ts.createTypeLiteralNode([...props, ...(index ? [index] : [])]); | ||
@@ -25,0 +26,0 @@ exports.Arr = (type) => ts.createArrayTypeNode(type); |
{ | ||
"name": "@ovotech/ts-compose", | ||
"description": "An ts compiler api wrapper", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"main": "dist/index.js", | ||
@@ -33,3 +33,3 @@ "types": "dist/index.d.ts", | ||
}, | ||
"gitHead": "9821630494061fa3feb6c2612b941d451a69328f" | ||
"gitHead": "1633c63cd1189341453bad0f6c52ef4bd76a8ed9" | ||
} |
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
16725
269