1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 04:52:26 -05:00
This commit is contained in:
Marvin Hagemeister 2025-01-04 00:42:32 +01:00
parent 695854ed0d
commit da167b81f2

View file

@ -517,8 +517,8 @@ impl TsEsTreeBuilder {
init: Option<NodeRef>,
) -> NodeRef {
self.ctx.begin_write(&offset);
self.ctx.ref_field(id);
self.ctx.ref_maybe_field(init);
self.ctx.write_ref(id);
self.ctx.write_maybe_ref(init);
offset
}