Tool to generate typescript definitions for garrysmod.
MIT License
Intended for use with https://typescripttolua.github.io
src/transformer/modfications.json
npm install gmod-types
types
or typeRoots
"skipLibCheck": true,
in your tsconfig.json
if you get duplicate identifier errors.npm install
npm run build
to build the projectnpm run generate
to generate declarationsout/declarations.ts