Skip to content

Commit

Permalink
Add exclamation point for TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed May 30, 2024
1 parent 821b3a9 commit ae1745d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewstate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class ViewState {
defaultTextDirection: Direction = Direction.LTR

// The main viewport for the visible part of the document
viewport: Viewport
viewport!: Viewport
// If the main selection starts or ends outside of the main
// viewport, extra single-line viewports are created for these
// points, so that the DOM selection doesn't fall in a gap.
Expand Down

0 comments on commit ae1745d

Please sign in to comment.