117616: Added support to alias-import to disallow aliasing certain imports

This commit is contained in:
Alexandre Vryghem
2025-04-21 14:58:34 +02:00
parent aed0460cfe
commit f0a00aca95
13 changed files with 379 additions and 47 deletions

View File

@@ -23,6 +23,7 @@ export class TTest extends ThemedComponent<Test> {
test;
}
```
##### Regular class defines an input with a default value
@@ -33,6 +34,7 @@ export class Test {
test = 'test';
}
```
@@ -56,6 +58,9 @@ test2: number = 123;
@Input()
test3: number[] = [1,2,3];
}
```
Will produce the following error(s):
```
@@ -74,6 +79,9 @@ export class TTest extends ThemedComponent<Test> {
@Input()
test = undefined;
}
```
Will produce the following error(s):
```