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.
Alters the expected return type of property resolvers and converters from
Promise<T>
toPromise<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.