Skip to content

Commit d9e66f4

Browse files
committed
feat: update boolean literal values to use actual boolean types
1 parent d82ecdc commit d9e66f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/util/values.util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const getValues = (type: ts.Type): LiteralValue[] => {
5050
if ((type as any).intrinsicName === "true") {
5151
return [
5252
{
53-
value: "true",
53+
value: true,
5454
__typename: "LiteralValue",
5555
},
5656
];
@@ -60,7 +60,7 @@ export const getValues = (type: ts.Type): LiteralValue[] => {
6060
if ((type as any).intrinsicName === "false") {
6161
return [
6262
{
63-
value: "false",
63+
value: false,
6464
__typename: "LiteralValue",
6565
},
6666
];

0 commit comments

Comments
 (0)