Basic project.
Everything was working fine when I was using NPM, but to get asbuild, I had to use yarn. But I started to get the error message in my tsconfig.json file.
Cannot find global type 'CallableFunction'
Cannot find global type 'CallableFunction'
tsconfig.json file
{
"extends": "../node_modules/assemblyscript/std/assembly.json",
"include": [
"./**/*.ts"
]
}
Here are my dependencies in package.json.
"devDependencies": {
"asbuild": "^0.2.0",
"assemblyscript": "^0.23.1",
"near-sdk-as": "^3.2.3",
"typescript": "3.1.6"
},
Not sure what is causing this issue.