angular/adev/shared-docs/pipeline/api-gen/rendering/test
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
..
transforms docs(docs-infra): update default generic values and add constraints for type parameters in functions (#58548) 2024-11-08 17:15:07 +00:00
BUILD.bazel docs(docs-infra): Add tests for marked rendering (#57344) 2024-08-19 09:21:17 -07:00
cli.spec.ts docs(docs-infra): fix CLI commands (#58294) 2024-10-22 07:42:22 -07:00
fake-cli-entries.json docs(docs-infra): fix CLI commands (#58294) 2024-10-22 07:42:22 -07:00
fake-entries.json docs(docs-infra): Add set of unit tests to the API markdown parsing (#57492) 2024-08-30 11:12:26 -07:00
marked.spec.ts docs(docs-infra): Add set of unit tests to the API markdown parsing (#57492) 2024-08-30 11:12:26 -07:00