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
The problem is that our input types extend from Record<string, unknown>, which is a generic property-map. This means that code like this will still compile, when it shouldn't:
Module.method({foo: "value"});// ^ "foo" should be "argument"
The text was updated successfully, but these errors were encountered:
Currently, most-all interface types for TypeScript applications are like so:
The problem is that our input types extend from
Record<string, unknown>
, which is a generic property-map. This means that code like this will still compile, when it shouldn't:The text was updated successfully, but these errors were encountered: