@@ -556,7 +556,7 @@ Output::
556
556
557
557
558
558
//// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo]
559
- { "program" :{ "fileNames" :[ "../../../../../../a/lib/lib.d.ts" , "../../animals/animal.ts" , "../../animals/dog.ts" , "../../animals/index.ts" , "../../core/utilities.ts" ] , "fileInfos" :[ { "version" :"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };" , "affectsGlobalScope" :true , "impliedFormat" :1 } , { "version" :"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" , "impliedFormat" :1 } , { "version" :"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n" , "signature" :"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" , "impliedFormat" :1 } , { "version" :"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" , "signature" :"2198076214-export default Animal;\nexport { createDog, Dog };\n" , "impliedFormat" :1 } , { "version" :"-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf<T>(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n" , "signature" :"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf<T>(arr: T[]): T | undefined;\n" , "impliedFormat" :1 } ] , "root" :[ 5 ] , "options" :{ "composite" :true , "declaration" :true , "module" :1 , "noFallthroughCasesInSwitch" :true , "noImplicitReturns" :true , "noUnusedLocals" :true , "noUnusedParameters" :true , "outDir" :"./" , "rootDir" :"../../core" , "strict" :true , "target" :1 } , "fileIdsList" :[ [ 4 , 5 ] , [ 2 , 3 ] , [ 4 ] ] , "referencedMap" :[ [ 3 , 1 ] , [ 4 , 2 ] , [ 5 , 3 ] ] , "semanticDiagnosticsPerFile" :[ 1 , 2 , 3 , 4 , [ 5 , [ { "file" :"../../core/utilities.ts" , "start" :1 , "length" :32 , "messageText" :"'A' is declared but its value is never read." , "category" :1 , "code" :6133 , "reportsUnnecessary" :true } ] ] ] , "affectedFilesPendingEmit" :[ 2 , 3 , 4 , 5 ] , "emitSignatures" :[ 2 , 3 , 4 , 5 ] } , "version" :"FakeTSVersion "}
559
+ { "program" :{ "fileNames" :[ "../../../../../../a/lib/lib.d.ts" , "../../animals/animal.ts" , "../../animals/dog.ts" , "../../animals/index.ts" , "../../core/utilities.ts" ] , "fileInfos" :[ { "version" :"3858781397-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };" , "affectsGlobalScope" :true , "impliedFormat" :1 } , { "version" :"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" , "impliedFormat" :1 } , { "version" :"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n" , "signature" :"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" , "impliedFormat" :1 } , { "version" :"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" , "signature" :"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" , "impliedFormat" :1 } , { "version" :"-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf<T>(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n" , "signature" :"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf<T>(arr: T[]): T | undefined;\n" , "impliedFormat" :1 } ] , "root" :[ 5 ] , "options" :{ "composite" :true , "declaration" :true , "module" :1 , "noFallthroughCasesInSwitch" :true , "noImplicitReturns" :true , "noUnusedLocals" :true , "noUnusedParameters" :true , "outDir" :"./" , "rootDir" :"../../core" , "strict" :true , "target" :1 } , "fileIdsList" :[ [ 4 , 5 ] , [ 2 , 3 ] , [ 4 ] ] , "referencedMap" :[ [ 3 , 1 ] , [ 4 , 2 ] , [ 5 , 3 ] ] , "semanticDiagnosticsPerFile" :[ 1 , 2 , 3 , 4 , [ 5 , [ { "file" :"../../core/utilities.ts" , "start" :1 , "length" :32 , "messageText" :"'A' is declared but its value is never read." , "category" :1 , "code" :6133 , "reportsUnnecessary" :true } ] ] ] , "affectedFilesPendingEmit" :[ 2 , 3 , 4 , 5 ] , "emitSignatures" :[ 2 , 3 , 4 , 5 ] } , "version" :"FakeTSVersion "}
560
560
561
561
//// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt]
562
562
{
@@ -615,11 +615,11 @@ Output::
615
615
"../../animals/index.ts" : {
616
616
"original" : {
617
617
"version" : "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" ,
618
- "signature" : "2198076214-export default Animal;\nexport { createDog, Dog };\n" ,
618
+ "signature" : "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog' ;\nexport { createDog, Dog };\n" ,
619
619
"impliedFormat" : 1
620
620
} ,
621
621
"version" : "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" ,
622
- "signature" : "2198076214-export default Animal;\nexport { createDog, Dog };\n" ,
622
+ "signature" : "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog' ;\nexport { createDog, Dog };\n" ,
623
623
"impliedFormat" : "commonjs"
624
624
} ,
625
625
"../../core/utilities.ts" : {
@@ -711,7 +711,7 @@ Output::
711
711
]
712
712
} ,
713
713
"version" : "FakeTSVersion" ,
714
- "size" : 2739
714
+ "size" : 2812
715
715
}
716
716
717
717
0 commit comments