Skip to content

Commit

Permalink
fix(templates): error by newer typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Oct 31, 2023
1 parent c8f103f commit b0c6104
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/templates/node.js-compiler-next/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import * as _1 from '@myriaddreamin/typst-ts-renderer';
import * as _2 from '@myriaddreamin/typst-ts-web-compiler';

import { createTypstCompiler, createTypstRenderer } from '@myriaddreamin/typst.ts';
import {
createTypstCompiler,
createTypstRenderer,
} from '@myriaddreamin/typst.ts/dist/cjs/index.cjs';
import { cachedFontInitOptions } from './cached-font-middleware';

async function main() {
Expand Down

0 comments on commit b0c6104

Please sign in to comment.