We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28dfb91 commit 2c3c9c8Copy full SHA for 2c3c9c8
src/compiler/emitter.ts
@@ -1358,11 +1358,11 @@ export function createOrReusePrinter(o: ReusablePrinterOptions = {}) {
1358
}
1359
return printer;
1360
1361
- function keyBool(value: boolean | undefined) {
1362
- return value === undefined ? "u" : value ? 1 : 0;
+ function keyBool(value: boolean | undefined): string {
+ return value === undefined ? "u" : value ? "1" : "0";
1363
1364
1365
- function keyNum(value: number | undefined) {
+ function keyNum(value: number | undefined): string {
1366
return value === undefined ? "u" : `${value}`;
1367
1368
0 commit comments