mirror of
https://codeberg.org/demostf/tf-demos-viewer.git
synced 2026-06-03 18:14:11 +02:00
fix export
This commit is contained in:
parent
b0e7164738
commit
9b0901cdf4
3 changed files with 6 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import {FlatState, XY} from '../pkg/index.d.ts';
|
||||
import {FlatState, XY} from '../pkg/tf_demos_viewer.d.ts';
|
||||
|
||||
export async function parseDemo(bytes: Uint8Array): Promise<ParsedDemo> {
|
||||
let m = await import("../pkg/index.js");
|
||||
let m = await import("../pkg/tf_demos_viewer.js");
|
||||
const state = m.parse_demo(bytes);
|
||||
|
||||
let playerCount = state.player_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue