Repository navigation
Commit 9a63752
committed
fix: type the once-guard slot as optional
`tsc` rejected clearing it, since the slot took its type from the
callback parameter and so could not hold `undefined`.1 parent 029954b commit 9a63752
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments