mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
fix(types): build errors due to CodeMirror opts
This commit is contained in:
parent
7c9a7c9ff6
commit
60d3bafc8e
13
src/public/app/types.d.ts
vendored
13
src/public/app/types.d.ts
vendored
@ -198,12 +198,13 @@ declare global {
|
|||||||
};
|
};
|
||||||
lineNumbers: boolean;
|
lineNumbers: boolean;
|
||||||
lineWrapping: boolean;
|
lineWrapping: boolean;
|
||||||
keyMap: "vim" | "default";
|
keyMap?: "vim" | "default";
|
||||||
lint: boolean;
|
lint?: boolean;
|
||||||
gutters: string[];
|
gutters?: string[];
|
||||||
tabindex: number;
|
tabindex?: number;
|
||||||
dragDrop: boolean;
|
dragDrop?: boolean;
|
||||||
placeholder: string;
|
placeholder?: string;
|
||||||
|
readOnly?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
var CodeMirror: {
|
var CodeMirror: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user