New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wessberg/type

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wessberg/type - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.0.28"></a>
## 0.0.28 (2017-08-27)
* 0.0.28 ([4c6dfdd](https://github.com/wessberg/Type/commit/4c6dfdd))
* Added a 'typeof' type ([c6737fb](https://github.com/wessberg/Type/commit/c6737fb))
* Bumped deps ([dee3098](https://github.com/wessberg/Type/commit/dee3098))
* Bumped version ([86511d7](https://github.com/wessberg/Type/commit/86511d7))
<a name="0.0.27"></a>

@@ -2,0 +12,0 @@ ## 0.0.27 (2017-08-20)

3

dist/es2015/type-kind/type-kind.d.ts

@@ -16,2 +16,3 @@ export declare enum TypeKind {

KEYOF = "KEYOF",
TYPEOF = "TYPEOF",
FUNCTION = "FUNCTION",

@@ -28,2 +29,2 @@ REFERENCE = "REFERENCE",

}
export declare const typeKindStringified = "\nexport enum TypeKind {\n\tANY = \"ANY\",\n\tSTRING = \"STRING\",\n\tBOOLEAN = \"BOOLEAN\",\n\tINDEX = \"INDEX\",\n\tNEVER = \"NEVER\",\n\tOBJECT = \"OBJECT\",\n\tPOJO = \"POJO\",\n\tSYMBOL = \"SYMBOL\",\n\tVOID = \"VOID\",\n\tBOOLEAN_ENUMERATION = \"BOOLEAN_ENUMERATION\",\n\tSTRING_ENUMERATION = \"STRING_ENUMERATION\",\n\tNUMBER_ENUMERATION = \"NUMBER_ENUMERATION\",\n\tNUMBER = \"NUMBER\",\n\tKEYOF = \"KEYOF\",\n\tFUNCTION = \"FUNCTION\",\n\tREFERENCE = \"REFERENCE\",\n\tARRAY = \"ARRAY\",\n\tTUPLE = \"TUPLE\",\n\tUNION = \"UNION\",\n\tINTERSECTION = \"INTERSECTION\",\n\tPARENTHESIZED = \"PARENTHESIZED\",\n\tTHIS = \"THIS\",\n\tUNDEFINED = \"UNDEFINED\",\n\tNULL = \"NULL\"\n}\n";
export declare const typeKindStringified = "\nexport enum TypeKind {\n\tANY = \"ANY\",\n\tSTRING = \"STRING\",\n\tBOOLEAN = \"BOOLEAN\",\n\tINDEX = \"INDEX\",\n\tNEVER = \"NEVER\",\n\tOBJECT = \"OBJECT\",\n\tPOJO = \"POJO\",\n\tSYMBOL = \"SYMBOL\",\n\tVOID = \"VOID\",\n\tBOOLEAN_ENUMERATION = \"BOOLEAN_ENUMERATION\",\n\tSTRING_ENUMERATION = \"STRING_ENUMERATION\",\n\tNUMBER_ENUMERATION = \"NUMBER_ENUMERATION\",\n\tNUMBER = \"NUMBER\",\n\tKEYOF = \"KEYOF\",\n\tTYPEOF = \"TYPEOF\",\n\tFUNCTION = \"FUNCTION\",\n\tREFERENCE = \"REFERENCE\",\n\tARRAY = \"ARRAY\",\n\tTUPLE = \"TUPLE\",\n\tUNION = \"UNION\",\n\tINTERSECTION = \"INTERSECTION\",\n\tPARENTHESIZED = \"PARENTHESIZED\",\n\tTHIS = \"THIS\",\n\tUNDEFINED = \"UNDEFINED\",\n\tNULL = \"NULL\"\n}\n";

@@ -17,2 +17,3 @@ export var TypeKind;

TypeKind["KEYOF"] = "KEYOF";
TypeKind["TYPEOF"] = "TYPEOF";
TypeKind["FUNCTION"] = "FUNCTION";

@@ -45,2 +46,3 @@ TypeKind["REFERENCE"] = "REFERENCE";

KEYOF = "KEYOF",
TYPEOF = "TYPEOF",
FUNCTION = "FUNCTION",

@@ -47,0 +49,0 @@ REFERENCE = "REFERENCE",

@@ -55,2 +55,6 @@ import { TypeKind } from "../type-kind/type-kind";

}
export interface ITypeofType extends IType {
kind: TypeKind.TYPEOF;
type: Type;
}
export interface IThisType extends IType {

@@ -97,3 +101,3 @@ kind: TypeKind.THIS;

}
export declare type Type = IAnyType | IStringType | IIndexType | INumberType | IArrayType | IReferenceType | IFunctionType | IIntersectionType | IUnionType | IParenthesizedType | IThisType | ITupleType | IStringEnumerationType | INumberEnumerationType | IBooleanType | IBooleanEnumerationType | IUndefinedType | INullType | INeverType | IObjectType | ISymbolType | IKeyofType | IVoidType | IPojoType;
export declare const typeStringified = "\nexport interface IType {\n\tkind: TypeKind;\n}\n\nexport interface IAnyType extends IType {\n\tkind: TypeKind.ANY;\n}\n\nexport interface IStringType extends IType {\n\tkind: TypeKind.STRING;\n}\n\nexport interface IIndexType extends IType {\n\tkind: TypeKind.INDEX;\n\tkey: IInterfaceTypeMember;\n\tvalue: Type;\n}\n\nexport interface IVoidType extends IType {\n\tkind: TypeKind.VOID;\n}\n\nexport interface INumberType extends IType {\n\tkind: TypeKind.NUMBER;\n}\n\nexport interface IArrayType extends IType {\n\tkind: TypeKind.ARRAY;\n\ttype: Type;\n}\n\nexport interface IReferenceType extends IType {\n\tkind: TypeKind.REFERENCE;\n\tname: string;\n\ttypeArguments: Type[];\n}\n\nexport interface IFunctionType extends IType {\n\tkind: TypeKind.FUNCTION;\n\tparameters: ParameterType[];\n\treturns: Type;\n}\n\nexport interface IIntersectionType extends IType {\n\tkind: TypeKind.INTERSECTION;\n\ttypes: Type[];\n}\n\nexport interface IUnionType extends IType {\n\tkind: TypeKind.UNION;\n\ttypes: Type[];\n}\n\nexport interface IParenthesizedType extends IType {\n\tkind: TypeKind.PARENTHESIZED;\n\ttype: Type;\n}\n\nexport interface IKeyofType extends IType {\n\tkind: TypeKind.KEYOF;\n\ttype: Type;\n}\n\nexport interface IThisType extends IType {\n\tkind: TypeKind.THIS;\n}\n\nexport interface ITupleType extends IType {\n\tkind: TypeKind.TUPLE;\n\tmembers: Type[];\n}\n\nexport interface IPojoType extends IType {\n\tkind: TypeKind.POJO;\n\tproperties: IInterfaceTypeMember[];\n}\n\nexport interface IStringEnumerationType extends IType {\n\tkind: TypeKind.STRING_ENUMERATION;\n\tvalue: string;\n}\n\nexport interface INumberEnumerationType extends IType {\n\tkind: TypeKind.NUMBER_ENUMERATION;\n\tvalue: number;\n}\n\nexport interface IBooleanEnumerationType extends IType {\n\tkind: TypeKind.BOOLEAN_ENUMERATION;\n\tvalue: boolean;\n}\n\nexport interface IBooleanType extends IType {\n\tkind: TypeKind.BOOLEAN;\n}\n\nexport interface IUndefinedType extends IType {\n\tkind: TypeKind.UNDEFINED;\n}\n\nexport interface INullType extends IType {\n\tkind: TypeKind.NULL;\n}\n\nexport interface INeverType extends IType {\n\tkind: TypeKind.NEVER;\n}\n\nexport interface IObjectType extends IType {\n\tkind: TypeKind.OBJECT;\n}\n\nexport interface ISymbolType extends IType {\n\tkind: TypeKind.SYMBOL;\n}\n\nexport declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|IVoidType|IPojoType;\n";
export declare type Type = IAnyType | IStringType | IIndexType | INumberType | IArrayType | IReferenceType | IFunctionType | IIntersectionType | IUnionType | IParenthesizedType | IThisType | ITupleType | IStringEnumerationType | INumberEnumerationType | IBooleanType | IBooleanEnumerationType | IUndefinedType | INullType | INeverType | IObjectType | ISymbolType | IKeyofType | ITypeofType | IVoidType | IPojoType;
export declare const typeStringified = "\nexport interface IType {\n\tkind: TypeKind;\n}\n\nexport interface IAnyType extends IType {\n\tkind: TypeKind.ANY;\n}\n\nexport interface IStringType extends IType {\n\tkind: TypeKind.STRING;\n}\n\nexport interface IIndexType extends IType {\n\tkind: TypeKind.INDEX;\n\tkey: IInterfaceTypeMember;\n\tvalue: Type;\n}\n\nexport interface IVoidType extends IType {\n\tkind: TypeKind.VOID;\n}\n\nexport interface INumberType extends IType {\n\tkind: TypeKind.NUMBER;\n}\n\nexport interface IArrayType extends IType {\n\tkind: TypeKind.ARRAY;\n\ttype: Type;\n}\n\nexport interface IReferenceType extends IType {\n\tkind: TypeKind.REFERENCE;\n\tname: string;\n\ttypeArguments: Type[];\n}\n\nexport interface IFunctionType extends IType {\n\tkind: TypeKind.FUNCTION;\n\tparameters: ParameterType[];\n\treturns: Type;\n}\n\nexport interface IIntersectionType extends IType {\n\tkind: TypeKind.INTERSECTION;\n\ttypes: Type[];\n}\n\nexport interface IUnionType extends IType {\n\tkind: TypeKind.UNION;\n\ttypes: Type[];\n}\n\nexport interface IParenthesizedType extends IType {\n\tkind: TypeKind.PARENTHESIZED;\n\ttype: Type;\n}\n\nexport interface IKeyofType extends IType {\n\tkind: TypeKind.KEYOF;\n\ttype: Type;\n}\n\nexport interface ITypeofType extends IType {\n\tkind: TypeKind.TYPEOF;\n\ttype: Type;\n}\n\nexport interface IThisType extends IType {\n\tkind: TypeKind.THIS;\n}\n\nexport interface ITupleType extends IType {\n\tkind: TypeKind.TUPLE;\n\tmembers: Type[];\n}\n\nexport interface IPojoType extends IType {\n\tkind: TypeKind.POJO;\n\tproperties: IInterfaceTypeMember[];\n}\n\nexport interface IStringEnumerationType extends IType {\n\tkind: TypeKind.STRING_ENUMERATION;\n\tvalue: string;\n}\n\nexport interface INumberEnumerationType extends IType {\n\tkind: TypeKind.NUMBER_ENUMERATION;\n\tvalue: number;\n}\n\nexport interface IBooleanEnumerationType extends IType {\n\tkind: TypeKind.BOOLEAN_ENUMERATION;\n\tvalue: boolean;\n}\n\nexport interface IBooleanType extends IType {\n\tkind: TypeKind.BOOLEAN;\n}\n\nexport interface IUndefinedType extends IType {\n\tkind: TypeKind.UNDEFINED;\n}\n\nexport interface INullType extends IType {\n\tkind: TypeKind.NULL;\n}\n\nexport interface INeverType extends IType {\n\tkind: TypeKind.NEVER;\n}\n\nexport interface IObjectType extends IType {\n\tkind: TypeKind.OBJECT;\n}\n\nexport interface ISymbolType extends IType {\n\tkind: TypeKind.SYMBOL;\n}\n\nexport declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|ITypeofType|IVoidType|IPojoType;\n";

@@ -65,2 +65,7 @@ export const typeStringified = `

export interface ITypeofType extends IType {
kind: TypeKind.TYPEOF;
type: Type;
}
export interface IThisType extends IType {

@@ -119,4 +124,4 @@ kind: TypeKind.THIS;

export declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|IVoidType|IPojoType;
export declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|ITypeofType|IVoidType|IPojoType;
`;
//# sourceMappingURL=type.js.map

@@ -16,2 +16,3 @@ export declare enum TypeKind {

KEYOF = "KEYOF",
TYPEOF = "TYPEOF",
FUNCTION = "FUNCTION",

@@ -28,2 +29,2 @@ REFERENCE = "REFERENCE",

}
export declare const typeKindStringified = "\nexport enum TypeKind {\n\tANY = \"ANY\",\n\tSTRING = \"STRING\",\n\tBOOLEAN = \"BOOLEAN\",\n\tINDEX = \"INDEX\",\n\tNEVER = \"NEVER\",\n\tOBJECT = \"OBJECT\",\n\tPOJO = \"POJO\",\n\tSYMBOL = \"SYMBOL\",\n\tVOID = \"VOID\",\n\tBOOLEAN_ENUMERATION = \"BOOLEAN_ENUMERATION\",\n\tSTRING_ENUMERATION = \"STRING_ENUMERATION\",\n\tNUMBER_ENUMERATION = \"NUMBER_ENUMERATION\",\n\tNUMBER = \"NUMBER\",\n\tKEYOF = \"KEYOF\",\n\tFUNCTION = \"FUNCTION\",\n\tREFERENCE = \"REFERENCE\",\n\tARRAY = \"ARRAY\",\n\tTUPLE = \"TUPLE\",\n\tUNION = \"UNION\",\n\tINTERSECTION = \"INTERSECTION\",\n\tPARENTHESIZED = \"PARENTHESIZED\",\n\tTHIS = \"THIS\",\n\tUNDEFINED = \"UNDEFINED\",\n\tNULL = \"NULL\"\n}\n";
export declare const typeKindStringified = "\nexport enum TypeKind {\n\tANY = \"ANY\",\n\tSTRING = \"STRING\",\n\tBOOLEAN = \"BOOLEAN\",\n\tINDEX = \"INDEX\",\n\tNEVER = \"NEVER\",\n\tOBJECT = \"OBJECT\",\n\tPOJO = \"POJO\",\n\tSYMBOL = \"SYMBOL\",\n\tVOID = \"VOID\",\n\tBOOLEAN_ENUMERATION = \"BOOLEAN_ENUMERATION\",\n\tSTRING_ENUMERATION = \"STRING_ENUMERATION\",\n\tNUMBER_ENUMERATION = \"NUMBER_ENUMERATION\",\n\tNUMBER = \"NUMBER\",\n\tKEYOF = \"KEYOF\",\n\tTYPEOF = \"TYPEOF\",\n\tFUNCTION = \"FUNCTION\",\n\tREFERENCE = \"REFERENCE\",\n\tARRAY = \"ARRAY\",\n\tTUPLE = \"TUPLE\",\n\tUNION = \"UNION\",\n\tINTERSECTION = \"INTERSECTION\",\n\tPARENTHESIZED = \"PARENTHESIZED\",\n\tTHIS = \"THIS\",\n\tUNDEFINED = \"UNDEFINED\",\n\tNULL = \"NULL\"\n}\n";

@@ -28,2 +28,3 @@ (function (factory) {

TypeKind["KEYOF"] = "KEYOF";
TypeKind["TYPEOF"] = "TYPEOF";
TypeKind["FUNCTION"] = "FUNCTION";

@@ -56,2 +57,3 @@ TypeKind["REFERENCE"] = "REFERENCE";

KEYOF = "KEYOF",
TYPEOF = "TYPEOF",
FUNCTION = "FUNCTION",

@@ -58,0 +60,0 @@ REFERENCE = "REFERENCE",

@@ -55,2 +55,6 @@ import { TypeKind } from "../type-kind/type-kind";

}
export interface ITypeofType extends IType {
kind: TypeKind.TYPEOF;
type: Type;
}
export interface IThisType extends IType {

@@ -97,3 +101,3 @@ kind: TypeKind.THIS;

}
export declare type Type = IAnyType | IStringType | IIndexType | INumberType | IArrayType | IReferenceType | IFunctionType | IIntersectionType | IUnionType | IParenthesizedType | IThisType | ITupleType | IStringEnumerationType | INumberEnumerationType | IBooleanType | IBooleanEnumerationType | IUndefinedType | INullType | INeverType | IObjectType | ISymbolType | IKeyofType | IVoidType | IPojoType;
export declare const typeStringified = "\nexport interface IType {\n\tkind: TypeKind;\n}\n\nexport interface IAnyType extends IType {\n\tkind: TypeKind.ANY;\n}\n\nexport interface IStringType extends IType {\n\tkind: TypeKind.STRING;\n}\n\nexport interface IIndexType extends IType {\n\tkind: TypeKind.INDEX;\n\tkey: IInterfaceTypeMember;\n\tvalue: Type;\n}\n\nexport interface IVoidType extends IType {\n\tkind: TypeKind.VOID;\n}\n\nexport interface INumberType extends IType {\n\tkind: TypeKind.NUMBER;\n}\n\nexport interface IArrayType extends IType {\n\tkind: TypeKind.ARRAY;\n\ttype: Type;\n}\n\nexport interface IReferenceType extends IType {\n\tkind: TypeKind.REFERENCE;\n\tname: string;\n\ttypeArguments: Type[];\n}\n\nexport interface IFunctionType extends IType {\n\tkind: TypeKind.FUNCTION;\n\tparameters: ParameterType[];\n\treturns: Type;\n}\n\nexport interface IIntersectionType extends IType {\n\tkind: TypeKind.INTERSECTION;\n\ttypes: Type[];\n}\n\nexport interface IUnionType extends IType {\n\tkind: TypeKind.UNION;\n\ttypes: Type[];\n}\n\nexport interface IParenthesizedType extends IType {\n\tkind: TypeKind.PARENTHESIZED;\n\ttype: Type;\n}\n\nexport interface IKeyofType extends IType {\n\tkind: TypeKind.KEYOF;\n\ttype: Type;\n}\n\nexport interface IThisType extends IType {\n\tkind: TypeKind.THIS;\n}\n\nexport interface ITupleType extends IType {\n\tkind: TypeKind.TUPLE;\n\tmembers: Type[];\n}\n\nexport interface IPojoType extends IType {\n\tkind: TypeKind.POJO;\n\tproperties: IInterfaceTypeMember[];\n}\n\nexport interface IStringEnumerationType extends IType {\n\tkind: TypeKind.STRING_ENUMERATION;\n\tvalue: string;\n}\n\nexport interface INumberEnumerationType extends IType {\n\tkind: TypeKind.NUMBER_ENUMERATION;\n\tvalue: number;\n}\n\nexport interface IBooleanEnumerationType extends IType {\n\tkind: TypeKind.BOOLEAN_ENUMERATION;\n\tvalue: boolean;\n}\n\nexport interface IBooleanType extends IType {\n\tkind: TypeKind.BOOLEAN;\n}\n\nexport interface IUndefinedType extends IType {\n\tkind: TypeKind.UNDEFINED;\n}\n\nexport interface INullType extends IType {\n\tkind: TypeKind.NULL;\n}\n\nexport interface INeverType extends IType {\n\tkind: TypeKind.NEVER;\n}\n\nexport interface IObjectType extends IType {\n\tkind: TypeKind.OBJECT;\n}\n\nexport interface ISymbolType extends IType {\n\tkind: TypeKind.SYMBOL;\n}\n\nexport declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|IVoidType|IPojoType;\n";
export declare type Type = IAnyType | IStringType | IIndexType | INumberType | IArrayType | IReferenceType | IFunctionType | IIntersectionType | IUnionType | IParenthesizedType | IThisType | ITupleType | IStringEnumerationType | INumberEnumerationType | IBooleanType | IBooleanEnumerationType | IUndefinedType | INullType | INeverType | IObjectType | ISymbolType | IKeyofType | ITypeofType | IVoidType | IPojoType;
export declare const typeStringified = "\nexport interface IType {\n\tkind: TypeKind;\n}\n\nexport interface IAnyType extends IType {\n\tkind: TypeKind.ANY;\n}\n\nexport interface IStringType extends IType {\n\tkind: TypeKind.STRING;\n}\n\nexport interface IIndexType extends IType {\n\tkind: TypeKind.INDEX;\n\tkey: IInterfaceTypeMember;\n\tvalue: Type;\n}\n\nexport interface IVoidType extends IType {\n\tkind: TypeKind.VOID;\n}\n\nexport interface INumberType extends IType {\n\tkind: TypeKind.NUMBER;\n}\n\nexport interface IArrayType extends IType {\n\tkind: TypeKind.ARRAY;\n\ttype: Type;\n}\n\nexport interface IReferenceType extends IType {\n\tkind: TypeKind.REFERENCE;\n\tname: string;\n\ttypeArguments: Type[];\n}\n\nexport interface IFunctionType extends IType {\n\tkind: TypeKind.FUNCTION;\n\tparameters: ParameterType[];\n\treturns: Type;\n}\n\nexport interface IIntersectionType extends IType {\n\tkind: TypeKind.INTERSECTION;\n\ttypes: Type[];\n}\n\nexport interface IUnionType extends IType {\n\tkind: TypeKind.UNION;\n\ttypes: Type[];\n}\n\nexport interface IParenthesizedType extends IType {\n\tkind: TypeKind.PARENTHESIZED;\n\ttype: Type;\n}\n\nexport interface IKeyofType extends IType {\n\tkind: TypeKind.KEYOF;\n\ttype: Type;\n}\n\nexport interface ITypeofType extends IType {\n\tkind: TypeKind.TYPEOF;\n\ttype: Type;\n}\n\nexport interface IThisType extends IType {\n\tkind: TypeKind.THIS;\n}\n\nexport interface ITupleType extends IType {\n\tkind: TypeKind.TUPLE;\n\tmembers: Type[];\n}\n\nexport interface IPojoType extends IType {\n\tkind: TypeKind.POJO;\n\tproperties: IInterfaceTypeMember[];\n}\n\nexport interface IStringEnumerationType extends IType {\n\tkind: TypeKind.STRING_ENUMERATION;\n\tvalue: string;\n}\n\nexport interface INumberEnumerationType extends IType {\n\tkind: TypeKind.NUMBER_ENUMERATION;\n\tvalue: number;\n}\n\nexport interface IBooleanEnumerationType extends IType {\n\tkind: TypeKind.BOOLEAN_ENUMERATION;\n\tvalue: boolean;\n}\n\nexport interface IBooleanType extends IType {\n\tkind: TypeKind.BOOLEAN;\n}\n\nexport interface IUndefinedType extends IType {\n\tkind: TypeKind.UNDEFINED;\n}\n\nexport interface INullType extends IType {\n\tkind: TypeKind.NULL;\n}\n\nexport interface INeverType extends IType {\n\tkind: TypeKind.NEVER;\n}\n\nexport interface IObjectType extends IType {\n\tkind: TypeKind.OBJECT;\n}\n\nexport interface ISymbolType extends IType {\n\tkind: TypeKind.SYMBOL;\n}\n\nexport declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|ITypeofType|IVoidType|IPojoType;\n";

@@ -76,2 +76,7 @@ (function (factory) {

export interface ITypeofType extends IType {
kind: TypeKind.TYPEOF;
type: Type;
}
export interface IThisType extends IType {

@@ -130,5 +135,5 @@ kind: TypeKind.THIS;

export declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|IVoidType|IPojoType;
export declare type Type = IAnyType|IStringType|IIndexType|INumberType|IArrayType|IReferenceType|IFunctionType|IIntersectionType|IUnionType|IParenthesizedType|IThisType|ITupleType|IStringEnumerationType|INumberEnumerationType|IBooleanType|IBooleanEnumerationType|IUndefinedType|INullType|INeverType|IObjectType|ISymbolType|IKeyofType|ITypeofType|IVoidType|IPojoType;
`;
});
//# sourceMappingURL=type.js.map
{
"name": "@wessberg/type",
"version": "0.0.27",
"version": "0.0.28",
"description": "Type signatures and enums for model types.",

@@ -34,3 +34,3 @@ "scripts": {

"devDependencies": {
"@types/node": "^8.0.24",
"@types/node": "^8.0.25",
"@wessberg/ts-config": "0.0.23",

@@ -40,3 +40,3 @@ "ava": "^0.22.0",

"husky": "latest",
"tslint": "latest",
"tslint": "^5.7.0",
"typescript": "^2.5.1"

@@ -43,0 +43,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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