Matthieu Riegler
Matthieu Riegler
Quick standalone repro : ``` @Component({ selector: 'my-app', standalone: true, imports:[JsonPipe], template: ` undefined with optional chaining = {{test?.test|json}};`, // it's null }) export class App { test: undefined|{test: string}...
As said, this is more a job for a linting rule. Also the new signal inputs/outputs don't suffer from this issue.
Also, for the sake of linking issues, the related issue on the FW repo is angular/angular#51175.
@adamdbradley This needs to be reopen. I'm still getting "Failed to fetch dynamically imported module: https://jeanmeche.github.io/build/q-9201ed70.js" The basePathname isn't used when hovering the button for example : https://jeanmeche.github.io/qwik-app/
Is it really a bug or a feature ? `'test-angular\r\n'.length` return `14` in JS and that's what value returns.
By the way : ``` class Foo extends FormControl {} ``` is valid.
It seems like @bryanforbes, that your solution doesn't work when [`declaration`](https://www.typescriptlang.org/tsconfig#declaration) is true. See microsoft/TypeScript#30355.
I'm closing this per https://github.com/angular/angular/blob/16.0.1/docs/PUBLIC_API.md#final-classes
That won't be possible, you need to help the compiler understand that you expect `title` to be `number| null`. `group()` cannot infer what it could be.
Awesome work ! Btw you might want to consider #48689 which have been opened recently !