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
```
15 lines
342 B
TypeScript
15 lines
342 B
TypeScript
import type { ManifestUfmComponent } from '@umbraco-cms/backoffice/ufm';
|
|
|
|
export const manifests: Array<ManifestUfmComponent> = [
|
|
{
|
|
type: 'ufmComponent',
|
|
alias: 'Umb.CustomUfmComponent',
|
|
name: 'Custom UFM Component',
|
|
api: () => import('./custom-ufm-component.js'),
|
|
meta: {
|
|
alias: 'myCustomComponent',
|
|
marker: '%'
|
|
},
|
|
},
|
|
];
|