Skip to content

Commit

Permalink
chore: inherit encoding type from Plugin for text parsing option (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamc-altruistiq committed Apr 7, 2024
1 parent 7a8806d commit d76f98d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface $RefParserOptions<S extends object = JSONSchema> {
json?: Plugin | boolean;
yaml?: Plugin | boolean;
binary?: Plugin | boolean;
text?: (Plugin & { encoding?: string }) | boolean;
text?: Plugin | boolean;
[key: string]: Plugin | boolean | undefined;
};

Expand Down

0 comments on commit d76f98d

Please sign in to comment.