File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ namespace ts.server {
42
42
return false ;
43
43
}
44
44
45
+
46
+ function dtsChangeCanAffectEmit ( compilationSettings : CompilerOptions ) {
47
+ return getEmitDeclarations ( compilationSettings ) || ! ! compilationSettings . emitDecoratorMetadata ;
48
+ }
49
+
45
50
function formatDiag ( fileName : NormalizedPath , project : Project , diag : Diagnostic ) : protocol . Diagnostic {
46
51
const scriptInfo = project . getScriptInfoForNormalizedPath ( fileName ) ! ; // TODO: GH#18217
47
52
return {
@@ -1599,10 +1604,6 @@ namespace ts.server {
1599
1604
return emptyArray ;
1600
1605
}
1601
1606
1602
- function dtsChangeCanAffectEmit ( compilationSettings : CompilerOptions ) {
1603
- return getEmitDeclarations ( compilationSettings ) || ! ! compilationSettings . emitDecoratorMetadata ;
1604
- }
1605
-
1606
1607
return combineProjectOutput (
1607
1608
info ,
1608
1609
path => this . projectService . getScriptInfoForPath ( path ) ! ,
You can’t perform that action at this time.
0 commit comments