File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 6363 "eslint-plugin-react-internal" : " link:./scripts/eslint-rules" ,
6464 "fbjs-scripts" : " ^3.0.1" ,
6565 "filesize" : " ^6.0.1" ,
66- "flow-bin" : " ^0.233 .0" ,
67- "flow-remove-types" : " ^2.233 .0" ,
66+ "flow-bin" : " ^0.234 .0" ,
67+ "flow-remove-types" : " ^2.234 .0" ,
6868 "glob" : " ^7.1.6" ,
6969 "glob-stream" : " ^6.1.0" ,
7070 "google-closure-compiler" : " ^20230206.0.0" ,
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ export function trackUsedThenable<T>(
214214 }
215215
216216 // Check one more time in case the thenable resolved synchronously.
217- switch ( thenable . status ) {
217+ switch ( ( thenable as Thenable < T > ) . status ) {
218218 case 'fulfilled ': {
219219 const fulfilledThenable : FulfilledThenable < T > = ( thenable : any ) ;
220220 return fulfilledThenable . value ;
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export function trackUsedThenable<T>(
107107 }
108108
109109 // Check one more time in case the thenable resolved synchronously
110- switch ( thenable . status ) {
110+ switch ( ( thenable as Thenable < T > ) .status) {
111111 case 'fulfilled' : {
112112 const fulfilledThenable : FulfilledThenable < T > = ( thenable : any ) ;
113113 return fulfilledThenable . value ;
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export function trackUsedThenable<T>(
107107 }
108108
109109 // Check one more time in case the thenable resolved synchronously
110- switch ( thenable . status ) {
110+ switch ( ( thenable as Thenable < T > ) .status) {
111111 case 'fulfilled' : {
112112 const fulfilledThenable : FulfilledThenable < T > = ( thenable : any ) ;
113113 return fulfilledThenable . value ;
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ function resolveThenable<T>(thenable: Thenable<T>): T {
127127 }
128128
129129 // Check one more time in case the thenable resolved synchronously.
130- switch ( thenable . status ) {
130+ switch ( ( thenable as Thenable < T > ) .status) {
131131 case 'fulfilled' : {
132132 const fulfilledThenable : FulfilledThenable < T > = ( thenable : any ) ;
133133 return fulfilledThenable . value ;
Original file line number Diff line number Diff line change @@ -61,15 +61,15 @@ function lazyInitializer<T>(payload: Payload<T>): T {
6161 // end up fixing it if the resolution was a concurrency bug.
6262 thenable . then (
6363 moduleObject => {
64- if ( payload . _status === Pending || payload . _status === Uninitialized ) {
64+ if ( ( payload as Payload < T > ) . _status === Pending || payload . _status === Uninitialized ) {
6565 // Transition to the next state.
6666 const resolved : ResolvedPayload < T > = (payload: any);
6767 resolved._status = Resolved;
6868 resolved._result = moduleObject;
6969 }
7070 } ,
7171 error => {
72- if ( payload . _status === Pending || payload . _status === Uninitialized ) {
72+ if ( ( payload as Payload < T > ) . _status === Pending || payload . _status === Uninitialized ) {
7373 // Transition to the next state.
7474 const rejected : RejectedPayload = ( payload : any ) ;
7575 rejected . _status = Rejected ;
Original file line number Diff line number Diff line change @@ -8321,12 +8321,12 @@ flatted@^3.2.9:
83218321 resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
83228322 integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
83238323
8324- flow-bin@^0.233 .0:
8325- version "0.233 .0"
8326- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.233 .0.tgz#e31951c81d3ec590e1cbfd96e540f6dd2459554c "
8327- integrity sha512-BInTgW8v6xdWzVcItgKKUYCacheMw78Xrrn0Ziii5lN+vf/RKmvVX9mFHuOSN1zawZuq7GpqmT6oIS/oQuOAQg ==
8324+ flow-bin@^0.234 .0:
8325+ version "0.234 .0"
8326+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.234 .0.tgz#17dfc5aac1d928b6d7194f93bd0bf742d735c77d "
8327+ integrity sha512-uLmvfFRW6yEcz2wSJ2H6192RwknBpzAHBezDcXzmxJASxB6QzjKadhPxZvsJ74uJ+9Th1hDNuRB4mGrVUeneyA ==
83288328
8329- flow-remove-types@^2.233 .0:
8329+ flow-remove-types@^2.234 .0:
83308330 version "2.238.2"
83318331 resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-2.238.2.tgz#85c9d26e83ba395f0206a23bce438223bc035609"
83328332 integrity sha512-WJXRomjPiZ34nG14y7AceoPxg1L00FxjPSA3TDBTG2OPt8QFNtiYEmO4/3WG58n3C4wjxyVuoE6KjxQIvCDyjw==
You can’t perform that action at this time.
0 commit comments