Create PropertyAssignment instead of string literal (Identifier) when modifying the NgModule.
It seems that in some cases (e.g. when there is decomposition in another NgModule property), the TypeScipt program is trying to read node.name.kind for each property causing an exception for Identifiers)
[x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
Create PropertyAssignment instead of string literal (Identifier) when modifying the NgModule.
It seems that in some cases (e.g. when there is decomposition in another NgModule property), the TypeScipt program is trying to read
node.name.kind
for each property causing an exception for Identifiers)PR Checklist
Related to: https://github.com/NativeScript/nativescript-dev-webpack/issues/960