From ad200280e30e5d7ff98c02c30898d6cf993f4812 Mon Sep 17 00:00:00 2001 From: Mathias Boeck Date: Sun, 1 May 2022 10:08:27 +0200 Subject: [PATCH] Update description of type declaration file Type declaration files can also be helpful when using javascript in some IDE's. --- src/game-of-life/hello-world.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game-of-life/hello-world.md b/src/game-of-life/hello-world.md index 6f59daf1..245674a5 100644 --- a/src/game-of-life/hello-world.md +++ b/src/game-of-life/hello-world.md @@ -150,9 +150,9 @@ export function greet() { ### `wasm-game-of-life/pkg/wasm_game_of_life.d.ts` The `.d.ts` file contains [TypeScript][] type declarations for the JavaScript -glue. If you are using TypeScript, you can have your calls into WebAssembly -functions type checked, and your IDE can provide autocompletions and -suggestions! If you aren't using TypeScript, you can safely ignore this file. +glue. Through this some IDE's (which use the [JavaScript Language Service](https://github.com/microsoft/TypeScript/wiki/JavaScript-Language-Service-in-Visual-Studio#TSDeclFiles)) can have your calls into WebAssembly +functions type checked, and also provide autocompletions and +suggestions! ```typescript export function greet(): void;