@@ -66,6 +66,7 @@ describe('Type System: Specified scalar types', () => {
66
66
67
67
it ( 'parseConstLiteral' , ( ) => {
68
68
function parseConstLiteral ( str : string ) {
69
+ /* @ts -expect-error to be removed in v18 when all custom scalars will have default method */
69
70
return GraphQLInt . parseConstLiteral ( parseConstValue ( str ) ) ;
70
71
}
71
72
@@ -228,6 +229,7 @@ describe('Type System: Specified scalar types', () => {
228
229
229
230
it ( 'parseConstLiteral' , ( ) => {
230
231
function parseConstLiteral ( str : string ) {
232
+ /* @ts -expect-error to be removed in v18 when all custom scalars will have default method */
231
233
return GraphQLFloat . parseConstLiteral ( parseConstValue ( str ) ) ;
232
234
}
233
235
@@ -338,6 +340,7 @@ describe('Type System: Specified scalar types', () => {
338
340
339
341
it ( 'parseConstLiteral' , ( ) => {
340
342
function parseConstLiteral ( str : string ) {
343
+ /* @ts -expect-error to be removed in v18 when all custom scalars will have default method */
341
344
return GraphQLString . parseConstLiteral ( parseConstValue ( str ) ) ;
342
345
}
343
346
@@ -447,6 +450,7 @@ describe('Type System: Specified scalar types', () => {
447
450
448
451
it ( 'parseConstLiteral' , ( ) => {
449
452
function parseConstLiteral ( str : string ) {
453
+ /* @ts -expect-error to be removed in v18 when all custom scalars will have default method */
450
454
return GraphQLBoolean . parseConstLiteral ( parseConstValue ( str ) ) ;
451
455
}
452
456
@@ -559,6 +563,7 @@ describe('Type System: Specified scalar types', () => {
559
563
560
564
it ( 'parseConstLiteral' , ( ) => {
561
565
function parseConstLiteral ( str : string ) {
566
+ /* @ts -expect-error to be removed in v18 when all custom scalars will have default method */
562
567
return GraphQLID . parseConstLiteral ( parseConstValue ( str ) ) ;
563
568
}
564
569
0 commit comments