fix(ivy): avoid missing imports for types that can be represented as values (#28941)
Prior to this change, TypeScript stripped out some imports in case we reference a type that can be represented as a value (for ex. classes). This fix ensures that we use correct symbol identifier, which makes TypeScript retain the necessary import statements. PR Close #28941
This commit is contained in:
@ -56,6 +56,7 @@ export class NgtscTestEnvironment {
|
||||
|
||||
env.write('tsconfig-base.json', `{
|
||||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"skipLibCheck": true,
|
||||
"noImplicitAny": true,
|
||||
|
Reference in New Issue
Block a user