I am working with lit-html templating library, ParcelJs bundler using Typescript, compiling in to ES2019. With such I am creating a js library to be consumed by consuming applications. This works great on most browser excepts in IE11. I get the following error:
SCRIPT1002: Syntax error
which is:
export const directive = <F extends DirectiveFactory>(f: F): F =>
I suspect though its an issue with version of JS and using lit-html.
Is there a workaround/fix that can be introduced to rectify the issues with IE11? Any tips or guidance would be great.