6da9e5851a
When we were outputting class members for `setClassMetadata` calls, we were using the string representation of the member name. This can lead to us generating invalid code when the name contains dashes and is quoted (e.g. `@Output() 'has-dashes' = new EventEmitter()`), because the quotes will be stripped for the string representation. These changes fix the issue by using the original name AST node that was used for the declaration and which knows whether it's supposed to be quoted or not. Fixes #38311. PR Close #38387 |
||
---|---|---|
.. | ||
integrationtest | ||
ngcc | ||
src | ||
test | ||
BUILD.bazel | ||
index.ts | ||
package.json | ||
tsconfig-build.json | ||
tsconfig.json |