HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/share/nodejs/@types/codemirror/mode/meta.d.ts
import '../';

export interface ModeInfo {
    name: string;
    mime?: string | undefined;
    mimes?: string[] | undefined;
    mode: string;
    file?: RegExp | undefined;
    ext?: string[] | undefined;
    alias?: string[] | undefined;
}

declare module '../' {
    const modeInfo: ModeInfo[];
    function findModeByMIME(mime: string): ModeInfo | undefined;
    function findModeByExtension(ext: string): ModeInfo | undefined;
    function findModeByFileName(filename: string): ModeInfo | undefined;
    function findModeByName(name: string): ModeInfo | undefined;
}