Skip to content

Commit

Permalink
Add types to logging callback function (#7333)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Norling <[email protected]>
  • Loading branch information
bvwidt and tnorling authored Oct 10, 2024
1 parent deca3c8 commit 63da4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msal-angular/docs/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can enable logging in your app as shown below:
```js
import { LogLevel, PublicClientApplication } from '@azure/msal-browser';

export function loggerCallback(logLevel, message) {
export function loggerCallback(logLevel: LogLevel, message: string) {
console.log(message);
}

Expand Down

0 comments on commit 63da4e5

Please sign in to comment.