Skip to content

Commit

Permalink
Documentation fixes (#5520)
Browse files Browse the repository at this point in the history
issue: #5404
  • Loading branch information
AlitzelMendez authored Jan 7, 2025
1 parent 0942870 commit a4ad7ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ A decorator implementation takes the following parameters:
import type { DecoratorContext, Type } from "@typespec/compiler";

export function $logType(context: DecoratorContext, target: Type, name: string) {
console.log(name + ": " + targetType.kind);
console.log(name + ": " + target.kind);
}
```

Expand All @@ -103,7 +103,7 @@ Or in JavaScript:
```ts
// model.js
export function $logType(context, target, name) {
console.log(name + ": " + targetType.kind);
console.log(name + ": " + target.kind);
}
```

Expand Down

0 comments on commit a4ad7ee

Please sign in to comment.