mirror of
https://github.com/acid-info/logos-press-engine.git
synced 2025-02-21 13:48:26 +00:00
refactor: update fathom types
This commit is contained in:
parent
bbd8ef2ede
commit
030239dd52
11
src/index.d.ts
vendored
11
src/index.d.ts
vendored
@ -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"]
|
||||
}
|
||||
|
8
types/fathom.d.ts
vendored
8
types/fathom.d.ts
vendored
@ -1,8 +0,0 @@
|
||||
interface Fathom {
|
||||
(command: string, ...args: any[]): void
|
||||
q?: Array<any>
|
||||
}
|
||||
|
||||
interface Window {
|
||||
fathom?: Fathom
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user