@@ -225,7 +225,7 @@ describe('function createDataType', () => {
225
225
}
226
226
)
227
227
expectTypeOf ( dataType ) . toEqualTypeOf < {
228
- is :( value : unknown , path : Path ) => value is string
228
+ is :( value : unknown , path : Path ) => boolean
229
229
Component : ComponentType < DataItemProps < string > >
230
230
} > ( )
231
231
expectTypeOf ( dataType . is ) . returns . toBeBoolean ( )
@@ -248,7 +248,7 @@ describe('function createDataType', () => {
248
248
}
249
249
)
250
250
expectTypeOf ( dataType ) . toEqualTypeOf < {
251
- is :( value : unknown , path : Path ) => value is string
251
+ is :( value : unknown , path : Path ) => boolean
252
252
Component : ComponentType < DataItemProps < string > >
253
253
Editor : ComponentType < DataItemProps < string > >
254
254
} > ( )
@@ -278,7 +278,7 @@ describe('function createDataType', () => {
278
278
}
279
279
)
280
280
expectTypeOf ( dataType ) . toEqualTypeOf < {
281
- is :( value : unknown , path : Path ) => value is string
281
+ is :( value : unknown , path : Path ) => boolean
282
282
Component : ComponentType < DataItemProps < string > >
283
283
PreComponent : ComponentType < DataItemProps < string > >
284
284
PostComponent : ComponentType < DataItemProps < string > >
@@ -314,7 +314,7 @@ describe('function createDataType', () => {
314
314
}
315
315
)
316
316
expectTypeOf ( dataType ) . toEqualTypeOf < {
317
- is :( value : unknown , path : Path ) => value is string
317
+ is :( value : unknown , path : Path ) => boolean
318
318
Component : ComponentType < DataItemProps < string > >
319
319
Editor : ComponentType < DataItemProps < string > >
320
320
PreComponent : ComponentType < DataItemProps < string > >
0 commit comments