-
Robert Knight authored
The `store.defaultContentFrame` selector had an incorrect return type, `Frame` instead of `Frame|null`, because `frames[0]` has the static type `Frame`, even though this can actually return undefined at runtime. As a result, TypeScript didn't catch a missing null check when generating the default filename for the export. Fixes https://github.com/hypothesis/client/issues/5818
42858d04
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
test | ||
ExportAnnotations.tsx | ||
FileInput.tsx | ||
ImportAnnotations.tsx | ||
LoadingSpinner.tsx | ||
ShareAnnotations.tsx | ||
ShareDialog.tsx | ||
TabHeader.tsx | ||
TabPanel.tsx | ||
index.ts |