You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request introduces a new file `src/types.js` to define common
types used within the codebase. The changes include adding type
definitions and ensuring type checking with TypeScript.
Key changes:
* Added a file overview comment to `src/types.js` to describe the
purpose of the file.
* Enabled TypeScript checking with the `@ts-check` comment.
* Defined a `Uri` type as a string and a `Type` type as either `'link'`
or `'image'`.
* Created a `UriTypeObject` typedef that includes properties `uri` of
type `Uri` and `type` of type `Type`.
* Exported the module to make the types available for use in other
files.
0 commit comments