docs(jsdoc): fix async return and param annotations

This commit is contained in:
2026-02-08 11:53:53 +01:00
parent 6c5b628c70
commit 97f6599056
2 changed files with 6 additions and 2 deletions

View File

@@ -9,6 +9,10 @@ const AZURE_DEVOPS_SCOPES = ["https://app.vssps.visualstudio.com/.default"];
/**
* Get Azure DevOps API token.
*
* @param { string } tenantId - The Azure AD tenant ID
* @param { string } clientId - The Azure AD client ID
* @returns { Promise<string> } Azure DevOps API access token
*/
export async function getDevOpsApiToken(tenantId, clientId) {
@@ -33,7 +37,7 @@ export async function getDevOpsApiToken(tenantId, clientId) {
* @param { string } orgUrl - The Azure DevOps organization URL
* @param { string } tenantId - The Azure AD tenant ID
* @param { string } clientId - The Azure AD client ID
* @returns
* @returns { Promise<{ coreClient: Object, gitClient: Object }> }
*/
export async function getDevOpsClients(orgUrl, tenantId, clientId) {