Skip to content

Commit ff07bb0

Browse files
committed
fix: use never instead of unknown for ambiguous types to maintain compat with JSON
1 parent 20baee3 commit ff07bb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/process-schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function schemaToType(
6161
return {
6262
name,
6363
hasQuestionToken,
64-
type: 'unknown',
64+
type: 'never',
6565
docs: [
6666
{
6767
description: `WARN: $ref used before available - ${schemaObject.$ref}`,

0 commit comments

Comments
 (0)