mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
refactor: eslint and prettier conflict will be resolved and formatted
This commit is contained in:
Vendored
+12
-12
@@ -1,20 +1,20 @@
|
||||
import { type DefaultSession } from 'next-auth';
|
||||
|
||||
declare module 'next-auth' {
|
||||
interface Session {
|
||||
user: {
|
||||
id: string;
|
||||
isAdmin: boolean;
|
||||
} & DefaultSession['user'];
|
||||
}
|
||||
interface Session {
|
||||
user: {
|
||||
id: string;
|
||||
isAdmin: boolean;
|
||||
} & DefaultSession['user'];
|
||||
}
|
||||
|
||||
interface User {
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
interface User {
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'next-auth/jwt' {
|
||||
interface JWT {
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
interface JWT {
|
||||
isAdmin?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+2
-5
@@ -7,11 +7,8 @@ interface Window {
|
||||
|
||||
declare namespace YT {
|
||||
class Player {
|
||||
constructor(
|
||||
elementId: string | HTMLElement | null,
|
||||
options?: PlayerOptions
|
||||
);
|
||||
|
||||
constructor(elementId: string | HTMLElement | null, options?: PlayerOptions);
|
||||
|
||||
playVideo(): void;
|
||||
pauseVideo(): void;
|
||||
stopVideo(): void;
|
||||
|
||||
Reference in New Issue
Block a user