chore(readme): clarify the use of ES modules in readme examples (#10934)

* chore(readme): clarify the use of ES modules in readme examples

resolves #10932

* fix: revert api extractor readme changes
This commit is contained in:
Souji
2025-06-23 21:27:55 +02:00
committed by GitHub
parent cd76c9a47b
commit 615faf5f6f
5 changed files with 10 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ bun add @discordjs/formatters
## Example usage
The example uses [ES modules](https://nodejs.org/api/esm.html#enabling).
````ts
import { codeBlock } from '@discordjs/formatters';