kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
tsconfig: remove typeRoots
rodzic
2dbda40969
commit
7f007eb612
|
@ -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": {
|
"paths": {
|
||||||
"soapbox/*": ["src/*"],
|
"soapbox/*": ["src/*"],
|
||||||
},
|
},
|
||||||
"typeRoots": [
|
|
||||||
"./src/types",
|
|
||||||
"./node_modules/@types",
|
|
||||||
"./node_modules"
|
|
||||||
],
|
|
||||||
"types": [
|
"types": [
|
||||||
"vite/client",
|
"vite/client",
|
||||||
"vite-plugin-compile-time/client",
|
|
||||||
"@webbtc/webln-types"
|
"@webbtc/webln-types"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue