Merge pull request #149 from github/elbrenn/serialize-null-token

Serialize NullToken as null
This commit is contained in:
Beth Brennan
2023-02-15 15:43:27 -05:00
committed by GitHub
5 changed files with 2 additions and 5 deletions
@@ -23,6 +23,6 @@ export class NullToken extends LiteralToken {
}
public override toJSON() {
return "null";
return null;
}
}
@@ -29,4 +29,5 @@ export type SerializedToken =
| string
| number
| boolean
| null
| undefined;
@@ -1,7 +1,6 @@
include-source: false # Drop file/line/col from output
skip:
- Go
- TypeScript
---
on: push
jobs:
@@ -1,7 +1,6 @@
include-source: false # Drop file/line/col from output
skip:
- Go
- TypeScript
---
on: push
jobs:
@@ -1,6 +1,4 @@
include-source: false # Drop file/line/col from output
skip:
- TypeScript
---
on: push
jobs: