Skip to content

Commit d76f98d

Browse files
chore: inherit encoding type from Plugin for text parsing option (#341)
1 parent 7a8806d commit d76f98d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.yarn/install-state.gz

-47 Bytes
Binary file not shown.

lib/options.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export interface $RefParserOptions<S extends object = JSONSchema> {
6363
json?: Plugin | boolean;
6464
yaml?: Plugin | boolean;
6565
binary?: Plugin | boolean;
66-
text?: (Plugin & { encoding?: string }) | boolean;
66+
text?: Plugin | boolean;
6767
[key: string]: Plugin | boolean | undefined;
6868
};
6969

0 commit comments

Comments
 (0)