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
It appears that these references remain in the 1.x branch, but they are no longer used in the main branch.
This doesn't seem to cause any issues where Fresh applications fail to start due to type errors, and if Fresh v2.0 is going to be released soon, it might be fine to leave it as is. However, it also seems possible to hard-code a type with the same interface without relying on a version-incompatible type.
The text was updated successfully, but these errors were encountered:
It seems that
Deno.ServeTlsOptions
has been removed in Deno 2.0.0, but there are places in Fresh where this type is still being used.fresh/src/server/types.ts
Line 44 in d9764e2
fresh/src/server/types.ts
Line 120 in d9764e2
Additionally, there are parts of the documentation that still reference it: https://fresh.deno.dev/docs/concepts/server-configuration
It appears that these references remain in the 1.x branch, but they are no longer used in the main branch.
This doesn't seem to cause any issues where Fresh applications fail to start due to type errors, and if Fresh v2.0 is going to be released soon, it might be fine to leave it as is. However, it also seems possible to hard-code a type with the same interface without relying on a version-incompatible type.
The text was updated successfully, but these errors were encountered: