mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
chore: Add override for methods
ERROR in ckeditor5-math/src/mathcommand.ts
./src/mathcommand.ts 5:8-13
[tsl] ERROR in ckeditor5-math/src/mathcommand.ts(5,9)
TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Command'.
@ ./src/autoformatmath.ts 6:0-40 24:31-42
@ ./src/index.ts 5:0-61 5:0-61
ERROR in ckeditor5-math/src/mathcommand.ts
./src/mathcommand.ts 6:8-15
[tsl] ERROR in ckeditor5-math/src/mathcommand.ts(6,9)
TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Command'.
@ ./src/autoformatmath.ts 6:0-40 24:31-42
@ ./src/index.ts 5:0-61 5:0-61
ERROR in ckeditor5-math/src/mathcommand.ts
./src/mathcommand.ts 48:8-15
[tsl] ERROR in ckeditor5-math/src/mathcommand.ts(48,9)
TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Command'.
@ ./src/autoformatmath.ts 6:0-40 24:31-42
@ ./src/index.ts 5:0-61 5:0-61
ERROR in ckeditor5-math/src/mathui.ts
./src/mathui.ts 41:8-15
[tsl] ERROR in ckeditor5-math/src/mathui.ts(41,9)
TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Plugin'.
@ ./src/autoformatmath.ts 7:0-30 33:50-56
@ ./src/index.ts 5:0-61 5:0-61
ERROR in ckeditor5-math/src/ui/mainformview.ts
./src/ui/mainformview.ts 40:8-14
[tsl] ERROR in ckeditor5-math/src/ui/mainformview.ts(40,9)
TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'View<HTMLElement>'.
@ ./src/mathui.ts 2:0-45 61:29-41
@ ./src/autoformatmath.ts 7:0-30 33:50-56
@ ./src/index.ts 5:0-61 5:0-61
ERROR in ckeditor5-math/src/ui/mainformview.ts
./src/ui/mainformview.ts 130:8-14
[tsl] ERROR in ckeditor5-math/src/ui/mainformview.ts(130,9)
TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'View<HTMLElement>'.
@ ./src/mathui.ts 2:0-45 61:29-41
@ ./src/autoformatmath.ts 7:0-30 33:50-56
@ ./src/index.ts 5:0-61 5:0-61
ERROR in ckeditor5-math/src/ui/mathview.ts
./src/ui/mathview.ts 76:8-14
[tsl] ERROR in ckeditor5-math/src/ui/mathview.ts(76,9)
TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'View<HTMLElement>'.
@ ./src/ui/mainformview.ts 5:0-34 48:32-40
@ ./src/mathui.ts 2:0-45 61:29-41
@ ./src/autoformatmath.ts 7:0-30 33:50-56
@ ./src/index.ts 5:0-61 5:0-61
7 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
This commit is contained in:
@@ -38,7 +38,7 @@ export default class MathUI extends Plugin {
|
||||
this._enableUserBalloonInteractions();
|
||||
}
|
||||
|
||||
public destroy(): void {
|
||||
public override destroy(): void {
|
||||
super.destroy();
|
||||
|
||||
this.formView?.destroy();
|
||||
|
||||
Reference in New Issue
Block a user