@ixon-cdk/core 1.2.0-next.3 → 1.2.0-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/core",
3
- "version": "1.2.0-next.3",
3
+ "version": "1.2.0-next.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "",
@@ -200,7 +200,7 @@ module.exports = class TemplateService {
200
200
  }
201
201
 
202
202
  // optionally install types
203
- if (/typescript/i.test(schema.variants[variantIdx].name)) {
203
+ if (variantIdx !== null && /typescript/i.test(schema.variants[variantIdx].name)) {
204
204
  ensureModule('@ixon-cdk/types');
205
205
  }
206
206