The tslib.js file in version 2.8.0 is no longer compatible with ES5 due to the export syntax added in commit f63baa34b729338b527ca0a550328876e43ad6f7.
Our current workaround is to convert tslib.js to a .ts file, add // @ts-nocheck to the top of the file, and then let typescript transpile it correctly to our target JavaScript version.
Is the lack of ongoing compatibility for ES5 environments intentional or can this be resolved directly in tslib.js?
The tslib.js file in version 2.8.0 is no longer compatible with ES5 due to the export syntax added in commit f63baa34b729338b527ca0a550328876e43ad6f7.
Our current workaround is to convert
tslib.js
to a .ts file, add// @ts-nocheck
to the top of the file, and then let typescript transpile it correctly to our target JavaScript version.Is the lack of ongoing compatibility for ES5 environments intentional or can this be resolved directly in
tslib.js
?