| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Alters the expected return type of property resolvers and converters from "Promise<T>" to "Promise<T> | T". This ensures users are not forced to unnecessarily provide async functions with no await expression, which is considered bad practice and often disallowed by linting rules (see typescript-eslint/typescript-eslint#7536 (comment)).
There was a problem hiding this comment.
Thank you!
Sorry, something went wrong.
|
This is a really good change. Will go out with the next release! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Alters the expected return type of property resolvers and converters from Promise<T> to Promise<T> | T.
This ensures users are not forced to unnecessarily provide async functions with no await expression, which is often considered bad practice and disallowed by linting rules.