Skip to content

Commit

Permalink
fix: reduce slow types
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou committed Jan 2, 2025
1 parent fafb547 commit bbfcfd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/linejs/client/features/message/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion packages/linejs/client/features/square/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
}

0 comments on commit bbfcfd1

Please sign in to comment.