Skip to content

Cannot find global type 'CallableFunction' #2646

Closed
@ckaznocha

Description

@ckaznocha

Bug description

Opening an assemblyscript project with vscode results in the error "Cannot find global type 'CallableFunction'" from the tsconfig.json. It looks like this is caused by the noLib being true and no global definition for CallableFunction in the assemblyscript d.ts files. This only started for me after I updated to the latest version of vscode which I'm under the impression comes with a bundled version of typescript.

I found some folks on so are having the same problem with no resolution but I wasn't able to find an issue here so creating one.

https://stackoverflow.com/questions/74438208/cannot-find-global-type-callablefunction-error-in-tsconfig-json-file

Steps to reproduce

Open an assemblyscript project with vscode v1.75.0 then edit any ts file.

AssemblyScript version

v0.26.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions