Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gmod-types

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gmod-types

Intended for use with https://typescripttolua.github.io

  • 0.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Typescript Declarations for Gmod

Intended for use with https://typescripttolua.github.io

What's new

  • Updated to use new Facepunch wiki as source
  • Updated to latest tstl version (requires 0.38.0 or higher)
  • Types can now be augmented using data based transformers
    • If you want to help improve the declarations make a PR for src/transformer/modfications.json

TODO

  • create template/example project

Usage

  1. npm install gmod-types
  2. modify the tsconfig, add the declaration files to your types or typeRoots
  3. use "skipLibCheck": true, in your tsconfig.json if you get duplicate identifier errors.

Development

  1. Clone
  2. npm install
  3. npm run build to build the project
  4. npm run generate to generate declarations
Program structure
  • Scrapper
  • Transformer
  • Printer
    • Print the typed objects to out/declarations.ts

FAQs

Package last updated on 18 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc