mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-06-21 09:23:58 +00:00
Use stricter typings
Change-type: patch
This commit is contained in:
@ -124,7 +124,7 @@ export default class DeviceInitCmd extends Command {
|
||||
const balena = getBalenaSdk();
|
||||
|
||||
// Get application and
|
||||
const application = (await getApplication(
|
||||
const application = await getApplication(
|
||||
balena,
|
||||
options.fleet ||
|
||||
(
|
||||
@ -137,7 +137,7 @@ export default class DeviceInitCmd extends Command {
|
||||
},
|
||||
},
|
||||
},
|
||||
)) as ApplicationWithDeviceType;
|
||||
);
|
||||
|
||||
// Register new device
|
||||
const deviceUuid = balena.models.device.generateUniqueKey();
|
||||
|
Reference in New Issue
Block a user