Skip to content

Commit

Permalink
Restore note about @deno-types (#1256)
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: Jo Franchetti <jofranchetti@gmail.com>
  • Loading branch information
3 people authored Dec 12, 2024
1 parent 34282c5 commit 7d6d271
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions runtime/reference/ts_config_migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,12 @@ When you’re performing type checking on `coolLib` and using it in your file, t
TypeScript type definitions from `coolLib.d.ts` will take precedence over
examining the JavaScript file.

The compiler hint pattern-matching is quite flexible, it accepts both quoted and
non-quoted values for the specifier, as well as any whitespace around the equals
sign.
:::note

In the past the `@ts-types` directive was called `@deno-types`. This alias still
works, but is not recommended anymore. Use `@ts-types`.

:::

## Providing types when hosting

Expand Down

0 comments on commit 7d6d271

Please sign in to comment.