Skip to content

Commit f400586

Browse files
authored
Merge pull request #7143 from umbraco/type-declaration
Updated type declaration for v15 and v16
2 parents 97b1b88 + 9baf157 commit f400586

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

15/umbraco-cms/customizing/development-flow/typescript-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
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.
44

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

77
```json
88
{
99
"compilerOptions": {
1010
...
1111
"types": [
12-
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
12+
"@umbraco-cms/backoffice/extension-types"
1313
]
1414
}
1515
}

15/umbraco-cms/customizing/development-flow/vite-package-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ npm install --legacy-peer-deps -D @umbraco-cms/backoffice
8282
This disables IntelliSense for external references but keeps the install lean.
8383

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

8787
```json
8888
{

15/umbraco-cms/customizing/extending-overview/extension-types/bundle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Ensure you have set up your `tsconfig.json` to include the `extension-types` as
5858
"compilerOptions": {
5959
...
6060
"types": [
61-
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
61+
"@umbraco-cms/backoffice/extension-types"
6262
]
6363
}
6464
}

16/umbraco-cms/customizing/development-flow/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ This will add a package to your devDependencies containing the TypeScript defini
8282

8383
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.
8484

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

8787
```json
8888
{
8989
"compilerOptions": {
9090
...
9191
"types": [
92-
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
92+
"@umbraco-cms/backoffice/extension-types"
9393
]
9494
}
9595
}

16/umbraco-cms/customizing/development-flow/vite-package-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ npm install --legacy-peer-deps -D @umbraco-cms/[email protected]
7474
This disables IntelliSense for external references but keeps the install lean.
7575

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

7979
```json
8080
{
8181
"compilerOptions": {
8282
...
8383
"types": [
84-
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
84+
"@umbraco-cms/backoffice/extension-types"
8585
]
8686
}
8787
}

16/umbraco-cms/customizing/extending-overview/extension-types/bundle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Ensure you have set up your `tsconfig.json` to include the `extension-types` as
5858
"compilerOptions": {
5959
...
6060
"types": [
61-
"@umbraco-cms/backoffice/dist-cms/packages/extension-types"
61+
"@umbraco-cms/backoffice/extension-types"
6262
]
6363
}
6464
}

0 commit comments

Comments
 (0)