diff --git a/src/selection.ts b/src/selection.ts index c0ff608..b06701f 100644 --- a/src/selection.ts +++ b/src/selection.ts @@ -184,7 +184,7 @@ export abstract class Selection { /// Controls whether, when a selection of this type is active in the /// browser, the selected range should be visible to the user. /// Defaults to `true`. - visible!: boolean + visible: boolean = true; } Selection.prototype.visible = true