Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move "@types/luxon" to the "dependencies" section #108

Merged
merged 1 commit into from
Jan 15, 2022

Conversation

davidmz
Copy link
Contributor

@davidmz davidmz commented Jan 15, 2022

The exiftool-vendored uses the luxon's DateTime type in public interfaces (for example, in ExifTime class). So, the @types/luxon should be in the "dependencies" section instead of "devDependencies". Otherwise, the TS code that uses exiftool-vendored and doesn't use luxon in its own dependencies, will not have access to the luxon's types.

The exiftool-vendored uses the luxon's DateTime type in public interfaces (for example, in ExifTime class). So, the @types/luxon should be in the "dependencies" section instead of "devDependencies". Otherwise, the TS code that uses exiftool-vendored and doesn't use luxon in its own dependencies, will not have access to the luxon's types.
@mceachen
Copy link
Member

mceachen commented Jan 15, 2022

Thanks! I'll release a new version today.

For (self) reference: https://stackoverflow.com/a/46011417/1268016

@mceachen mceachen closed this Jan 15, 2022
@mceachen mceachen reopened this Jan 15, 2022
@mceachen mceachen merged commit aec4f5f into photostructure:main Jan 15, 2022
@davidmz davidmz deleted the patch-1 branch January 15, 2022 16:42
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