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
With TypeScript, type checker helps catching lots of mistake. However, when using using Hermes in JS codebase, I think it will be valuable to provide some runtime check for correct type for cache config.
I think we should start with explicit checks on the public surface area - the downside of reflect-metadata is that it only exposes the raw JS types (like Object, or Function, but nothing more nuanced than that)
With TypeScript, type checker helps catching lots of mistake. However, when using using Hermes in JS codebase, I think it will be valuable to provide some runtime check for correct type for cache config.
One possible option to do so (https://github.com/rbuckton/reflect-metadata)
The text was updated successfully, but these errors were encountered: