@wessberg/type
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -0,1 +1,10 @@ | ||
<a name="0.0.36"></a> | ||
## 0.0.36 (2017-08-27) | ||
* 0.0.36 ([29ee533](https://github.com/wessberg/Type/commit/29ee533)) | ||
* Added ObjectLiteral property types ([0a7b987](https://github.com/wessberg/Type/commit/0a7b987)) | ||
* Bumped version ([812a914](https://github.com/wessberg/Type/commit/812a914)) | ||
<a name="0.0.35"></a> | ||
@@ -2,0 +11,0 @@ ## 0.0.35 (2017-08-27) |
@@ -13,2 +13,3 @@ export declare enum FormattedExpressionKind { | ||
OBJECT_LITERAL = "OBJECT_LITERAL", | ||
OBJECT_LITERAL_PROPERTY = "OBJECT_LITERAL_PROPERTY", | ||
REGEX_LITERAL = "REGEX_LITERAL", | ||
@@ -15,0 +16,0 @@ NOT_IMPLEMENTED = "NOT_IMPLEMENTED", |
@@ -14,2 +14,3 @@ export var FormattedExpressionKind; | ||
FormattedExpressionKind["OBJECT_LITERAL"] = "OBJECT_LITERAL"; | ||
FormattedExpressionKind["OBJECT_LITERAL_PROPERTY"] = "OBJECT_LITERAL_PROPERTY"; | ||
FormattedExpressionKind["REGEX_LITERAL"] = "REGEX_LITERAL"; | ||
@@ -16,0 +17,0 @@ FormattedExpressionKind["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED"; |
@@ -15,2 +15,3 @@ import { FormattedExpressionKind } from "../formatted-expression-kind/formatted-expression-kind"; | ||
import { IFormattedObjectLiteral } from "../literal/object-literal/i-formatted-object-literal"; | ||
import { IFormattedObjectLiteralProperty } from "../literal/object-literal/i-formatted-object-literal-property"; | ||
export interface IFormattedExpression { | ||
@@ -21,2 +22,2 @@ expressionKind: FormattedExpressionKind; | ||
} | ||
export declare type FormattedExpression = IFormattedDecorator | IFormattedClass | FormattedHeritage | IFormattedCallExpression | IFormattedArguments | IFormattedObjectLiteral | IFormattedStringLiteral | IFormattedNumberLiteral | IFormattedBooleanLiteral | IFormattedRegexLiteral | IFormattedPropertyAccessExpression | IFormattedIdentifier | IFormattedNotImplemented; | ||
export declare type FormattedExpression = IFormattedDecorator | IFormattedClass | FormattedHeritage | IFormattedCallExpression | IFormattedArguments | IFormattedObjectLiteral | IFormattedObjectLiteralProperty | IFormattedStringLiteral | IFormattedNumberLiteral | IFormattedBooleanLiteral | IFormattedRegexLiteral | IFormattedPropertyAccessExpression | IFormattedIdentifier | IFormattedNotImplemented; |
import { IFormattedExpression } from "../../formatted-expression/i-formatted-expression"; | ||
import { FormattedExpressionKind } from "../../formatted-expression-kind/formatted-expression-kind"; | ||
import { IFormattedObjectLiteralProperty } from "./i-formatted-object-literal-property"; | ||
import { Type } from "../../../type/type/type"; | ||
export interface IFormattedObjectLiteral extends IFormattedExpression { | ||
expressionKind: FormattedExpressionKind.OBJECT_LITERAL; | ||
value: object; | ||
typeAssertion: Type | null; | ||
properties: IFormattedObjectLiteralProperty[]; | ||
} |
@@ -10,2 +10,5 @@ export * from "./expression/arguments/i-formatted-arguments"; | ||
export * from "./expression/literal/object-literal/i-formatted-object-literal"; | ||
export * from "./expression/literal/object-literal/i-formatted-object-literal-property"; | ||
export * from "./expression/literal/object-literal/i-formatted-object-literal-property-name"; | ||
export * from "./expression/literal/object-literal/formatted-object-literal-property-name-kind"; | ||
export * from "./expression/literal/boolean-literal/i-formatted-boolean-literal"; | ||
@@ -12,0 +15,0 @@ export * from "./expression/literal/number-literal/i-formatted-number-literal"; |
export * from "./expression/formatted-expression-kind/formatted-expression-kind"; | ||
export * from "./expression/literal/object-literal/formatted-object-literal-property-name-kind"; | ||
// Type-related types | ||
@@ -3,0 +4,0 @@ export * from "./type/binding-name/array-binding-name-kind"; |
@@ -13,2 +13,3 @@ export declare enum FormattedExpressionKind { | ||
OBJECT_LITERAL = "OBJECT_LITERAL", | ||
OBJECT_LITERAL_PROPERTY = "OBJECT_LITERAL_PROPERTY", | ||
REGEX_LITERAL = "REGEX_LITERAL", | ||
@@ -15,0 +16,0 @@ NOT_IMPLEMENTED = "NOT_IMPLEMENTED", |
@@ -25,2 +25,3 @@ (function (factory) { | ||
FormattedExpressionKind["OBJECT_LITERAL"] = "OBJECT_LITERAL"; | ||
FormattedExpressionKind["OBJECT_LITERAL_PROPERTY"] = "OBJECT_LITERAL_PROPERTY"; | ||
FormattedExpressionKind["REGEX_LITERAL"] = "REGEX_LITERAL"; | ||
@@ -27,0 +28,0 @@ FormattedExpressionKind["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED"; |
@@ -15,2 +15,3 @@ import { FormattedExpressionKind } from "../formatted-expression-kind/formatted-expression-kind"; | ||
import { IFormattedObjectLiteral } from "../literal/object-literal/i-formatted-object-literal"; | ||
import { IFormattedObjectLiteralProperty } from "../literal/object-literal/i-formatted-object-literal-property"; | ||
export interface IFormattedExpression { | ||
@@ -21,2 +22,2 @@ expressionKind: FormattedExpressionKind; | ||
} | ||
export declare type FormattedExpression = IFormattedDecorator | IFormattedClass | FormattedHeritage | IFormattedCallExpression | IFormattedArguments | IFormattedObjectLiteral | IFormattedStringLiteral | IFormattedNumberLiteral | IFormattedBooleanLiteral | IFormattedRegexLiteral | IFormattedPropertyAccessExpression | IFormattedIdentifier | IFormattedNotImplemented; | ||
export declare type FormattedExpression = IFormattedDecorator | IFormattedClass | FormattedHeritage | IFormattedCallExpression | IFormattedArguments | IFormattedObjectLiteral | IFormattedObjectLiteralProperty | IFormattedStringLiteral | IFormattedNumberLiteral | IFormattedBooleanLiteral | IFormattedRegexLiteral | IFormattedPropertyAccessExpression | IFormattedIdentifier | IFormattedNotImplemented; |
import { IFormattedExpression } from "../../formatted-expression/i-formatted-expression"; | ||
import { FormattedExpressionKind } from "../../formatted-expression-kind/formatted-expression-kind"; | ||
import { IFormattedObjectLiteralProperty } from "./i-formatted-object-literal-property"; | ||
import { Type } from "../../../type/type/type"; | ||
export interface IFormattedObjectLiteral extends IFormattedExpression { | ||
expressionKind: FormattedExpressionKind.OBJECT_LITERAL; | ||
value: object; | ||
typeAssertion: Type | null; | ||
properties: IFormattedObjectLiteralProperty[]; | ||
} |
@@ -10,2 +10,5 @@ export * from "./expression/arguments/i-formatted-arguments"; | ||
export * from "./expression/literal/object-literal/i-formatted-object-literal"; | ||
export * from "./expression/literal/object-literal/i-formatted-object-literal-property"; | ||
export * from "./expression/literal/object-literal/i-formatted-object-literal-property-name"; | ||
export * from "./expression/literal/object-literal/formatted-object-literal-property-name-kind"; | ||
export * from "./expression/literal/boolean-literal/i-formatted-boolean-literal"; | ||
@@ -12,0 +15,0 @@ export * from "./expression/literal/number-literal/i-formatted-number-literal"; |
@@ -7,3 +7,3 @@ (function (factory) { | ||
else if (typeof define === "function" && define.amd) { | ||
define(["require", "exports", "tslib", "./expression/formatted-expression-kind/formatted-expression-kind", "./type/binding-name/array-binding-name-kind", "./type/binding-name/binding-name-kind", "./type/binding-name/i-binding-name", "./type/interface-type/i-interface-type", "./type/interface-type/i-interface-type-member", "./type/interface-type/i-interface-type-member-name", "./type/interface-type/interface-type-member-name-kind", "./type/parameter-type/i-parameter-type", "./type/type/type", "./type/type-kind/type-kind", "./type/type-parameter/i-type-parameter"], factory); | ||
define(["require", "exports", "tslib", "./expression/formatted-expression-kind/formatted-expression-kind", "./expression/literal/object-literal/formatted-object-literal-property-name-kind", "./type/binding-name/array-binding-name-kind", "./type/binding-name/binding-name-kind", "./type/binding-name/i-binding-name", "./type/interface-type/i-interface-type", "./type/interface-type/i-interface-type-member", "./type/interface-type/i-interface-type-member-name", "./type/interface-type/interface-type-member-name-kind", "./type/parameter-type/i-parameter-type", "./type/type/type", "./type/type-kind/type-kind", "./type/type-parameter/i-type-parameter"], factory); | ||
} | ||
@@ -15,2 +15,3 @@ })(function (require, exports) { | ||
tslib_1.__exportStar(require("./expression/formatted-expression-kind/formatted-expression-kind"), exports); | ||
tslib_1.__exportStar(require("./expression/literal/object-literal/formatted-object-literal-property-name-kind"), exports); | ||
// Type-related types | ||
@@ -17,0 +18,0 @@ tslib_1.__exportStar(require("./type/binding-name/array-binding-name-kind"), exports); |
{ | ||
"name": "@wessberg/type", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "Type signatures and enums for model types.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
119037
184
1885