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
Create a component that uses themr. themr('Identifier')(ComponentName);
Run the Typescript compiler
It will throw the following error error TS4082: Default export of the module has or is using private name 'TReactCSSThemrTheme'. error TS4082: Default export of the module has or is using private name 'ThemedComponentClass'.
The text was updated successfully, but these errors were encountered:
Yes @belohlavek we used that, but that is not a good solution because TS Lint will fail as we are not using them and those will be unsed imports. Also, importing is private member of a library is never good as it may change in future updates.
I've opened a request to fix issues like these in TypeScript by bringing declaration files to parity with language features. microsoft/TypeScript#35822
Typescript Version : 2.4.2
React CSS Themr: 2.1.2
Replication Steps
themr('Identifier')(ComponentName);
It will throw the following error
error TS4082: Default export of the module has or is using private name 'TReactCSSThemrTheme'.
error TS4082: Default export of the module has or is using private name 'ThemedComponentClass'.
The text was updated successfully, but these errors were encountered: