Closed
Description
The website says it's possible to call asc
programmatically in JavaScript, and can be imported as follows:
import asc from "assemblyscript/asc";
Source: Programmatic usage
However, trying to do so in TypeScript fails with the error message from the title. There is no @types/assemblyscript
package either, at least not that yarn can find.
TypeScript seems to think the module is called assemblyscript/dist/asc
, as I can import that with no such error.