Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable TypeScript declaration maps (#528)
Declaration maps are a neat feature that landed in TS 2.9, enabling it emits a sourcemap for declaration files (.d.ts.map). Like JS .map files they are for resolving to the original source of declaration files, but instead of being used by the browser they are used by the user's text editor/ide. Basically, where before in vscode if you go to defintion on `html` in `import {html} from 'lit-html'` you would end up in the declaration file, now it will take you to the correct position in the original .ts file.
- Loading branch information
1 parent
445d756
commit 663127f
Showing
3 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters