angular / tsickle

Tsickle — TypeScript to Closure Translator
MIT License
896 stars 110 forks source link

Construct negative numeric literal nodes via `createPrefixUnaryExpression` + `createNumericLiteral` #1480

Closed copybara-service[bot] closed 1 year ago

copybara-service[bot] commented 1 year ago

Construct negative numeric literal nodes via createPrefixUnaryExpression + createNumericLiteral

The following commit started to disallow construction of negative numeric literals solely with createNumericLiteral and now needs to be constructed via createPrefixUnaryExpression + createNumericLiteral

https://github.com/microsoft/TypeScript/commit/f0c3c3f6eabd9bd771f6196f4cbc75eaf95e78f9