runejs / server

RuneJS is a RuneScape game server written in TypeScript and JavaScript. The goal of the project is to create a comprehensive game engine, while also providing simple and easy to use content development systems and APIs.
GNU General Public License v3.0
244 stars 83 forks source link

build: add `typecheck` script to `package.json` #374

Closed Jameskmonger closed 2 years ago

Jameskmonger commented 2 years ago

The build step passes silently if there are TypeScript errors in the TypeScript files.

This will add the command npm run typecheck to check all types in the codebase.

We should probably add this as a CI step at some point - atm there are too many failing types to turn it on