From c079326a78fe4e79f5fb6c9463864f805a2094e3 Mon Sep 17 00:00:00 2001 From: Vaillant Samuel Date: Sat, 16 Dec 2017 15:10:45 +0100 Subject: [PATCH] fix(chrome): avoid implicit any on getDirectoryDeviceId --- types/chrome/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts index 9946c79c38..69abf9896d 100644 --- a/types/chrome/index.d.ts +++ b/types/chrome/index.d.ts @@ -2316,9 +2316,11 @@ declare namespace chrome.enterprise.deviceAttributes { /** * @description Fetches the value of the device identifier of the directory API, that is generated by the server and identifies the cloud record of the device for querying in the cloud directory API. * @export - * @param {(deviceId) => void} callback Called with the device identifier of the directory API when received. + * @param callback Called with the device identifier of the directory API when received. + * The callback parameter should be a function that looks like this: + * function(string deviceId) {...}; */ - export function getDirectoryDeviceId(callback: (deviceId) => void): void; + export function getDirectoryDeviceId(callback: (deviceId: string) => void): void; } ////////////////////