wasm-ast-types 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- package/main/utils/types.js +1 -1
- package/module/utils/types.js +1 -1
- package/package.json +2 -2
package/main/utils/types.js
CHANGED
@@ -176,7 +176,7 @@ function getPropertySignatureFromProp(context, jsonschema, prop, camelize) {
|
|
176
176
|
if (jsonschema.properties[prop].title) {
|
177
177
|
return (0, _babel.propertySignature)(camelize ? (0, _case.camel)(prop) : prop, t.tsTypeAnnotation(t.tsTypeReference(t.identifier(jsonschema.properties[prop].title))));
|
178
178
|
} else {
|
179
|
-
throw new Error('
|
179
|
+
throw new Error('getPropertySignatureFromProp() contact maintainer');
|
180
180
|
}
|
181
181
|
}
|
182
182
|
|
package/module/utils/types.js
CHANGED
@@ -139,7 +139,7 @@ export function getPropertySignatureFromProp(context, jsonschema, prop, camelize
|
|
139
139
|
if (jsonschema.properties[prop].title) {
|
140
140
|
return propertySignature(camelize ? camel(prop) : prop, t.tsTypeAnnotation(t.tsTypeReference(t.identifier(jsonschema.properties[prop].title))));
|
141
141
|
} else {
|
142
|
-
throw new Error('
|
142
|
+
throw new Error('getPropertySignatureFromProp() contact maintainer');
|
143
143
|
}
|
144
144
|
}
|
145
145
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wasm-ast-types",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.1",
|
4
4
|
"description": "CosmWasm TypeScript AST generation",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/pyramation/cosmwasm-typescript-gen/tree/master/packages/wasm-ast-types#readme",
|
@@ -86,5 +86,5 @@
|
|
86
86
|
"case": "1.6.3",
|
87
87
|
"deepmerge": "4.2.2"
|
88
88
|
},
|
89
|
-
"gitHead": "
|
89
|
+
"gitHead": "8c35eebc33e7109da33ecb5f5bdeffc9a1b0d9af"
|
90
90
|
}
|