Merge branch 'rm-type-roots' into 'main'
tsconfig: remove typeRoots See merge request soapbox-pub/soapbox!3218
This commit is contained in:
commit
1abb3113ec
|
@ -0,0 +1,13 @@
|
|||
import type { NostrSigner } from '@nostrify/nostrify';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
nostr?: NostrSigner;
|
||||
}
|
||||
|
||||
// FIXME: Remove this definition if the fix is merged upstream.
|
||||
// https://github.com/egoist/vite-plugin-compile-time/pull/26
|
||||
interface ImportMeta {
|
||||
compileTime: <T>(id: string) => T;
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
import type { NostrSigner } from '@nostrify/nostrify';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
nostr?: NostrSigner;
|
||||
}
|
||||
}
|
|
@ -16,14 +16,8 @@
|
|||
"paths": {
|
||||
"soapbox/*": ["src/*"],
|
||||
},
|
||||
"typeRoots": [
|
||||
"./src/types",
|
||||
"./node_modules/@types",
|
||||
"./node_modules"
|
||||
],
|
||||
"types": [
|
||||
"vite/client",
|
||||
"vite-plugin-compile-time/client",
|
||||
"@webbtc/webln-types"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue