#Types don't seem to work for me.
1 messages · Page 1 of 1 (latest)
Thank you for flagging this! @crude crypt can you assist?
Hi! We are flagging this internally. @umbral wyvern or @radiant kite , any thoughts?
Hello, I will take a look t his afternoon, @stray wharf what ide are you using?
vscode
as you can see in robot.d.ts it's referring to a /robot folder for all the imports, and that folder does not exist
Also while I'm here, it seems the TypeScript library is missing a servo component, is that correct or am I crazy?
Hey Perry,
For the board component, can you confirm that you are importing it?
import {BoardClient} from '@viamrobotics/sdk'
As for servo, we don't have a wrapper yet but you can access servo methods directly from the gRPC protos
Hi Perry, the missing types are indeed a bug on our end - we will fix and push a new version shortly
@stray wharf the update is live - please install @viamrobotics/[email protected] and all of the robot type definitions should be available
Yes, that worked!
I assume this type is wrong:
interface ICEServer {
urls: string;
username: string;
credential: string;
}
cause now I'm getting a type error I wasn't getting before
ugh, yes - pushed too fast. let me verify that all of the examples are still valid and update any interfaces. sorry again for the inconvenience