File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1059,12 +1059,14 @@ namespace ts {
1059
1059
1060
1060
function resolveTypeReferenceDirectiveNamesWorker ( typeDirectiveNames : string [ ] , containingFile : string | SourceFile ) : readonly ( ResolvedTypeReferenceDirective | undefined ) [ ] {
1061
1061
if ( ! typeDirectiveNames . length ) return [ ] ;
1062
- performance . mark ( "beforeResolveTypeReference" ) ;
1063
1062
const containingFileName = ! isString ( containingFile ) ? getNormalizedAbsolutePath ( containingFile . originalFileName , currentDirectory ) : containingFile ;
1064
1063
const redirectedReference = ! isString ( containingFile ) ? getRedirectReferenceForResolution ( containingFile ) : undefined ;
1064
+ tracing . begin ( tracing . Phase . Program , "resolveTypeReferenceDirectiveNamesWorker" , { containingFileName } ) ;
1065
+ performance . mark ( "beforeResolveTypeReference" ) ;
1065
1066
const result = actualResolveTypeReferenceDirectiveNamesWorker ( typeDirectiveNames , containingFileName , redirectedReference ) ;
1066
1067
performance . mark ( "afterResolveTypeReference" ) ;
1067
1068
performance . measure ( "ResolveTypeReference" , "beforeResolveTypeReference" , "afterResolveTypeReference" ) ;
1069
+ tracing . end ( ) ;
1068
1070
return result ;
1069
1071
}
1070
1072
You can’t perform that action at this time.
0 commit comments