Update Flow to 0.265 (#34270)

Looks like this version removed `Object.prototype` although I didn't see
that in the changelog. This is fine for this code here.
This commit is contained in:
Jan Kassens
2025-08-22 15:22:22 -04:00
committed by GitHub
parent 425ba0ad6d
commit d260b0d8b8
8 changed files with 22 additions and 176 deletions

View File

@@ -3236,7 +3236,7 @@ declare module 'util' {
declare class TextDecoder {
constructor(
encoding?: string,
options: {
options?: {
fatal?: boolean,
ignoreBOM?: boolean,
...
@@ -3253,8 +3253,12 @@ declare module 'util' {
declare class TextEncoder {
constructor(): void;
encode(input?: string): Uint8Array;
encoding: string;
encode(input: string): Uint8Array;
encodeInto(
input: string,
buffer: Uint8Array
): {written: number, read: number};
encoding: 'utf-8';
}
declare var types: {