grammyjs / grammyjs/website

Mention that node can run typescript in the introduction

Open Beginner friendly
#1,302 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
52
Forks
138
PR merge metrics
No merged PRs in 30d

Description

[..introduction.md](https://github.com/grammyjs/website/blob/main/site/docs/guide/introduction.md) states that node js cannot actually run TypeScript. Strictly speaking, [this is not true anymore](https://nodejs.org/learn/typescript/run-natively).

There are some constraints and I don't think it would be considered a good practice to do so, but it's not a "toy" feature and might be worth mentioning, maybe like

> ...Node.js can run TypeScript, although with [certain constraints](https://nodejs.org/learn/typescript/run-natively) so you might still want to go with a build step

Contributor guide

Open the contributing guide

Research direction

Open site/docs/guide/introduction.md and compare the Node.js and linked Node.js TypeScript guidance. Update the introduction to acknowledge native TypeScript execution and link its constraints; done means the statement is accurate, appropriately qualified, and the documentation build passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.