chore: More typescript FIXME's removed

This commit is contained in:
Tom Moor
2022-01-06 21:25:42 -08:00
parent 8d05c752ea
commit c6cc04cad8
58 changed files with 199 additions and 221 deletions

View File

@@ -15,8 +15,7 @@ describe("Miro", () => {
test("to extract the domain as part of the match for later use", () => {
expect(
// @ts-expect-error ts-migrate(2531) FIXME: Object is possibly 'null'.
"https://realtimeboard.com/app/board/o9J_k0fwiss=".match(match)[1]
"https://realtimeboard.com/app/board/o9J_k0fwiss=".match(match)?.[1]
).toBe("realtimeboard");
});