You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(property) keep_numbers: boolean
Type '{ toplevel: true; safari10: true; compress: { ecma: 2015 | 5; arrows: boolean; drop_console: boolean; }; } | { compress: false; toplevel: true; safari10: true; output: { comments: false; keep_numbers: boolean; quote_keys: true; }; }' is not assignable to type 'MinifyOptions'.
Type '{ compress: false; toplevel: true; safari10: true; output: { comments: false; keep_numbers: boolean; quote_keys: true; }; }' is not assignable to type 'MinifyOptions'.
Types of property 'output' are incompatible.
Type '{ comments: false; keep_numbers: boolean; quote_keys: true; }' is not assignable to type 'FormatOptions'.
Object literal may only specify known properties, and 'keep_numbers' does not exist in type 'FormatOptions'.ts(2322)
Version (complete output of terser -V or specific git commit)
Complete CLI command or minify() options used
terser input
terser output or error
Expected result
Add the keep_numbers type to FormatOptions
The text was updated successfully, but these errors were encountered:
Bug report or Feature request?
Typescript Type Check Error:
Version (complete output of
terser -V
or specific git commit)Complete CLI command or
minify()
options usedterser
inputterser
output or errorExpected result
Add the keep_numbers type to FormatOptions
The text was updated successfully, but these errors were encountered: