Skip to content

2.x: Fix weird TypeScript transpilation bug

Compare
Choose a tag to compare
@marshallswain marshallswain released this 24 Sep 19:19
· 847 commits to master since this release

When you use async with an arrow function, TypeScript produces some really weird code that's easy to break in project production transpilation. The arrow functions causing the issue have been updated to be plain js functions.