Add types file
This commit is contained in:
parent
f6f5f26734
commit
da3db67aa6
1 changed files with 9 additions and 0 deletions
9
src/types.d.ts
vendored
Normal file
9
src/types.d.ts
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
import type {NetContext} from "@welshman/net"
|
||||||
|
import type {AppContext} from "@welshman/app"
|
||||||
|
|
||||||
|
declare module "@welshman/lib" {
|
||||||
|
interface Context {
|
||||||
|
net: NetContext
|
||||||
|
app: AppContext
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue