Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8c50f6

Browse files
Fix link in migrating cheatsheet (#772)
Resolves#767.
1 parent05c2c6b commitc8c50f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/migration/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Read [TypeScript's official Guide for migrating from JS](https://www.typescriptl
2323
- "[Just rename all .js files to .ts](https://twitter.com/jamonholmgren/status/1089241726303199232)"?
2424
- use the loosest, bare minimum settings to start with
2525
- Level 2: Strict TypeScript
26-
- use Microsoft's[`dts-gen`](https://github.com/Microsoft/dts-gen) to generate`.d.ts` files for your untyped files.[This SO answer](https://stackoverflow.com/questions/12687779/how-do-you-produce-a-d-ts-typings-definition-file-from-an-existing-javascript) has more on the topic.
26+
- use Microsoft's[`dts-gen`](https://github.com/microsoft/DefinitelyTyped-tools/tree/main/packages/dts-gen) to generate`.d.ts` files for your untyped files.[This SO answer](https://stackoverflow.com/questions/12687779/how-do-you-produce-a-d-ts-typings-definition-file-from-an-existing-javascript) has more on the topic.
2727
- use`declare` keyword for ambient declarations - see[declaration merging](https://github.com/typescript-cheatsheets/react#troubleshooting-handbook-bugs-in-official-typings) to patch library declarations inline
2828

2929
Misc tips/approaches successful companies have taken

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp