Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: inherit encoding type from Plugin for text parsing option #341

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: inherit encoding type from Plugin for text parsing option
  • Loading branch information
liamc-altruistiq committed Apr 3, 2024
commit 556b7e365194a25f12149ba398bd875b31ee57c0
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
@@ -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;
};

Loading