start implememting crate loading

This commit is contained in:
nora 2023-07-31 18:03:26 +02:00
parent a0599342ea
commit b3b0bc2e6f
12 changed files with 249 additions and 165 deletions

View file

@ -3,7 +3,7 @@ export function encodeUtf8(s: string): Uint8Array {
}
export class Ids {
nextId = 0;
private nextId = 0;
public next(): number {
return this.nextId++;