From 0f5ebf366ea4eca2e6c6a652606af3218f12edd6 Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Fri, 23 Apr 2021 17:41:53 -0500 Subject: [PATCH] Delete unreferenced type (#21343) Had already deleted all the uses but didn't remove the type itself. --- .../src/ReactFiberLane.new.js | 19 ------------------- .../src/ReactFiberLane.old.js | 19 ------------------- 2 files changed, 38 deletions(-) diff --git a/packages/react-reconciler/src/ReactFiberLane.new.js b/packages/react-reconciler/src/ReactFiberLane.new.js index 501af9e8b12a7..dbbbc486265b9 100644 --- a/packages/react-reconciler/src/ReactFiberLane.new.js +++ b/packages/react-reconciler/src/ReactFiberLane.new.js @@ -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; diff --git a/packages/react-reconciler/src/ReactFiberLane.old.js b/packages/react-reconciler/src/ReactFiberLane.old.js index 701d4c46cf727..af432cc6fd433 100644 --- a/packages/react-reconciler/src/ReactFiberLane.old.js +++ b/packages/react-reconciler/src/ReactFiberLane.old.js @@ -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;