mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
415 lines
18 KiB
Plaintext
415 lines
18 KiB
Plaintext
UseCaseSensitiveFileNames: true
|
|
//// [/myproject/decls/FnS.d.ts] *new*
|
|
export declare function fn1(): void;
|
|
export declare function fn2(): void;
|
|
export declare function fn3(): void;
|
|
export declare function fn4(): void;
|
|
export declare function fn5(): void;
|
|
//# sourceMappingURL=FnS.d.ts.map
|
|
//// [/myproject/decls/FnS.d.ts.map] *new*
|
|
{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"}
|
|
//// [/myproject/dependency/FnS.js] *new*
|
|
export function fn1() { }
|
|
export function fn2() { }
|
|
export function fn3() { }
|
|
export function fn4() { }
|
|
export function fn5() { }
|
|
|
|
//// [/myproject/dependency/FnS.ts] *new*
|
|
export function fn1() { }
|
|
export function fn2() { }
|
|
export function fn3() { }
|
|
export function fn4() { }
|
|
export function fn5() { }
|
|
|
|
//// [/myproject/dependency/tsconfig.json] *new*
|
|
{
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"declarationMap": true,
|
|
"declarationDir": "../decls"
|
|
}
|
|
}
|
|
//// [/myproject/dependency/tsconfig.tsbuildinfo] *new*
|
|
{"version":"FakeTSVersion","root":[2],"fileNames":["lib.es2025.full.d.ts","./FnS.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":"dabc23167a661a3e71744cf63ff5adcc-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"bf56b5172c2fd500384b437b7700d594-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedNodeFormat":1}],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"}
|
|
//// [/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
|
|
{
|
|
"version": "FakeTSVersion",
|
|
"root": [
|
|
{
|
|
"files": [
|
|
"./FnS.ts"
|
|
],
|
|
"original": 2
|
|
}
|
|
],
|
|
"fileNames": [
|
|
"lib.es2025.full.d.ts",
|
|
"./FnS.ts"
|
|
],
|
|
"fileInfos": [
|
|
{
|
|
"fileName": "lib.es2025.full.d.ts",
|
|
"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; };",
|
|
"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; };",
|
|
"affectsGlobalScope": true,
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"fileName": "./FnS.ts",
|
|
"version": "dabc23167a661a3e71744cf63ff5adcc-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n",
|
|
"signature": "bf56b5172c2fd500384b437b7700d594-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"version": "dabc23167a661a3e71744cf63ff5adcc-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n",
|
|
"signature": "bf56b5172c2fd500384b437b7700d594-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",
|
|
"impliedNodeFormat": 1
|
|
}
|
|
}
|
|
],
|
|
"options": {
|
|
"composite": true,
|
|
"declarationDir": "../decls",
|
|
"declarationMap": true
|
|
},
|
|
"latestChangedDtsFile": "../decls/FnS.d.ts",
|
|
"size": 1435
|
|
}
|
|
//// [/myproject/main/main.d.ts] *new*
|
|
export {};
|
|
//# sourceMappingURL=main.d.ts.map
|
|
//// [/myproject/main/main.d.ts.map] *new*
|
|
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["main.ts"],"names":[],"mappings":""}
|
|
//// [/myproject/main/main.js] *new*
|
|
import { fn1, fn2, fn3, fn4, fn5 } from "../decls/FnS";
|
|
fn1();
|
|
fn2();
|
|
fn3();
|
|
fn4();
|
|
fn5();
|
|
|
|
//// [/myproject/main/main.ts] *new*
|
|
import {
|
|
fn1,
|
|
fn2,
|
|
fn3,
|
|
fn4,
|
|
fn5
|
|
} from "../decls/FnS";
|
|
|
|
fn1();
|
|
fn2();
|
|
fn3();
|
|
fn4();
|
|
fn5();
|
|
//// [/myproject/main/tsconfig.json] *new*
|
|
{
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"declarationMap": true,
|
|
"disableSourceOfProjectReferenceRedirect": false
|
|
},
|
|
|
|
}
|
|
//// [/myproject/main/tsconfig.tsbuildinfo] *new*
|
|
{"version":"FakeTSVersion","root":[3],"fileNames":["lib.es2025.full.d.ts","../decls/FnS.d.ts","./main.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},"ccbe7f3de9ff1ded77b994bef4cf9dce-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",{"version":"72620bcff3a257f2c990b3f030e1b8e3-import {\n\tfn1,\n\tfn2,\n\tfn3,\n\tfn4,\n\tfn5\n} from \"../decls/FnS\";\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();","signature":"abe7d9981d6018efb6b2b794f40a1607-export {};\n","impliedNodeFormat":1}],"fileIdsList":[[2]],"options":{"composite":true,"declarationMap":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"}
|
|
//// [/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] *new*
|
|
{
|
|
"version": "FakeTSVersion",
|
|
"root": [
|
|
{
|
|
"files": [
|
|
"./main.ts"
|
|
],
|
|
"original": 3
|
|
}
|
|
],
|
|
"fileNames": [
|
|
"lib.es2025.full.d.ts",
|
|
"../decls/FnS.d.ts",
|
|
"./main.ts"
|
|
],
|
|
"fileInfos": [
|
|
{
|
|
"fileName": "lib.es2025.full.d.ts",
|
|
"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; };",
|
|
"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; };",
|
|
"affectsGlobalScope": true,
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"fileName": "../decls/FnS.d.ts",
|
|
"version": "ccbe7f3de9ff1ded77b994bef4cf9dce-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",
|
|
"signature": "ccbe7f3de9ff1ded77b994bef4cf9dce-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n//# sourceMappingURL=FnS.d.ts.map",
|
|
"impliedNodeFormat": "CommonJS"
|
|
},
|
|
{
|
|
"fileName": "./main.ts",
|
|
"version": "72620bcff3a257f2c990b3f030e1b8e3-import {\n\tfn1,\n\tfn2,\n\tfn3,\n\tfn4,\n\tfn5\n} from \"../decls/FnS\";\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();",
|
|
"signature": "abe7d9981d6018efb6b2b794f40a1607-export {};\n",
|
|
"impliedNodeFormat": "CommonJS",
|
|
"original": {
|
|
"version": "72620bcff3a257f2c990b3f030e1b8e3-import {\n\tfn1,\n\tfn2,\n\tfn3,\n\tfn4,\n\tfn5\n} from \"../decls/FnS\";\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();",
|
|
"signature": "abe7d9981d6018efb6b2b794f40a1607-export {};\n",
|
|
"impliedNodeFormat": 1
|
|
}
|
|
}
|
|
],
|
|
"fileIdsList": [
|
|
[
|
|
"../decls/FnS.d.ts"
|
|
]
|
|
],
|
|
"options": {
|
|
"composite": true,
|
|
"declarationMap": true
|
|
},
|
|
"referencedMap": {
|
|
"./main.ts": [
|
|
"../decls/FnS.d.ts"
|
|
]
|
|
},
|
|
"latestChangedDtsFile": "./main.d.ts",
|
|
"size": 1527
|
|
}
|
|
//// [/myproject/tsconfig.json] *new*
|
|
{
|
|
"compilerOptions": {
|
|
"disableSourceOfProjectReferenceRedirect": false
|
|
},
|
|
"files": [],
|
|
"references": [
|
|
{ "path": "dependency" },
|
|
{ "path": "main" }
|
|
]
|
|
}
|
|
//// [/random/random.ts] *new*
|
|
export const a = 10;
|
|
//// [/random/tsconfig.json] *new*
|
|
{}
|
|
|
|
|
|
{
|
|
"method": "textDocument/didOpen",
|
|
"params": {
|
|
"textDocument": {
|
|
"uri": "file:///random/random.ts",
|
|
"languageId": "typescript",
|
|
"version": 0,
|
|
"text": "export const a = 10;"
|
|
}
|
|
}
|
|
}
|
|
|
|
Projects::
|
|
[/random/tsconfig.json] *new*
|
|
/random/random.ts
|
|
Open Files::
|
|
[/random/random.ts] *new*
|
|
/random/tsconfig.json (default)
|
|
Config::
|
|
[/random/tsconfig.json] *new*
|
|
RetainingProjects:
|
|
/random/tsconfig.json
|
|
RetainingOpenFiles:
|
|
/random/random.ts
|
|
Config File Names::
|
|
[/random/random.ts] *new*
|
|
NearestConfigFileName: /random/tsconfig.json
|
|
|
|
{
|
|
"method": "textDocument/didOpen",
|
|
"params": {
|
|
"textDocument": {
|
|
"uri": "file:///myproject/dependency/FnS.ts",
|
|
"languageId": "typescript",
|
|
"version": 0,
|
|
"text": "export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n"
|
|
}
|
|
}
|
|
}
|
|
|
|
Projects::
|
|
[/myproject/dependency/tsconfig.json] *new*
|
|
/myproject/dependency/FnS.ts
|
|
[/myproject/tsconfig.json] *new*
|
|
[/random/tsconfig.json]
|
|
/random/random.ts
|
|
Open Files::
|
|
[/myproject/dependency/FnS.ts] *new*
|
|
/myproject/dependency/tsconfig.json (default)
|
|
[/random/random.ts]
|
|
/random/tsconfig.json (default)
|
|
Config::
|
|
[/myproject/dependency/tsconfig.json] *new*
|
|
RetainingProjects:
|
|
/myproject/dependency/tsconfig.json
|
|
RetainingOpenFiles:
|
|
/myproject/dependency/FnS.ts
|
|
[/random/tsconfig.json]
|
|
RetainingProjects:
|
|
/random/tsconfig.json
|
|
RetainingOpenFiles:
|
|
/random/random.ts
|
|
Config File Names::
|
|
[/myproject/dependency/FnS.ts] *new*
|
|
NearestConfigFileName: /myproject/dependency/tsconfig.json
|
|
Ancestors:
|
|
/myproject/dependency/tsconfig.json /myproject/tsconfig.json
|
|
/myproject/tsconfig.json
|
|
[/random/random.ts]
|
|
NearestConfigFileName: /random/tsconfig.json
|
|
|
|
{
|
|
"method": "textDocument/rename",
|
|
"params": {
|
|
"textDocument": {
|
|
"uri": "file:///myproject/dependency/FnS.ts"
|
|
},
|
|
"position": {
|
|
"line": 2,
|
|
"character": 16
|
|
},
|
|
"newName": "?"
|
|
}
|
|
}
|
|
|
|
Projects::
|
|
[/myproject/dependency/tsconfig.json]
|
|
/myproject/dependency/FnS.ts
|
|
[/myproject/tsconfig.json] *modified*
|
|
[/random/tsconfig.json]
|
|
/random/random.ts
|
|
Config::
|
|
[/myproject/dependency/tsconfig.json] *modified*
|
|
RetainingProjects: *modified*
|
|
/myproject/dependency/tsconfig.json
|
|
/myproject/tsconfig.json *new*
|
|
RetainingOpenFiles:
|
|
/myproject/dependency/FnS.ts
|
|
[/myproject/main/tsconfig.json] *new*
|
|
RetainingProjects:
|
|
/myproject/tsconfig.json
|
|
[/myproject/tsconfig.json] *new*
|
|
RetainingProjects:
|
|
/myproject/tsconfig.json
|
|
[/random/tsconfig.json]
|
|
RetainingProjects:
|
|
/random/tsconfig.json
|
|
RetainingOpenFiles:
|
|
/random/random.ts
|
|
|
|
|
|
|
|
|
|
// === findRenameLocations ===
|
|
// === /myproject/dependency/FnS.ts ===
|
|
// export function fn1() { }
|
|
// export function fn2() { }
|
|
// export function /*RENAME*/[|fn3RENAME|]() { }
|
|
// export function fn4() { }
|
|
// export function fn5() { }
|
|
//
|
|
{
|
|
"method": "textDocument/didClose",
|
|
"params": {
|
|
"textDocument": {
|
|
"uri": "file:///random/random.ts"
|
|
}
|
|
}
|
|
}
|
|
|
|
Open Files::
|
|
[/myproject/dependency/FnS.ts]
|
|
/myproject/dependency/tsconfig.json (default)
|
|
[/random/random.ts] *closed*
|
|
|
|
{
|
|
"method": "textDocument/didOpen",
|
|
"params": {
|
|
"textDocument": {
|
|
"uri": "file:///random/random.ts",
|
|
"languageId": "typescript",
|
|
"version": 0,
|
|
"text": "export const a = 10;"
|
|
}
|
|
}
|
|
}
|
|
|
|
Open Files::
|
|
[/myproject/dependency/FnS.ts]
|
|
/myproject/dependency/tsconfig.json (default)
|
|
[/random/random.ts] *new*
|
|
/random/tsconfig.json (default)
|
|
|
|
{
|
|
"method": "textDocument/didClose",
|
|
"params": {
|
|
"textDocument": {
|
|
"uri": "file:///myproject/dependency/FnS.ts"
|
|
}
|
|
}
|
|
}
|
|
|
|
Open Files::
|
|
[/myproject/dependency/FnS.ts] *closed*
|
|
[/random/random.ts]
|
|
/random/tsconfig.json (default)
|
|
|
|
{
|
|
"method": "textDocument/didClose",
|
|
"params": {
|
|
"textDocument": {
|
|
"uri": "file:///random/random.ts"
|
|
}
|
|
}
|
|
}
|
|
|
|
Open Files::
|
|
[/random/random.ts] *closed*
|
|
|
|
{
|
|
"method": "textDocument/didOpen",
|
|
"params": {
|
|
"textDocument": {
|
|
"uri": "file:///random/random.ts",
|
|
"languageId": "typescript",
|
|
"version": 0,
|
|
"text": "export const a = 10;"
|
|
}
|
|
}
|
|
}
|
|
|
|
Projects::
|
|
[/myproject/dependency/tsconfig.json] *deleted*
|
|
/myproject/dependency/FnS.ts
|
|
[/myproject/tsconfig.json] *deleted*
|
|
[/random/tsconfig.json]
|
|
/random/random.ts
|
|
Open Files::
|
|
[/random/random.ts] *new*
|
|
/random/tsconfig.json (default)
|
|
Config::
|
|
[/myproject/dependency/tsconfig.json] *deleted*
|
|
[/myproject/main/tsconfig.json] *deleted*
|
|
[/myproject/tsconfig.json] *deleted*
|
|
[/random/tsconfig.json]
|
|
RetainingProjects:
|
|
/random/tsconfig.json
|
|
RetainingOpenFiles:
|
|
/random/random.ts
|
|
Config File Names::
|
|
[/myproject/dependency/FnS.ts] *deleted*
|
|
[/random/random.ts]
|
|
NearestConfigFileName: /random/tsconfig.json
|