D
Deno
Z
Deno
β’
4y ago
β’
8 replies
Zabi
module augmentation
Suppose
module.ts
module.ts
is some external module that I have no control of
.
In my file
test.ts
test.ts
I want to change the type
UserEnv
UserEnv
of the external module
.
How can I do this or does Deno just not support this and you basically need to use node to do this
?
Note
: This is a simple example where I could technically use generics
, but you cannot do that with bigger stuff
.
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Module loading
F
Fridious / help
3y ago
Include d.ts only module with global module
H
hiyayakk0 / help
2y ago
local npm module
D
DonTheDude / help
2y ago
Cannot find module
O
Olyno / help
3y ago