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
Given an actions module where each exported member satisfies the type type MyFn = (...args: any[]) => any, when I collect those exports using import *, the resulting object has no index signature, leading to unwanted type errors.
Type 'typeof "/Users/OliverJAsh/Development/unsplash-web/app/actions/index"' is not assignable to type 'MyMap'.
Index signature is missing in type 'typeof "/Users/OliverJAsh/Development/unsplash-web/app/actions/index"'.
The text was updated successfully, but these errors were encountered:
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
TypeScript Version: 2.3.4
Given an
actions
module where each exported member satisfies the typetype MyFn = (...args: any[]) => any
, when I collect those exports usingimport *
, the resulting object has no index signature, leading to unwanted type errors.Code
Expected behavior:
No error.
Actual behavior:
The text was updated successfully, but these errors were encountered: