Delete unreferenced type (#21343)
Had already deleted all the uses but didn't remove the type itself.
Andrew Clark committed
Apr 23, 2021 at 17:41 UTC
0f5ebf366ea4eca2e6c6a652606af3218f12edd6
2 files changed
-38
packages/react-reconciler/src/ReactFiberLane.new.js
-19
@@ -11,25 +11,6 @@ import type {FiberRoot} from './ReactInternalTypes';
11
12
// TODO: Ideally these types would be opaque but that doesn't work well with
13
// our reconciler fork infra, since these leak into non-reconciler packages.
14
-export type LanePriority =
15
- | 0
16
- | 1
17
- | 2
18
- | 3
19
- | 4
20
- | 5
21
- | 6
22
- | 7
23
- | 8
24
- | 9
25
- | 10
26
- | 11
27
- | 12
28
- | 13
29
- | 14
30
- | 15
31
- | 16
32
- | 17;
14
15
export type Lanes = number;
16
export type Lane = number;
packages/react-reconciler/src/ReactFiberLane.old.js
-19
@@ -11,25 +11,6 @@ import type {FiberRoot} from './ReactInternalTypes';
11
12
// TODO: Ideally these types would be opaque but that doesn't work well with
13
// our reconciler fork infra, since these leak into non-reconciler packages.
14
-export type LanePriority =
15
- | 0
16
- | 1
17
- | 2
18
- | 3
19
- | 4
20
- | 5
21
- | 6
22
- | 7
23
- | 8
24
- | 9
25
- | 10
26
- | 11
27
- | 12
28
- | 13
29
- | 14
30
- | 15
31
- | 16
32
- | 17;
14
15
export type Lanes = number;
16
export type Lane = number;