@igniteui/angular-templates 18.1.1400-beta.3 → 18.1.1400-beta.4
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.
|
@@ -304,7 +304,9 @@ class AngularTypeScriptFileUpdate extends cli_core_1.TypeScriptFileUpdate {
|
|
|
304
304
|
*/
|
|
305
305
|
findNgDecoratorProperty(decoratorName, propName) {
|
|
306
306
|
const ngDecoratorExists = (node) => !!this.astTransformer.findNodeAncestor(node, (_node) => {
|
|
307
|
-
const nodeExpressionToken = ts.isDecorator(_node) &&
|
|
307
|
+
const nodeExpressionToken = ts.isDecorator(_node) &&
|
|
308
|
+
ts.isCallExpression(_node.expression) &&
|
|
309
|
+
_node.expression.expression;
|
|
308
310
|
return (ts.isIdentifier(nodeExpressionToken) &&
|
|
309
311
|
nodeExpressionToken.text === decoratorName);
|
|
310
312
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igniteui/angular-templates",
|
|
3
|
-
"version": "18.1.1400-beta.
|
|
3
|
+
"version": "18.1.1400-beta.4",
|
|
4
4
|
"description": "Templates for Ignite UI for Angular projects and components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"author": "Infragistics",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@igniteui/cli-core": "~14.0.0-beta.
|
|
15
|
+
"@igniteui/cli-core": "~14.0.0-beta.4",
|
|
16
16
|
"typescript": "~5.4.3"
|
|
17
17
|
}
|
|
18
18
|
}
|