We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
any
unknown
1 parent 1fab3ad commit 3dcec5fCopy full SHA for 3dcec5f
client/utils/dispatcher.ts
@@ -25,7 +25,7 @@ export enum MessageTypes {
25
*/
26
export interface Message {
27
type: MessageTypes;
28
- payload?: any;
+ payload?: unknown;
29
}
30
31
let listener: ((message: Message) => void) | null = null;
server/routes/passport.routes.ts
@@ -11,7 +11,7 @@ const authenticateOAuth = (service: string) => (
11
passport.authenticate(
12
service,
13
{ failureRedirect: '/login' },
14
- (err: any, user: any) => {
+ (err: unknown, user: unknown) => {
15
if (err) {
16
// use query string param to show error;
17
res.redirect(`/account?error=${service}`);
0 commit comments