-
-
Notifications
You must be signed in to change notification settings - Fork 667
Configuring a project
Daniel Wirtz edited this page Jun 16, 2020
·
3 revisions
This page is outdated, see the new documentation instead
Placing a tsconfig.json
with the following contents next to your AssemblyScript sources (ideally in their own directory) will import all relevant types and configuration options. Note that the path to the base configuration file may vary depending on your actual setup.
{
"extends": "./node_modules/assemblyscript/std/assembly.json",
"include": [
"./**/*.ts"
]
}
Alternatively, std/assembly.d.ts
can be referenced (does not inherit other important configuration settings).
See also: Writing portable code
{
"extends": "./node_modules/assemblyscript/std/portable.json",
"include": [
"./**/*.ts"
]
}
Alternatively, std/portable.d.ts
can be referenced (does not inherit other important configuration settings).