How can i use declaration files in my Project with Cocos Creator 3.0.
I have tried adding Nakama Api declaration file to use Nakama types in my project , but, when i run the game i get error : for example the declaration file name assets/nakama/client.d.ts , i get error Failed to load resource assets/nakama/client.js
how can i compile those declaration files to get the js format of them in runtime ?
using this solution will only run the code without issues , What i want is taking benefits from using types Hint while writing code , is that possible with CC3.0 using typescript declaration files ?