grammyjs / grammyjs/website

Add import statement to ref pages

Open
#1,022 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
52
Forks
138
PR merge metrics
No merged PRs in 30d

Description

Every ref page about runtime symbols should have

```ts
import { x } from "y";
```

at the top, with three tabs (TS/JS/Deno) as always.

Every ref page about types should have

```ts
import { type x } from "y";
```

at the top, with two tabs (TS/Deno).

Contributor guide

Open the contributing guide

Research direction

Start by locating the reference pages for runtime symbols and types, then inspect how the existing TS/JS/Deno tabs are defined. Add the appropriate import example to each page, preserving three tabs for runtime symbols and two for types. Done means all relevant ref pages show the requested import at the top with the correct tabs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.