Skip to content

Commit

Permalink
Fix small typo in basic extending typespec docs (#2714)
Browse files Browse the repository at this point in the history
  • Loading branch information
bterlson authored Dec 1, 2023
1 parent 52d0a8b commit 0b33308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extending-typespec/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const $lib = createTypeSpecLibrary({
} as const);

// Optional but convenient, those are meant to be used locally in your library.
export const { reportDiagnostic, createDiagnostic, createStateSymbol } = myLibrary;
export const { reportDiagnostic, createDiagnostic, createStateSymbol } = $lib;
```

Diagnostics are used for linters and decorators which are covered in subsequent topics.
Expand Down

0 comments on commit 0b33308

Please sign in to comment.