mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
Implement ignoreBOM option of UTF8Decoder in text_encoding (#3040)
This commit is contained in:
parent
75eeac03f3
commit
a646c2a885
3 changed files with 60 additions and 5 deletions
2
js/lib.deno_runtime.d.ts
vendored
2
js/lib.deno_runtime.d.ts
vendored
|
@ -2372,7 +2372,7 @@ declare namespace textEncoding {
|
|||
}
|
||||
export interface TextDecoderOptions {
|
||||
fatal?: boolean;
|
||||
ignoreBOM?: false;
|
||||
ignoreBOM?: boolean;
|
||||
}
|
||||
export class TextDecoder {
|
||||
private _encoding;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue