You have configured eslint to print warnings for use of any. You fix it by replacing any with a valid type. I assume you meant to use AuthenticationResult. See ts example:
.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm having some success in incorporating this authentication code (https://github.com/Azure-Samples/ms-identity-javascript-react-tutorial/tree/main/1-Authentication/1-sign-in) into https://github.com/Azure-Samples/todo-csharp-sql-swa-func/tree/main/src/web/src.
I can now sign in and authenticate. However, I'm having some troubles with my code review because I'm getting warnings on account of the fact that I'm copying javascript code from jsx files to tsx files.
const account = (event.payload as any).account;
and this works except for the warning "Unexpected any. Specify a different type @typescript-eslint/no-explicit-any"
Thanks!
Siegfried
You have configured eslint to print warnings for use of any. You fix it by replacing any with a valid type. I assume you meant to use AuthenticationResult. See ts example:
.