← Về thư mục
frontend/src/i18n/static-i18n-race.test.ts
- FakeNode · type · L17-L25 — type FakeNode = { textContent: string; title: string; placeholder: string; value: string; dataset: Record; classList: { toggle: (name: string, on: boolean) => void; has: (name: string) => boolean }; getAttribute: (name: string) => string | null; };
- fakeNode · function · L27-L47 — function fakeNode( attrs: Record, initial: Partial> = {}, ): FakeNode
- Shell · type · L49-L57 — type Shell = { projects: FakeNode; jump: FakeNode; search: FakeNode; theme: FakeNode; convTitle: FakeNode; langEn: FakeNode; langZh: FakeNode; };
- installShell · function · L60-L88 — function installShell(): Shell
- Runtime · type · L90-L90 — type Runtime = typeof import("./runtime");
- release · function · L92-L92 — release: () => void = ()
- importRuntimeWithGatedLocales · function · L94-L110 — async function importRuntimeWithGatedLocales(): Promise
- Held · type · L205-L209 — type Held = { requested: boolean; release: () => void; fail: (error: unknown) => void; };
- held · function · L211-L224 — function held(): Held & { gate: Promise }
- importRuntimeWithSeparateGates · function · L227-L249 — async function importRuntimeWithSeparateGates(): Promise<{ runtime: Runtime; en: Held; zh: Held }>
- ticks · function · L251-L253 — ticks = async (): Promise