balena-supervisor/typings/resin-register-device.d.ts
Cameron Diver 01ed7bb103
refactor: Convert ApiBinder module to typescript
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-01-08 11:59:56 +00:00

8 lines
312 B
TypeScript

// Typings (incomplete) for resin-register-device@v3.0.0
// TODO: Upgrade to latest resin-register-device, test,
// and upstream types to the repo
declare module 'resin-register-device' {
export function generateUniqueKey(): string;
export function register(opts: Dictionary<any>): Bluebird<{ id: string }>;
}