Skip to content

Typescript ExifDateTime #111

Answered by mceachen
captDaylight asked this question in Q&A
Discussion options

You must be logged in to vote

Any idea why this method is not being recognized?

Please check the typings: CreateDate could be:

  1. undefined
  2. an instance of string, if the date is encoded with an invalid value (some manufacturers seem to enjoy the date "0000:00:00")
  3. an instance of ExifDateTime

You'll need to verify that CreateDate is an instanceof ExifDateTime before calling methods on that interface are allowed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mceachen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants