From 3a734d56859340acd8bfad4de2e719089ed8daf0 Mon Sep 17 00:00:00 2001 From: Jack Works Date: Sun, 26 Sep 2021 14:41:47 +0800 Subject: [PATCH] fix: typo --- packages/plugin-infra/src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin-infra/src/types.ts b/packages/plugin-infra/src/types.ts index 37b1c6f6d90..d65903ff3dd 100644 --- a/packages/plugin-infra/src/types.ts +++ b/packages/plugin-infra/src/types.ts @@ -493,7 +493,7 @@ export namespace Plugin.ContextFree { * This action make the render quit the edit state. * If save is true, the render MUST report the new result via onEditComplete. * - * If this action does not exist, the render should handle the save/cancel by themself. + * If this action does not exist, the render should handle the save/cancel by themselves. */ quitEdit?(save: boolean): void } @@ -508,7 +508,7 @@ export namespace Plugin.ContextFree { onEditComplete(metaKey: string, replaceMeta: T): void } /** - * This metadat render is called in the decrypted post. + * This metadata render is called in the decrypted post. */ export interface DecryptedPostContext { context: 'post'