File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -984,11 +984,13 @@ export type ProgramBuildInfoFileId = number & { __programBuildInfoFileIdBrand: a
984
984
/** @internal */
985
985
export type ProgramBuildInfoFileIdListId = number & { __programBuildInfoFileIdListIdBrand : any ; } ;
986
986
/** @internal */
987
+ export type ProgramBuildInfoDiagnosticOfFile = [ fileId : ProgramBuildInfoFileId , diagnostics : readonly ReusableDiagnostic [ ] ] ;
988
+ /** @internal */
987
989
export type ProgramBuildInfoDiagnostic =
988
990
| ProgramBuildInfoFileId // File is not in changedSet and still doesnt have cached diagnostics
989
- | [ fileId : ProgramBuildInfoFileId , diagnostics : readonly ReusableDiagnostic [ ] ] ; // Diagnostics for file
991
+ | ProgramBuildInfoDiagnosticOfFile ; // Diagnostics for file
990
992
/** @internal */
991
- export type ProgramBuildInfoEmitDiagnostic = [ fileId : ProgramBuildInfoFileId , diagnostics : readonly ReusableDiagnostic [ ] ] ; // Diagnostics for the file
993
+ export type ProgramBuildInfoEmitDiagnostic = ProgramBuildInfoDiagnosticOfFile ; // Diagnostics for the file
992
994
993
995
/**
994
996
* fileId if pending emit is same as what compilerOptions suggest
Original file line number Diff line number Diff line change @@ -136,11 +136,12 @@ export function generateSourceMapBaselineFiles(sys: ts.System & { writtenFiles:
136
136
}
137
137
}
138
138
139
- export type ReadableProgramBuildInfoDiagnostic = [ string , "not cached or not changed" ] | [ string , readonly ts . ReusableDiagnostic [ ] ] ;
140
- export type ReadableProgramBuildInfoEmitDiagnostic = [ string , readonly ts . ReusableDiagnostic [ ] ] ;
139
+ export type ReadableProgramBuildInfoDiagnosticOfFile = [ file : string , diagnostics : readonly ts . ReusableDiagnostic [ ] ] ;
140
+ export type ReadableProgramBuildInfoDiagnostic = [ file : string , "not cached or not changed" ] | ReadableProgramBuildInfoDiagnosticOfFile ;
141
+ export type ReadableProgramBuildInfoEmitDiagnostic = ReadableProgramBuildInfoDiagnosticOfFile ;
141
142
export type ReadableBuilderFileEmit = string & { __readableBuilderFileEmit : any ; } ;
142
143
export type ReadableProgramBuilderInfoFilePendingEmit = [ original : string | [ string ] , emitKind : ReadableBuilderFileEmit ] ;
143
- export type ReadableProgramBuildInfoEmitSignature = string | [ string , ts . EmitSignature | [ ] ] ;
144
+ export type ReadableProgramBuildInfoEmitSignature = string | [ file : string , signature : ts . EmitSignature | [ ] ] ;
144
145
export type ReadableProgramBuildInfoFileInfo < T > = Omit < ts . BuilderState . FileInfo , "impliedFormat" > & {
145
146
impliedFormat : string | undefined ;
146
147
original : T | undefined ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
12
12
osFlavorToString ,
13
13
TestServerHostOsFlavor ,
14
14
} from "../helpers/virtualFileSystemWithWatch.js" ;
15
- describe ( "unittests:: sys:: symlinkWatching::" , ( ) => {
15
+ describe . skip ( "unittests:: sys:: symlinkWatching::" , ( ) => {
16
16
function delayedOp ( op : ( ) => void , delay : number ) {
17
17
ts . sys . setTimeout ! ( op , delay ) ;
18
18
}
You can’t perform that action at this time.
0 commit comments