Skip to content

Commit

Permalink
Add type annotation to public API
Browse files Browse the repository at this point in the history
- Workaround for microsoft/rushstack#1050
  • Loading branch information
mikeharder committed May 27, 2020
1 parent 8c53273 commit 88b0e0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion sdk/identity/identity/review/identity.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```ts

import { AccessToken } from '@azure/core-http';
import { AzureLogger } from '@azure/logger';
import { GetTokenOptions } from '@azure/core-http';
import { PipelineOptions } from '@azure/core-http';
import { TokenCredential } from '@azure/core-http';
Expand Down Expand Up @@ -128,7 +129,7 @@ export enum KnownAuthorityHosts {
}

// @public
export const logger: import("@azure/logger").AzureLogger;
export const logger: AzureLogger;

// @public
export class ManagedIdentityCredential implements TokenCredential {
Expand Down
4 changes: 2 additions & 2 deletions sdk/identity/identity/src/util/logging.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { createClientLogger } from "@azure/logger";
import { createClientLogger, AzureLogger } from "@azure/logger";

/**
* The AzureLogger used for all clients within the identity package
*/
export const logger = createClientLogger("identity");
export const logger: AzureLogger = createClientLogger("identity");

0 comments on commit 88b0e0e

Please sign in to comment.