mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
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:
10
flow-typed/environments/node.js
vendored
10
flow-typed/environments/node.js
vendored
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user