Closed happyori closed 2 months ago
Nvm I didn't realize I had to use Service.import
instead of importing normally
You can still do static import https://aylur.github.io/ags-docs/config/services/#list-of-builtin-services Your issue was that you were importing the type and not the actual object
Hi, I am trying to use the ags with typescript using the method wiki shows but I am getting the following error.
here is my config.js
and my tsconfig.json
here is the workspaces file that fails, but any import into the
types/*
folder fail similarlyI also ran the
ags --init
and have correctly linked types folder. LSP also is working right. Anytime I try to import anything from ags it fails.