Skip to content

Commit dfb0c88

Browse files
alan-agius4angular-robot[bot]
authored andcommitted
refactor: remove usages of deprecated version of createImportDeclaration
The overload of `createImportDeclaration` with the `decorators` parameter is deprecated. This change removes the deprecated usage.
1 parent a07d701 commit dfb0c88

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/ngtools/webpack/src/ivy/transformation.ts

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export function replaceBootstrap(
9696
if (!bootstrapNamespace) {
9797
bootstrapNamespace = nodeFactory.createUniqueName('__NgCli_bootstrap_');
9898
bootstrapImport = nodeFactory.createImportDeclaration(
99-
undefined,
10099
undefined,
101100
nodeFactory.createImportClause(
102101
false,

packages/ngtools/webpack/src/transformers/replace_resources.ts

-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ function createResourceImport(
325325
);
326326
resourceImportDeclarations.push(
327327
nodeFactory.createImportDeclaration(
328-
undefined,
329328
undefined,
330329
nodeFactory.createImportClause(false, importName, undefined),
331330
urlLiteral,

0 commit comments

Comments
 (0)