We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70576aa commit c1b9af3Copy full SHA for c1b9af3
packages/in-memory-db/src/schematics/utils/ast-utils.ts
@@ -6,7 +6,6 @@
6
* Use of this source code is governed by an MIT-style license that can be
7
* found in the LICENSE file at https://angular.io/license
8
*/
9
-import { ImportClause } from 'typescript';
10
import * as ts from 'typescript';
11
import { Change, InsertChange, NoopChange } from './change';
12
@@ -516,7 +515,7 @@ export function addSymbolToNgModuleMetadata(
516
515
}
517
518
if (Array.isArray(node)) {
519
- const nodeArray = (node as {}) as Array<ts.Node>;
+ const nodeArray = (node as unknown) as Array<ts.Node>;
520
const symbolsArray = nodeArray.map((node) => node.getText());
521
if (symbolsArray.includes(symbolName)) {
522
return [];
0 commit comments