Alan Agius
|
9199dd9a87
|
docs(docs-infra): update default generic values and add constraints for type parameters in functions (#58548)
Before
```typescript
createNodeRequestHandler(
handler: T
): T;
```
```typescript
class NgIf<T> {
@Input() set ngIf(value: T);
@Input() set ngIfThen(value: TemplateRef<NgIfContext<T>> | null);
@Input() set ngIfElse(value: TemplateRef<NgIfContext<T>> | null);
static ngTemplateGuard_ngIf: "binding";
static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): boolean;
}
```
Now
```typescript
createNodeRequestHandler<T extends NodeRequestHandlerFunction>(
handler: T
): T;
```
```typescript
class NgIf<T = unknown> {
@Input() set ngIf(value: T);
@Input() set ngIfThen(value: TemplateRef<NgIfContext<T>> | null);
@Input() set ngIfElse(value: TemplateRef<NgIfContext<T>> | null);
static ngTemplateGuard_ngIf: "binding";
static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): boolean;
}
```
PR Close #58548
|
2024-11-08 17:15:07 +00:00 |
|
Matthieu Riegler
|
7e933d8486
|
docs(docs-infra): fix CLI commands (#58294)
With this commit the CLI doc will display the correct arguments for the subcommands
fixes #58279
PR Close #58294
|
2024-10-22 07:42:22 -07:00 |
|
Matthieu Riegler
|
0843f31474
|
docs: Enable direct links to class/interface methods for @link (#57615)
PR Close #57615
|
2024-09-06 16:03:37 +00:00 |
|
Matthieu Riegler
|
5014bb5b1c
|
docs(docs-infra): enable tests for api-gen (#57618)
PR Close #57618
|
2024-09-05 14:05:05 +00:00 |
|
Matthieu Riegler
|
d2d72e369c
|
docs(docs-infra): Add set of unit tests to the API markdown parsing (#57492)
PR Close #57492
|
2024-08-30 11:12:26 -07:00 |
|
Matthieu Riegler
|
b5719ba5eb
|
docs(docs-infra): Add tests for marked rendering (#57344)
On top of #57338, to make sure we prevent similar regressions on marked rendering.
PR Close #57344
|
2024-08-19 09:21:17 -07:00 |
|
Joey Perrott
|
3bdead1b2f
|
refactor(docs-infra): migrate api-gen from dev-infra into the repo (#57241)
Move the api-gen pipeline into the shared-docs directory.
PR Close #57241
|
2024-08-05 17:06:29 +00:00 |
|