Skip to content

Commit 158b525

Browse files
committed
refactor: Improve TypeScript types and remove unused imports
- Remove unused imports from app.module.ts - Replace 'any' with proper types in demo components - Change schematic parameters from 'any' to 'unknown' - Clean up unused test constants - Improve type safety without breaking public API
1 parent a933b5e commit 158b525

File tree

8 files changed

+109
-93
lines changed

8 files changed

+109
-93
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
22

3-
export function update1000(_options: any): Rule {
3+
export function update1000(_options: unknown): Rule {
44
return (tree: Tree, _context: SchematicContext) => tree;
55
}
66

7-
export function update1100(_options: any): Rule {
7+
export function update1100(_options: unknown): Rule {
88
return (tree: Tree, _context: SchematicContext) => tree;
99
}
1010

11-
export function update1300(_options: any): Rule {
11+
export function update1300(_options: unknown): Rule {
1212
return (tree: Tree, _context: SchematicContext) => tree;
1313
}

0 commit comments

Comments
 (0)