Serialize NullToken as null
This commit is contained in:
@@ -23,6 +23,6 @@ export class NullToken extends LiteralToken {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override toJSON() {
|
public override toJSON() {
|
||||||
return "null";
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,4 +29,5 @@ export type SerializedToken =
|
|||||||
| string
|
| string
|
||||||
| number
|
| number
|
||||||
| boolean
|
| boolean
|
||||||
|
| null
|
||||||
| undefined;
|
| undefined;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Vendored
-1
@@ -1,7 +1,6 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
skip:
|
||||||
- Go
|
- Go
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
include-source: false # Drop file/line/col from output
|
include-source: false # Drop file/line/col from output
|
||||||
skip:
|
|
||||||
- TypeScript
|
|
||||||
---
|
---
|
||||||
on: push
|
on: push
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user