Conform more of the codebase to strictNullChecks
(#10358
* Conform more of the codebase to `strictNullChecks` * Fix types * Iterate * Iterate
This commit is contained in:
parent
41d88ad6ae
commit
503df62191
76 changed files with 323 additions and 327 deletions
|
@ -30,7 +30,7 @@ export default class EditorStateTransfer {
|
|||
|
||||
public constructor(private readonly event: MatrixEvent) {}
|
||||
|
||||
public setEditorState(caret: DocumentOffset, serializedParts: SerializedPart[]): void {
|
||||
public setEditorState(caret: DocumentOffset | null, serializedParts: SerializedPart[]): void {
|
||||
this.caret = caret;
|
||||
this.serializedParts = serializedParts;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue