🚀 feat(index.d.ts): add api(), project(), and collection() methods to global declaration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit adds three new methods to the global declaration file: api(), project(), and collection(). These methods return an object with any key-value pairs, allowing for more flexibility in the codebase.
This commit is contained in:
parent
65626872e3
commit
c0c3b2b593
12
index.d.ts
vendored
12
index.d.ts
vendored
@ -632,6 +632,18 @@ declare global {
|
||||
bodyBytes(): string
|
||||
}
|
||||
|
||||
api(): {
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
project(): {
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
collection(): {
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
db: DbPackage
|
||||
smtp: SmtpPackage
|
||||
fs: FsPackage
|
||||
|
Loading…
Reference in New Issue
Block a user