mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-21 15:53:45 +02:00
Replace Ace editor with CodeMirror
This commit is contained in:
12
resources/scripts/modes.d.ts
vendored
12
resources/scripts/modes.d.ts
vendored
@@ -1,3 +1,13 @@
|
||||
declare const modes: Record<string, string>;
|
||||
export interface Mode {
|
||||
name: string,
|
||||
mime: string,
|
||||
mimes?: string[],
|
||||
mode: string,
|
||||
ext: string[],
|
||||
alias?: string[],
|
||||
file?: RegExp,
|
||||
}
|
||||
|
||||
declare const modes: Mode[];
|
||||
|
||||
export default modes;
|
||||
|
||||
Reference in New Issue
Block a user