From 9baf157a87bc2a82dc64240140b63bd23db0d3e6 Mon Sep 17 00:00:00 2001 From: Esha Noronha Date: Wed, 4 Jun 2025 14:35:08 +0200 Subject: [PATCH] Updated type declaration for v15 and v16 --- .../customizing/development-flow/typescript-setup.md | 4 ++-- .../customizing/development-flow/vite-package-setup.md | 2 +- .../customizing/extending-overview/extension-types/bundle.md | 2 +- 16/umbraco-cms/customizing/development-flow/README.md | 4 ++-- .../customizing/development-flow/vite-package-setup.md | 4 ++-- .../customizing/extending-overview/extension-types/bundle.md | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/15/umbraco-cms/customizing/development-flow/typescript-setup.md b/15/umbraco-cms/customizing/development-flow/typescript-setup.md index 0685b1c1bd4..3113b51d9bf 100644 --- a/15/umbraco-cms/customizing/development-flow/typescript-setup.md +++ b/15/umbraco-cms/customizing/development-flow/typescript-setup.md @@ -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" ] } } diff --git a/15/umbraco-cms/customizing/development-flow/vite-package-setup.md b/15/umbraco-cms/customizing/development-flow/vite-package-setup.md index d5a5ae24cd5..5d0f2196ced 100644 --- a/15/umbraco-cms/customizing/development-flow/vite-package-setup.md +++ b/15/umbraco-cms/customizing/development-flow/vite-package-setup.md @@ -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 { diff --git a/15/umbraco-cms/customizing/extending-overview/extension-types/bundle.md b/15/umbraco-cms/customizing/extending-overview/extension-types/bundle.md index ab2b92f75aa..9e913b6e50f 100644 --- a/15/umbraco-cms/customizing/extending-overview/extension-types/bundle.md +++ b/15/umbraco-cms/customizing/extending-overview/extension-types/bundle.md @@ -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" ] } } diff --git a/16/umbraco-cms/customizing/development-flow/README.md b/16/umbraco-cms/customizing/development-flow/README.md index 80305896849..216d6a0989d 100644 --- a/16/umbraco-cms/customizing/development-flow/README.md +++ b/16/umbraco-cms/customizing/development-flow/README.md @@ -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" ] } } diff --git a/16/umbraco-cms/customizing/development-flow/vite-package-setup.md b/16/umbraco-cms/customizing/development-flow/vite-package-setup.md index 7f0404d1684..0afe7f7db7e 100644 --- a/16/umbraco-cms/customizing/development-flow/vite-package-setup.md +++ b/16/umbraco-cms/customizing/development-flow/vite-package-setup.md @@ -74,14 +74,14 @@ npm install --legacy-peer-deps -D @umbraco-cms/backoffice@x.x.x 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" ] } } diff --git a/16/umbraco-cms/customizing/extending-overview/extension-types/bundle.md b/16/umbraco-cms/customizing/extending-overview/extension-types/bundle.md index ab2b92f75aa..9e913b6e50f 100644 --- a/16/umbraco-cms/customizing/extending-overview/extension-types/bundle.md +++ b/16/umbraco-cms/customizing/extending-overview/extension-types/bundle.md @@ -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" ] } }