mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
Merge pull request #22245 from samouss/fix/chrome-implicit-any
fix(chrome): avoid implicit any on getDirectoryDeviceId
This commit is contained in:
Vendored
+4
-2
@@ -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;
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
Reference in New Issue
Block a user