Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelChanZhiYang committed Apr 22, 2024
1 parent 2d4e454 commit 4d5b9f4
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export type ColorSensorControllers = Record<ColorSensorNames, ColorSensor>;
export const ultrasonicSensorNames = ['ultrasonicSensor'] as const;
export type UltrasonicSensorNames = (typeof ultrasonicSensorNames)[number];
export type UltrasonicSensorControllers = Record<
UltrasonicSensorNames,
UltrasonicSensor
UltrasonicSensorNames,
UltrasonicSensor
>;

// Aggregate
Expand All @@ -55,13 +55,7 @@ export const controllerNames = [
...ultrasonicSensorNames,
] as const;
export type DefaultEv3ControllerNames = (typeof controllerNames)[number];
export type DefaultEv3Controller = WheelControllers &
MotorControllers &
ColorSensorControllers &
UltrasonicSensorControllers &
ChassisControllers &
MeshControllers;

export type DefaultEv3Controller = ChassisControllers & ColorSensorControllers & MeshControllers & MotorControllers & UltrasonicSensorControllers & WheelControllers;

// ######################### Config Types #########################
export type Ev3ChassisConfig = ChassisWrapperConfig;
Expand Down

0 comments on commit 4d5b9f4

Please sign in to comment.