[oden] IO: Load Strings

It's useful. The stock JS way is bad.
This commit is contained in:
John Doty 2023-07-08 17:55:37 -07:00
parent 89045ccbcc
commit 17c701a7d6
4 changed files with 42 additions and 3 deletions

2
types/io-core.d.ts vendored
View file

@ -1,3 +1,5 @@
// These are the functions exposed by the native IO module.
//
export function load(path: string): Promise<ArrayBuffer>;
export function load_string(path: string): Promise<string>;