Callout annotations are a way to add a message to a specific line of code. They are useful for adding context to a line of code or for providing additional information about a line of code.
Log: Custom log messageconst const a: 1a = 1;Error: Custom error messageconst const b: 1b = 1;Warning: Custom warning messageconst const c: 1c = 1;Message: Custom annotation messageconst const d: 1d = 1;
const a: 1
const b: 1
const c: 1
const d: 1
```ts twoslash // @log: Custom log messageconst a = 1;// @error: Custom error messageconst b = 1;// @warn: Custom warning messageconst c = 1;// @annotate: Custom annotation messageconst d = 1; ```