Add declare-keywords to redeclare types

This commit is contained in:
Pieter Vander Vennet 2023-01-17 02:50:13 +01:00
parent 60583aa658
commit a3234686fe
2 changed files with 6 additions and 7 deletions

View file

@ -31,7 +31,7 @@ export default class Toggle extends VariableUiElement {
* Same as `Toggle`, but will swap on click
*/
export class ClickableToggle extends Toggle {
public readonly isEnabled: UIEventSource<boolean>
public declare readonly isEnabled: UIEventSource<boolean>
constructor(
showEnabled: string | BaseUIElement,