Skip to content

Commit ed36d2d

Browse files
author
Poorshad
committed
use explicit type
1 parent 05e2a45 commit ed36d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/types/schema.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ function pluginOptions() {
770770
}
771771

772772
const schema = new Schema({});
773-
expectType<typeof schema>(schema.plugin(pluginFunction)); // test that chaining would be possible
773+
expectType<Schema<any>>(schema.plugin(pluginFunction)); // test that chaining would be possible
774774

775775
// could not add strict tests that the parameters are inferred correctly, because i dont know how this would be done in tsd
776776

0 commit comments

Comments
 (0)