The input must be ES module-shaped JavaScript or TypeScript that has
already been type-stripped (the host's sandbox transpiler runs first
in the promote flow). Passing TypeScript with annotations may produce
parse errors; callers should strip types first or accept the partial
result.
Infer the capability set required by a script.
The input must be ES module-shaped JavaScript or TypeScript that has already been type-stripped (the host's sandbox transpiler runs first in the promote flow). Passing TypeScript with annotations may produce parse errors; callers should strip types first or accept the partial result.