Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Configuring a project

Daniel Wirtz edited this pageJun 16, 2020 ·3 revisions

This page is outdated, see the new documentation instead

https://www.assemblyscript.org/quick-start.html


Placing atsconfig.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.

Targeting WebAssembly only withasc

{"extends":"./node_modules/assemblyscript/std/assembly.json","include": ["./**/*.ts"  ]}

Alternatively,std/assembly.d.ts can be referenced (does not inherit other important configuration settings).

Targeting both WebAssembly withasc and JavaScript withtsc

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).

 

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp