Skip to content

Commit

Permalink
Delete unreferenced type (facebook#21343)
Browse files Browse the repository at this point in the history
Had already deleted all the uses but didn't remove the type itself.
  • Loading branch information
acdlite authored and koto committed Jun 15, 2021
1 parent 4e1e208 commit 3143a3d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
19 changes: 0 additions & 19 deletions packages/react-reconciler/src/ReactFiberLane.new.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,6 @@ import type {FiberRoot} from './ReactInternalTypes';

// TODO: Ideally these types would be opaque but that doesn't work well with
// our reconciler fork infra, since these leak into non-reconciler packages.
export type LanePriority =
| 0
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 10
| 11
| 12
| 13
| 14
| 15
| 16
| 17;

export type Lanes = number;
export type Lane = number;
Expand Down
19 changes: 0 additions & 19 deletions packages/react-reconciler/src/ReactFiberLane.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,6 @@ import type {FiberRoot} from './ReactInternalTypes';

// TODO: Ideally these types would be opaque but that doesn't work well with
// our reconciler fork infra, since these leak into non-reconciler packages.
export type LanePriority =
| 0
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 10
| 11
| 12
| 13
| 14
| 15
| 16
| 17;

export type Lanes = number;
export type Lane = number;
Expand Down

0 comments on commit 3143a3d

Please sign in to comment.