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 {
17
17
MutableSource ,
18
18
StartTransitionOptions ,
19
19
Wakeable ,
20
- Usable ,
21
20
} from 'shared/ReactTypes' ;
22
21
import type { SuspenseInstance } from './ReactFiberHostConfig' ;
23
22
import type { WorkTag } from './ReactWorkTags' ;
@@ -356,7 +355,6 @@ type BasicStateAction<S> = (S => S) | S;
356
355
type Dispatch < A > = A => void ;
357
356
358
357
export type Dispatcher = { |
359
- use ?: < T > (Usable< T > ) => T ,
360
358
getCacheSignal ?: ( ) => AbortSignal ,
361
359
getCacheForType ?: < T > (resourceType: () => T ) => T ,
362
360
readContext < T > ( context : ReactContext < T > ) : T ,
Original file line number Diff line number Diff line change @@ -189,6 +189,3 @@ export type OffscreenMode =
189
189
export type StartTransitionOptions = {
190
190
name ?: string ,
191
191
} ;
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