@mrgrain/jsii-struct-builder
Advanced tools
Comparing version 0.4.11 to 0.5.0
@@ -30,3 +30,6 @@ import { InterfaceType, Property } from '@jsii/spec'; | ||
* | ||
* @default false | ||
* The tag is needed for `projen new` to fill in required properties at project creation time. | ||
* | ||
* @default true | ||
* @deprecated This should not be a concern for the renderer, instead remove the doctag from required properties before rendering. | ||
*/ | ||
@@ -33,0 +36,0 @@ readonly defaultTagsForRequiredProps?: boolean; |
@@ -19,3 +19,3 @@ "use strict"; | ||
indent: (_b = options.indent) !== null && _b !== void 0 ? _b : 2, | ||
defaultTagsForRequiredProps: (_c = options.defaultTagsForRequiredProps) !== null && _c !== void 0 ? _c : false, | ||
defaultTagsForRequiredProps: (_c = options.defaultTagsForRequiredProps) !== null && _c !== void 0 ? _c : true, | ||
useTypeImports: (_d = options.useTypeImports) !== null && _d !== void 0 ? _d : false, | ||
@@ -207,2 +207,2 @@ }; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXNjcmlwdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZW5kZXJlci90eXBlc2NyaXB0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLHFDQVVvQjtBQUNwQiwrRUFBc0Q7QUFFdEQsd0NBQTJEO0FBNEMzRDs7R0FFRztBQUNILE1BQWEsa0JBQWtCO0lBSTdCLFlBQW1CLFVBQXFDLEVBQUU7O1FBQ3hELElBQUksQ0FBQyxPQUFPLEdBQUc7WUFDYixlQUFlLEVBQUUsTUFBQSxPQUFPLENBQUMsZUFBZSxtQ0FBSSxFQUFFO1lBQzlDLE1BQU0sRUFBRSxNQUFBLE9BQU8sQ0FBQyxNQUFNLG1DQUFJLENBQUM7WUFDM0IsMkJBQTJCLEVBQUUsTUFBQSxPQUFPLENBQUMsMkJBQTJCLG1DQUFJLEtBQUs7WUFDekUsY0FBYyxFQ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sbGVjdEZRTnMpO1xuICB9XG5cbiAgaWYgKGlzQ29sbGVjdGlvblR5cGVSZWZlcmVuY2UodCkpIHtcbiAgICByZXR1cm4gY29sbGVjdEZRTnModC5jb2xsZWN0aW9uLmVsZW1lbnR0eXBlKTtcbiAgfVxuXG4gIHJldHVybiBbXTtcbn1cbiJdfQ== |
@@ -68,3 +68,3 @@ { | ||
}, | ||
"version": "0.4.11", | ||
"version": "0.5.0", | ||
"jest": { | ||
@@ -71,0 +71,0 @@ "testMatch": [ |
@@ -186,3 +186,3 @@ # ![jsii-struct-builder](./images/wordmark-dynamic.svg) | ||
Or you can mix on `ProjenStruct` with another: | ||
Or you can mix in a `ProjenStruct` with another: | ||
@@ -189,0 +189,0 @@ ```ts |
106230
913