Ducko
Ducko2y ago

modifying the Deno object

heyo. is there any way to add our own properties to the Deno object? I read something which said since v1.12 it's no longer frozen but looks like that is no longer the case. wanting to add my own version to Deno.version. thanks!
1 Reply
Ducko
Ducko2y ago
found how you have to do
Deno.version = {
...Deno.version,
custom: 'property'
};
Deno.version = {
...Deno.version,
custom: 'property'
};