From 540f829a2feb19b0022bd7608948552ed8f1b584 Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Wed, 6 Nov 2024 19:35:38 +0000 Subject: [PATCH] Fixes duplicate alias that fails npm run compile Fixes issue when running `npm run compile` ``` examples/ufm-custom-component/index.ts:12:4 - error TS1117: An object literal cannot have multiple properties with the same name. 12 alias: 'myCustomComponent', ~~~~~ Found 1 error in examples/ufm-custom-component/index.ts:12 ``` --- .../examples/ufm-custom-component/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/examples/ufm-custom-component/index.ts b/src/Umbraco.Web.UI.Client/examples/ufm-custom-component/index.ts index 59efba5054..69cda7ce89 100644 --- a/src/Umbraco.Web.UI.Client/examples/ufm-custom-component/index.ts +++ b/src/Umbraco.Web.UI.Client/examples/ufm-custom-component/index.ts @@ -8,8 +8,7 @@ export const manifests: Array = [ api: () => import('./custom-ufm-component.js'), meta: { alias: 'myCustomComponent', - marker: '%', - alias: 'myCustomComponent', + marker: '%' }, }, ];