diff --git a/src/addons/use-notification-center/useNotificationCenter.ts b/src/addons/use-notification-center/useNotificationCenter.ts index bd108d26..0dfb2c91 100644 --- a/src/addons/use-notification-center/useNotificationCenter.ts +++ b/src/addons/use-notification-center/useNotificationCenter.ts @@ -138,7 +138,7 @@ export interface UseNotificationCenter { * const id = update("anId", {content: "test", data: { foo: "hello" } }) * * // It's also possible to update the id - * const id = update("anId"m { id:"anotherOne", data: {title: "a title", text: "some text"} }) + * const id = update("anId", { id:"anotherOne", data: {title: "a title", text: "some text"} }) * ``` */ update(id: Id, item: Partial>): Id | null;