[oden] IO: Load Strings
It's useful. The stock JS way is bad.
This commit is contained in:
parent
89045ccbcc
commit
17c701a7d6
4 changed files with 42 additions and 3 deletions
2
types/io-core.d.ts
vendored
2
types/io-core.d.ts
vendored
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue