Typescript Definitions for the FMOD Studio Scripting API

Hi,

been chipping away on this little side project for while now and finally reached a point where I think it’s worth putting it out.

I created Typescript Definitions for the FMOD Studio Scripting API along with a small example project that gets you going.

https://hartung.studio/projects.html#fmod-types

This allows for scripting the FMOD Studio API using typescript and getting intellisense and type completion in VSCode for instance.

You can also use modern TS syntax and TSC will transpile it down to ES5 JS that FMOD Studio can run.

I’m putting this out to start dogfooding the project by using it myself for work. Pretty sure some of these definitions can be setup in a better way and I will find out along the way.

I think the FMOD Studio Scripting API can be really powerful but the developer experience is not that great out of the box.

Hopefully this will help with this a bit 🙂

If you’re a typescript wizard and see ways to make this better please let me know!