-
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 |
---|---|---|
.. | ||
components | ||
config | ||
helpers | ||
services | ||
store | ||
test | ||
util | ||
cross-origin-rpc.ts | ||
index.tsx | ||
markdown-commands.ts | ||
media-embedder.ts | ||
render-markdown.ts | ||
search-client.ts | ||
service-context.tsx | ||
websocket.ts |