-
-
Notifications
You must be signed in to change notification settings - Fork 94
Editors
Patrick Roza edited this page May 5, 2021
·
8 revisions
VS Code ships with built-in Typescript, which often may be older than the one you should or wish to use in your Project. Make sure to select the projects' node_modules typescript version by opening a TS file, then on the right side down, clicking "Typescript" and then following the menus to select the project typescript version.
- https://github.com/Effect-TS/core/tree/master/.vscode
- See for example https://github.com/Effect-TS/core/blob/master/.vscode/common-imports.code-snippets
You can then use e.g
+T
and auto complete it toimport * as T from "@effect-ts/core/Effect"
To get reasonable type signatures, hold the CMD key (Mac) while hovering over the type.
Standard Hover:
Command Hover:
You can then use e.g impT
and auto complete it to import * as T from "@effect-ts/core/Effect"
Anyone any tips on making these portable and shared within a repo (so that they can also differ per Project, e.g for module augmentation)?