diff options
author | Christian Dürr <102963075+cd-work@users.noreply.github.com> | 2022-10-15 21:19:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 23:19:03 +0200 |
commit | 6d2656fd56e8ac0f1b1443e28d474bf3ceca89bb (patch) | |
tree | 394b01a0fcf33fb684c7048528d02a2f9b3dd0cb /cli/lsp/tsc.rs | |
parent | 872dc9b1df1dec5466970f085875e50b9436e967 (diff) |
refactor: Add default implementation for WorkerOptions (#14860)
This adds an implementation of `Default` for both `WorkerOptions` and
`BootstrapOptions`. Since both of these structs are rather big, this
should make it easier for people unfamiliar with the internals to focus
on the options relevant to them.
As a user of `deno_runtime` I feel like these should serve as good
defaults, getting people them started without having to tweak the
runtime. Additionally even if some changes are made, the usage of
`..Default::default()` will significantly help with code clarity and
verbosity.
Diffstat (limited to 'cli/lsp/tsc.rs')
0 files changed, 0 insertions, 0 deletions