JavaScript type hinting & validation (typescript) Discourse ships type information for its JavaScript code. This can provide inline documentation, autocomplete, and other useful IDE features. It can also be used for some basic type validation, using the @ts-check directive. Much of this will be automatically consumed by IDEs with TypeScript/JavaScript support. But for functionality in .gjs files, you'll need some specific configuration and/or IDE plugins. Writing TypeScript Core, themes and plugins can be authored directly in TypeScript. Use a .ts extension for plain modules, or .gts for Glimmer components with a