|
| 1 | +currentDirectory::/home/src/workspaces/solution |
| 2 | +useCaseSensitiveFileNames::true |
| 3 | +Input:: |
| 4 | +//// [/home/src/workspaces/solution/core/index.ts] *new* |
| 5 | +export function multiply(a: number, b: number) { return a * b; } |
| 6 | +//// [/home/src/workspaces/solution/core/tsconfig.json] *new* |
| 7 | +{ |
| 8 | + "compilerOptions": { |
| 9 | + "composite": true, |
| 10 | + "declaration": true, |
| 11 | + "declarationMap": true, |
| 12 | + "skipDefaultLibCheck": true, |
| 13 | + }, |
| 14 | +} |
| 15 | +//// [/home/src/workspaces/solution/with-references/tsconfig.json] *new* |
| 16 | +{ |
| 17 | + "references": [ |
| 18 | + { "path": "../core" }, |
| 19 | + ], |
| 20 | + "files": [], |
| 21 | + "compilerOptions": { |
| 22 | + "composite": true, |
| 23 | + "declaration": true, |
| 24 | + "forceConsistentCasingInFileNames": true, |
| 25 | + "skipDefaultLibCheck": true, |
| 26 | + }, |
| 27 | +} |
| 28 | + |
| 29 | +tsgo --b with-references |
| 30 | +ExitStatus:: Success |
| 31 | +Output:: |
| 32 | +//// [/home/src/tslibs/TS/Lib/lib.d.ts] *Lib* |
| 33 | +/// <reference no-default-lib="true"/> |
| 34 | +interface Boolean {} |
| 35 | +interface Function {} |
| 36 | +interface CallableFunction {} |
| 37 | +interface NewableFunction {} |
| 38 | +interface IArguments {} |
| 39 | +interface Number { toExponential: any; } |
| 40 | +interface Object {} |
| 41 | +interface RegExp {} |
| 42 | +interface String { charAt: any; } |
| 43 | +interface Array<T> { length: number; [n: number]: T; } |
| 44 | +interface ReadonlyArray<T> {} |
| 45 | +interface SymbolConstructor { |
| 46 | + (desc?: string | number): symbol; |
| 47 | + for(name: string): symbol; |
| 48 | + readonly toStringTag: symbol; |
| 49 | +} |
| 50 | +declare var Symbol: SymbolConstructor; |
| 51 | +interface Symbol { |
| 52 | + readonly [Symbol.toStringTag]: string; |
| 53 | +} |
| 54 | +declare const console: { log(msg: any): void; }; |
| 55 | +//// [/home/src/workspaces/solution/core/index.d.ts] *new* |
| 56 | +export declare function multiply(a: number, b: number): number; |
| 57 | +//# sourceMappingURL=index.d.ts.map |
| 58 | +//// [/home/src/workspaces/solution/core/index.d.ts.map] *new* |
| 59 | +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} |
| 60 | +//// [/home/src/workspaces/solution/core/index.js] *new* |
| 61 | +"use strict"; |
| 62 | +Object.defineProperty(exports, "__esModule", { value: true }); |
| 63 | +exports.multiply = multiply; |
| 64 | +function multiply(a, b) { return a * b; } |
| 65 | + |
| 66 | +//// [/home/src/workspaces/solution/core/tsconfig.tsbuildinfo] *new* |
| 67 | +{"version":"FakeTSVersion","root":[2],"fileNames":["lib.d.ts","./index.ts"],"fileInfos":[{"version":"8859c12c614ce56ba9a18e58384a198f-/// <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> {}\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3e196dbeb0efd6f81808db37973c4e6d-export function multiply(a: number, b: number) { return a * b; }","signature":"0d04cb6a9ce77a203776db1857b08505-export declare function multiply(a: number, b: number): number;\n","impliedNodeFormat":1}],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"} |
| 68 | +//// [/home/src/workspaces/solution/core/tsconfig.tsbuildinfo.readable.baseline.txt] *new* |
| 69 | +{ |
| 70 | + "version": "FakeTSVersion", |
| 71 | + "root": [ |
| 72 | + { |
| 73 | + "files": [ |
| 74 | + "./index.ts" |
| 75 | + ], |
| 76 | + "original": 2 |
| 77 | + } |
| 78 | + ], |
| 79 | + "fileNames": [ |
| 80 | + "lib.d.ts", |
| 81 | + "./index.ts" |
| 82 | + ], |
| 83 | + "fileInfos": [ |
| 84 | + { |
| 85 | + "fileName": "lib.d.ts", |
| 86 | + "version": "8859c12c614ce56ba9a18e58384a198f-/// <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> {}\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\ndeclare const console: { log(msg: any): void; };", |
| 87 | + "signature": "8859c12c614ce56ba9a18e58384a198f-/// <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> {}\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\ndeclare const console: { log(msg: any): void; };", |
| 88 | + "affectsGlobalScope": true, |
| 89 | + "impliedNodeFormat": "CommonJS", |
| 90 | + "original": { |
| 91 | + "version": "8859c12c614ce56ba9a18e58384a198f-/// <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> {}\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\ndeclare const console: { log(msg: any): void; };", |
| 92 | + "affectsGlobalScope": true, |
| 93 | + "impliedNodeFormat": 1 |
| 94 | + } |
| 95 | + }, |
| 96 | + { |
| 97 | + "fileName": "./index.ts", |
| 98 | + "version": "3e196dbeb0efd6f81808db37973c4e6d-export function multiply(a: number, b: number) { return a * b; }", |
| 99 | + "signature": "0d04cb6a9ce77a203776db1857b08505-export declare function multiply(a: number, b: number): number;\n", |
| 100 | + "impliedNodeFormat": "CommonJS", |
| 101 | + "original": { |
| 102 | + "version": "3e196dbeb0efd6f81808db37973c4e6d-export function multiply(a: number, b: number) { return a * b; }", |
| 103 | + "signature": "0d04cb6a9ce77a203776db1857b08505-export declare function multiply(a: number, b: number): number;\n", |
| 104 | + "impliedNodeFormat": 1 |
| 105 | + } |
| 106 | + } |
| 107 | + ], |
| 108 | + "options": { |
| 109 | + "composite": true, |
| 110 | + "declaration": true, |
| 111 | + "declarationMap": true, |
| 112 | + "skipDefaultLibCheck": true |
| 113 | + }, |
| 114 | + "latestChangedDtsFile": "./index.d.ts", |
| 115 | + "size": 1242 |
| 116 | +} |
| 117 | + |
| 118 | +core/tsconfig.json:: |
| 119 | +SemanticDiagnostics:: |
| 120 | +*refresh* /home/src/tslibs/TS/Lib/lib.d.ts |
| 121 | +*refresh* /home/src/workspaces/solution/core/index.ts |
| 122 | +Signatures:: |
| 123 | +(stored at emit) /home/src/workspaces/solution/core/index.ts |
0 commit comments