refactor: update fathom types
This commit is contained in:
parent
bbd8ef2ede
commit
030239dd52
|
@ -11,3 +11,14 @@ declare module 'next' {
|
|||
getLayout?: (page: React.ReactNode) => any
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Fathom {
|
||||
(command: string, ...args: any[]): void
|
||||
q?: Array<any>
|
||||
}
|
||||
|
||||
interface Window {
|
||||
fathom?: Fathom
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "./types"],
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
interface Fathom {
|
||||
(command: string, ...args: any[]): void
|
||||
q?: Array<any>
|
||||
}
|
||||
|
||||
interface Window {
|
||||
fathom?: Fathom
|
||||
}
|
Loading…
Reference in New Issue