Skip to content

Improve type definitions#14

Merged
ybouane merged 1 commit into
ybouane:mainfrom
gwennlbh:patch-1
Jun 9, 2026
Merged

Improve type definitions#14
ybouane merged 1 commit into
ybouane:mainfrom
gwennlbh:patch-1

Conversation

@gwennlbh

Copy link
Copy Markdown
Contributor

I was about to contribue to @types/ but I found out that between the last npm release and main, type defs were added.

Still, I feel like my typedefs are more complete (esp. because the metadata() method actually returns the Metadata type)

I was about to contribue to @types/ but I found out that between the last npm release and main, type defs were added. 

Still, I feel like my typedefs are more complete (esp. because the metadata() method actually returns the Metadata type)
Comment thread index.d.ts
*
* Note: The EXIF/GPS hemisphere (N/S, E/W) may be provided separately in
* original EXIF fields; consult the raw file's GPSRef if you require an
* explicit hemisphere. `altitude` is expressed in metres.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for this, i didn't find anything providing the GPSRef used. I'm currently assuming in my app code that they are N & E, but documenting it here would be nice. Afaik theres' no field to get the ref from somewhere else

@ybouane ybouane merged commit bf03f61 into ybouane:main Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants