Fix wasm TS types

This commit is contained in:
Jonathan Tran
2024-10-28 16:25:37 -04:00
parent 3eebd36a41
commit 054e235362

View File

@ -494,13 +494,13 @@ export function lexer(str: string): Token[] | Error {
export const modifyAstForSketch = async (
engineCommandManager: EngineCommandManager,
ast: Program,
ast: UnboxedNode<Program>,
variableName: string,
currentPlane: string,
engineId: string
): Promise<Program> => {
): Promise<UnboxedNode<Program>> => {
try {
const updatedAst: Program = await modify_ast_for_sketch_wasm(
const updatedAst: UnboxedNode<Program> = await modify_ast_for_sketch_wasm(
engineCommandManager,
JSON.stringify(ast),
variableName,