chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
export const SESSION_LABEL_MAX_LENGTH = 64;
|
||||
|
||||
export type ParsedSessionLabel =
|
||||
| { ok: true; label: string }
|
||||
| { ok: false; error: string };
|
||||
export type ParsedSessionLabel = { ok: true; label: string } | { ok: false; error: string };
|
||||
|
||||
export function parseSessionLabel(raw: unknown): ParsedSessionLabel {
|
||||
if (typeof raw !== "string") {
|
||||
|
||||
Reference in New Issue
Block a user