-
Notifications
You must be signed in to change notification settings - Fork 162
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
Luxon DateTime is not assignable to type ICalDateTimeValue in Typescript #482
Comments
I recognised that this is caused by the strict type checking that is by default enabled in the tsconfig bases for node18. By overriding the strict flag to false I don't get the errors anymore. Updated tsconfig.json {
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"strict": false,
}
} |
🎉 This issue has been resolved in version 4.1.0-develop.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
# [4.1.0](v4.0.0...v4.1.0) (2023-05-04) ### Bug Fixes * Allow `null` return value for Luxon 3.3's DateTime.toJSON() ([bee19a8](bee19a8)), closes [#482](#482) [#485](#485) * revent changes to package.json version ([916e460](916e460)) * revert package-lock.json ([a8d8f2d](a8d8f2d)) ### Features * Support trigger related behavior ([54743df](54743df))
🎉 This issue has been resolved in version 4.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
When I'm trying to assign an Luxon
DateTime
to thestart
andend
properties of theICalEvent
(Typescript) I get following error message in IntelliJ andtsc
:Here is the setup to reproduce the issue:
package.json
tsconfig.json
index.ts
The text was updated successfully, but these errors were encountered: