Fix more TS errors in strict mode

This commit is contained in:
Ryan Gossiaux
2021-12-15 14:49:19 -08:00
parent 5b36ce9404
commit da6d2c3be6
9 changed files with 94 additions and 66 deletions

View File

@@ -154,7 +154,7 @@
}
setContext(NESTING_CONTEXT_NAME, nesting);
let openClosedState: Writable<State> | undefined = writable(State.Closed);
let openClosedState: Writable<State> = writable(State.Closed);
setContext("OpenClosed", openClosedState);
$: openClosedState.set(