More build fixes
This commit is contained in:
parent
8fabcbaba2
commit
67b9b3e20a
11 changed files with 34 additions and 53 deletions
|
|
@ -1,7 +1,6 @@
|
|||
/* eslint-disable unicorn/no-null */
|
||||
import * as Joi from "joi";
|
||||
import * as Hapi from "@hapi/hapi";
|
||||
import { NextAuthPluginOptions } from "./types";
|
||||
import { ResponseToolkit, ResponseObject } from "@hapi/hapi";
|
||||
|
||||
export interface LinkAccountPayload {
|
||||
|
|
@ -14,9 +13,9 @@ export interface LinkAccountPayload {
|
|||
accessTokenExpires?: null;
|
||||
}
|
||||
|
||||
export const register = async <TUser, TProfile, TSession>(
|
||||
export const register = async <TUser, TProfile>(
|
||||
server: Hapi.Server,
|
||||
opts: NextAuthPluginOptions<TUser, TProfile, TSession>,
|
||||
opts: any,
|
||||
auth?: string
|
||||
): Promise<void> => {
|
||||
const { tags, basePath, validators } = opts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue