Merge pull request #22245 from samouss/fix/chrome-implicit-any

fix(chrome): avoid implicit any on getDirectoryDeviceId
This commit is contained in:
Paul van Brenk
2017-12-27 15:43:52 -08:00
committed by GitHub
+4 -2
View File
@@ -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;
}
////////////////////