tslib icon indicating copy to clipboard operation
tslib copied to clipboard

fix: apply freezing to template object

Open antongolub opened this issue 1 year ago • 1 comments

This PR makes generated template string literals follow the ECMA-262 spec.

  • https://tc39.es/ecma262/#sec-gettemplateobject
  • https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

antongolub avatar Dec 09 '24 20:12 antongolub

Please see https://github.com/microsoft/TypeScript/pull/51806 / https://github.com/microsoft/TypeScript/issues/51789; this change cannot be made in tslib first.

jakebailey avatar Dec 09 '24 20:12 jakebailey