2 ms·
I didn't actually try it out and I'm not all that familiar with WASM. Here is the typescript I see (stripped of boilerplate comments): export function compile(
by skybrian 4y ago
I didn't actually try it out and I'm not all that familiar with WASM. Here is the typescript I see (stripped of boilerplate comments):
export function compile(s: string): CompileResult;
export class CompileResult {
free(): void;
readonly error: CompileError | undefined;
readonly sql: string | undefined;
}
What is the purpose of the free() method?