mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-05-03 10:52:15 +00:00
Added paths option to resolve stdlib imports in IDEs (#637)
This commit is contained in:
parent
f9a77b132f
commit
334d944f67
@ -6,6 +6,12 @@
|
|||||||
"noLib": true,
|
"noLib": true,
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
"typeRoots": [ "types" ],
|
"typeRoots": [ "types" ],
|
||||||
"types": [ "assembly" ]
|
"types": [ "assembly" ],
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"*": [
|
||||||
|
"./assembly/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
std/assembly/rt/index.d.ts
vendored
1
std/assembly/rt/index.d.ts
vendored
@ -10,3 +10,4 @@ declare function __visit(ref: usize, cookie: i32): void;
|
|||||||
declare function __visit_globals(cookie: u32): void;
|
declare function __visit_globals(cookie: u32): void;
|
||||||
declare function __visit_members(ref: usize, cookie: u32): void;
|
declare function __visit_members(ref: usize, cookie: u32): void;
|
||||||
declare function __allocArray(length: i32, alignLog2: usize, id: u32, data?: usize): usize;
|
declare function __allocArray(length: i32, alignLog2: usize, id: u32, data?: usize): usize;
|
||||||
|
declare const ASC_RTRACE: boolean;
|
@ -15,7 +15,7 @@ import { onincrement, ondecrement, onfree, onalloc } from "./rtrace";
|
|||||||
// B: buffered
|
// B: buffered
|
||||||
|
|
||||||
// @ts-ignore: decorator
|
// @ts-ignore: decorator
|
||||||
@inline const BUFFERED_MASK: u32 = 1 << (sizeof<u32>() * 8 - 1);
|
@inline const BUFFERED_MASK: u32 = 1 << ((sizeof<u32>() * 8) - 1);
|
||||||
// @ts-ignore: decorator
|
// @ts-ignore: decorator
|
||||||
@inline const COLOR_BITS = 3;
|
@inline const COLOR_BITS = 3;
|
||||||
// @ts-ignore: decorator
|
// @ts-ignore: decorator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user