refactor(client): allow TS worker to initialize itself and have the client check readiness (#57055)

This commit is contained in:
Oliver Eyton-Williams
2024-11-11 17:18:16 +01:00
committed by GitHub
parent e32c3d9a11
commit c7936b44b9
9 changed files with 44 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
// TODO: this is a straight up copy of the format function from the client.
// Figure out a way to share it.
import { inspect } from 'util/util';
import { inspect } from 'util/util.js';
export function format(x) {
// we're trying to mimic console.log, so we avoid wrapping strings in quotes: