import { writable } from "svelte/store";
import defaultCode from "./defaultCode.ts?raw";
import TS from "typescript";

/** the transpiled JavaScript code */
export const code = writable(TS.transpile(defaultCode, {strict: true}));