diff options
Diffstat (limited to 'src/js/layout.d.ts')
| -rw-r--r-- | src/js/layout.d.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/js/layout.d.ts b/src/js/layout.d.ts new file mode 100644 index 0000000..1e8c004 --- /dev/null +++ b/src/js/layout.d.ts @@ -0,0 +1,17 @@ +// types for the map the javascript vm reads at runtime. the values are +// generated by src/js/extract_genome.js into build/js/layout.js, which sits +// beside the compiled vm; this declaration is here so tinyvm.ts typechecks +// without a generated file in the tree. +export declare const MAP: { + readonly MW: number; + readonly PW: number; + readonly ZFP: number; + readonly GORG: number; + readonly DS0: number; + readonly DSLIM: number; + readonly RS0: number; + readonly RSLIM: number; + readonly SYSGATE: number; + readonly HEAP_LO: number; + readonly HEAP_HI: number; +};
\ No newline at end of file |
