Skip to content

Conversation

@arrilight
Copy link
Contributor

@arrilight arrilight commented Feb 2, 2023

Remove types from generated mock providers due to a TypeScript which prevents /*#__PURE__*/ annotation from working

…prevents `/*#__PURE__*/` annotation from working
@arrilight
Copy link
Contributor Author

arrilight commented Feb 2, 2023

The fix is inspired by the bug from TypeScript: microsoft/TypeScript#40943
The annotations are removed when the type of the variable is explicitly mentioned.
This has been fixed by the TypeScript team, however it's a part of a incompatible release (4.6.1), so we can't use it just yet.

@santam85 santam85 merged commit eb2174b into Backbase:main Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants