mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
docs: Change code block header from package.json to tsconfig.json (#24511)
Co-authored-by: Michael H <git@riskymh.dev>
This commit is contained in:
@@ -14,7 +14,7 @@ bun add -d @types/bun # dev dependency
|
||||
|
||||
Below is the full set of recommended `compilerOptions` for a Bun project. With this `tsconfig.json`, you can use top-level await, extensioned or extensionless imports, and JSX.
|
||||
|
||||
```json package.json icon="file-json"
|
||||
```json tsconfig.json icon="file-json"
|
||||
{
|
||||
"compilerOptions": {
|
||||
// Environment setup & latest features
|
||||
|
||||
Reference in New Issue
Block a user