Closed Davido264 closed 6 months ago
In adition, when using an lsp for type checking, App.config gives an error due to config not specified as a property on the type App
this is either because your ags version is out of date, or you are using nix, and your types are out of date
its not an alternative, export default {}
has been deprecated in favor of App.config
in 1.8.0, which ags should warn you about
I recently started to learn ags, I read the wiki and viewed some configs.
I found that the "First Widgets" section of the wiki says that the content of
config.js
contains:But in some configs I saw, the content of
config.js
contains:Both of them work.
In adition, when using an lsp for type checking,
App.config
gives an error due toconfig
not specified as a property on the typeApp
.I think it would be a good idea to update the wiki and state that the configuration can be set with
export default {}
as an alternative toApp.config({})