diff --git a/src/Umbraco.Web.UI.Client/examples/modal-routed/modal/example-modal-token.ts b/src/Umbraco.Web.UI.Client/examples/modal-routed/modal/example-modal-token.ts index 0668cd9993..e9092a0b32 100644 --- a/src/Umbraco.Web.UI.Client/examples/modal-routed/modal/example-modal-token.ts +++ b/src/Umbraco.Web.UI.Client/examples/modal-routed/modal/example-modal-token.ts @@ -1,15 +1,14 @@ -import { UmbModalToken } from "@umbraco-cms/backoffice/modal"; +import { UmbModalToken } from '@umbraco-cms/backoffice/modal'; -export type Data = {} -export type RetData = {} +export type Data = object; +export type RetData = object; -export const EXAMPLE_ROUTED_MODAL = new UmbModalToken< -Data, -RetData ->('example.routed.modal', // this needs to match the alias of the modal registered in manifest.ts -{ - modal : { - type : 'dialog', - size : 'full' - } -}); +export const EXAMPLE_ROUTED_MODAL = new UmbModalToken( + 'example.routed.modal', // this needs to match the alias of the modal registered in manifest.ts + { + modal: { + type: 'dialog', + size: 'full', + }, + }, +);