Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

Make sure to configure your TypeScript compiler so it includes the Global Types from the Backoffice. This enables you to utilize the declared Extension Types. If your project is using other Packages that provides their Extension Types then please list these as well.

In your `tsconfig.json` file. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/dist-cms/packages/extension-types`:
In your `tsconfig.json` file. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/extension-types`:

```json
{
"compilerOptions": {
...
"types": [
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
"@umbraco-cms/backoffice/extension-types"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ npm install --legacy-peer-deps -D @umbraco-cms/backoffice
This disables IntelliSense for external references but keeps the install lean.

7. Open the `tsconfig.json` file.
8. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/dist-cms/packages/extension-types`:
8. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/extension-types`:

```json
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Ensure you have set up your `tsconfig.json` to include the `extension-types` as
"compilerOptions": {
...
"types": [
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
"@umbraco-cms/backoffice/extension-types"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions 16/umbraco-cms/customizing/development-flow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ This will add a package to your devDependencies containing the TypeScript defini

Make sure to configure your TypeScript compiler so it includes the Global Types from the Backoffice. This enables you to utilize the declared Extension Types. If your project is using other Packages that provide their Extension Types, list these as well.

In your `tsconfig.json` file, add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/dist-cms/packages/extension-types`:
In your `tsconfig.json` file, add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/extension-types`:

```json
{
"compilerOptions": {
...
"types": [
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
"@umbraco-cms/backoffice/extension-types"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ npm install --legacy-peer-deps -D @umbraco-cms/[email protected]
This disables IntelliSense for external references but keeps the install lean.

7. Open the `tsconfig.json` file.
8. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/dist-cms/packages/extension-types`:
8. Add the array `types` inside `compilerOptions`, with the entry of `@umbraco-cms/backoffice/extension-types`:

```json
{
"compilerOptions": {
...
"types": [
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
"@umbraco-cms/backoffice/extension-types"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Ensure you have set up your `tsconfig.json` to include the `extension-types` as
"compilerOptions": {
...
"types": [
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
"@umbraco-cms/backoffice/extension-types"
]
}
}
Expand Down