Skip to content

Commit

Permalink
Fix tsconfig.json settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tjprescott committed Dec 5, 2023
1 parent a7dcd84 commit 8fefe96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/extending-typespec/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ npx tsc --init --strict
This will create `tsconfig.json`. But we need to make a couple changes to this. Open `tsconfig.json` and set the following settings:

```json
"module": "Node16", // This and next setting tells TypeScript to use the new ESM import system to resolve types.
"moduleResolution": "Node16",
"target": "es2019",
"rootDir": ".",
"outDir": "./dist",
"module": "Node16", // This and next setting tells TypeScript to use the new ESM import system to resolve types.
"moduleResolution": "Node16",
"target": "es2019",
"rootDir": ".",
"outDir": "./dist",
```

### 4. Create `lib.ts`
Expand Down

0 comments on commit 8fefe96

Please sign in to comment.