diff --git a/packages/linejs/client/features/message/types.ts b/packages/linejs/client/features/message/types.ts index bd074d3..acc7247 100644 --- a/packages/linejs/client/features/message/types.ts +++ b/packages/linejs/client/features/message/types.ts @@ -26,10 +26,10 @@ export type DecorationsData = { }; }; export interface From { - id: string - type: MIDType + id: string; + type: MIDType; } export interface To { - id: string - type: MIDType + id: string; + type: MIDType; } diff --git a/packages/linejs/client/features/square/mod.ts b/packages/linejs/client/features/square/mod.ts index 08eb609..ffeaab5 100644 --- a/packages/linejs/client/features/square/mod.ts +++ b/packages/linejs/client/features/square/mod.ts @@ -37,7 +37,7 @@ export class Square { return this.#raw.name; } - static fromRaw(raw: SquareRaw, client: Client) { + static fromRaw(raw: SquareRaw, client: Client): Square { return new Square({ raw, client }); } }