Skip to content

Commit e9a166c

Browse files
committed
Fix a type import
1 parent 0c119a0 commit e9a166c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/robot/robot.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import type { Struct } from '@bufbuild/protobuf';
22
import { MachineConnectionEvent } from '../events';
33
import type { PoseInFrame, Transform } from '../gen/common/v1/common_pb';
4-
import type proto from '../gen/robot/v1/robot_pb';
4+
import * as proto from '../gen/robot/v1/robot_pb';
55
import type { ResourceName } from '../types';
6-
import type { ModuleModel } from '../gen/robot/v1/robot_pb';
76

87
export type CloudMetadata = proto.GetCloudMetadataResponse;
98

@@ -151,7 +150,7 @@ export interface Robot {
151150
* @group Resources
152151
* @alpha
153152
*/
154-
getModelsFromModules(): Promise<ModuleModel[]>;
153+
getModelsFromModules(): Promise<proto.ModuleModel[]>;
155154

156155
/**
157156
* Get a list of all resources on the machine.

0 commit comments

Comments
 (0)