Microsoft/TypeScript
Auf GitHub ansehenTriple slash reference should include extension '.d.ts' or not?
Open
#9.116 geöffnet am 13. Juni 2016
BugDomain: Module ResolutionHelp WantedVS Code Tracked
Repository-Metriken
- Stars
- (48.455 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 6T 17h) (9 gemergte PRs in 30 T)
Beschreibung
From @frogcjn on June 13, 2016 6:6
/// <reference path='../../../typings/index.d.ts' />
or
/// <reference path='../../../typings/index' />
?
Thanks!
tsc recognizes the file without .d.ts extension, but vscode's ts validation has a different behavior. This makes a headache communication between typescript coder.
Copied from original issue: Microsoft/vscode#7594