Skip to content

Commit

Permalink
fix since label
Browse files Browse the repository at this point in the history
  • Loading branch information
renejeglinsky committed Oct 18, 2024
1 parent 2e1e21b commit b64292a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cds-typer.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ class CatalogService extends cds.ApplicationService { async init(){
}}
```
### Static Top-Level Imports {#typer-top-level-imports} <Since version="0.26.0" of="@cap-js/cds-typer" />
### Static Top-Level Imports <Since version="0.26.0" of="@cap-js/cds-typer" /> {#typer-top-level-imports}
You can pass a new option, `useEntitiesProxy`, to `cds-typer`. This option allows you to statically import your entities at the top level, as you intuitively would. However, you can still only _use these entities_ in a context where the CDS runtime is fully booted, like in a service definition:
```ts twoslash
Expand Down

0 comments on commit b64292a

Please sign in to comment.