@@ -1,8 +1,15 @@
|
||||
import { signin } from "@shared/utils/routeHelpers";
|
||||
import { requireDirectory } from "@server/utils/fs";
|
||||
|
||||
// @ts-expect-error ts-migrate(7034) FIXME: Variable 'providers' implicitly has type 'any[]' i... Remove this comment to see the full error message
|
||||
const providers = [];
|
||||
interface AuthenicationProvider {
|
||||
id: string;
|
||||
name: string;
|
||||
enabled: boolean;
|
||||
authUrl: string;
|
||||
router: any;
|
||||
}
|
||||
|
||||
const providers: AuthenicationProvider[] = [];
|
||||
|
||||
requireDirectory(__dirname).forEach(([module, id]) => {
|
||||
// @ts-expect-error ts-migrate(2339) FIXME: Property 'config' does not exist on type 'unknown'... Remove this comment to see the full error message
|
||||
@@ -35,5 +42,4 @@ requireDirectory(__dirname).forEach(([module, id]) => {
|
||||
}
|
||||
});
|
||||
|
||||
// @ts-expect-error ts-migrate(7005) FIXME: Variable 'providers' implicitly has an 'any[]' typ... Remove this comment to see the full error message
|
||||
export default providers;
|
||||
|
||||
Reference in New Issue
Block a user