/* Copyright 2026 Marimo. All rights reserved. */ /* oxlint-disable typescript/no-explicit-any */ declare module "*.svg" { const content: string | undefined; export default content; } // Stricter lib types interface Body { json(): Promise; } // Stricter lib types interface JSON { parse( text: string, reviver?: (this: any, key: string, value: any) => any, ): unknown; rawJSON(value: string): unknown; } // Improve type inference for Array.filter with BooleanConstructor interface Array { filter(predicate: BooleanConstructor): NonNullable[]; }