File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import type {
1717 MutableSource ,
1818 StartTransitionOptions ,
1919 Wakeable ,
20- Usable ,
2120} from 'shared/ReactTypes' ;
2221import type { SuspenseInstance } from './ReactFiberHostConfig' ;
2322import type { WorkTag } from './ReactWorkTags' ;
@@ -356,7 +355,6 @@ type BasicStateAction<S> = (S => S) | S;
356355type Dispatch < A > = A => void ;
357356
358357export type Dispatcher = { |
359- use ?: < T > (Usable< T > ) => T ,
360358 getCacheSignal ?: ( ) => AbortSignal ,
361359 getCacheForType ?: < T > (resourceType: () => T ) => T ,
362360 readContext < T > ( context : ReactContext < T > ) : T ,
Original file line number Diff line number Diff line change @@ -189,6 +189,3 @@ export type OffscreenMode =
189189export type StartTransitionOptions = {
190190 name ?: string ,
191191} ;
192-
193- // TODO: Add Context support
194- export type Usable < T > = Thenable < T > ;
You can’t perform that action at this time.
0 commit comments