Skip to content

Commit

Permalink
chore: inherit encoding type from Plugin for text parsing option
Browse files Browse the repository at this point in the history
  • Loading branch information
liamc-altruistiq committed Apr 3, 2024
1 parent 7a8806d commit 556b7e3
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
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 556b7e3

Please sign in to comment.