diff --git a/.c8rc.json b/.c8rc.json index cf7d1472ca5..8d56ebe23e7 100644 --- a/.c8rc.json +++ b/.c8rc.json @@ -1,5 +1,5 @@ { - "reporter": ["lcovonly", "cobertura", "v8", "codecov"], + "reporter": ["lcovonly", "cobertura", "v8", "v8-json", "codecov"], "src": "src", "include": ["src/**", "built/local/**"], "exclude": ["**/node_modules/**"], diff --git a/.dprint.jsonc b/.dprint.jsonc index d4bbf5073b2..aaa8e9927a0 100644 --- a/.dprint.jsonc +++ b/.dprint.jsonc @@ -59,8 +59,8 @@ // Note: if adding new languages, make sure settings.template.json is updated too. // Also, if updating typescript, update the one in package.json. "plugins": [ - "https://plugins.dprint.dev/typescript-0.91.4.wasm", + "https://plugins.dprint.dev/typescript-0.91.6.wasm", "https://plugins.dprint.dev/json-0.19.3.wasm", - "https://plugins.dprint.dev/prettier-0.40.0.json@68c668863ec834d4be0f6f5ccaab415df75336a992aceb7eeeb14fdf096a9e9c" + "https://plugins.dprint.dev/prettier-0.46.1.json@e5bd083088a8dfc6e5ce2d3c9bee81489b065bd5345ef55b59f5d96627928b7a" ] } diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index acca35abe99..6987fee6a9e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -38,7 +38,6 @@ body: Please keep and fill in the line that best applies. value: | - - This is a crash - This changed between versions ______ and _______ - This changed in commit or PR _______ - This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d2350a1a1a..83b197fdfaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: run: npm test -- --no-lint --coverage - name: Upload coverage artifact - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: coverage path: coverage @@ -334,7 +334,7 @@ jobs: - name: Upload baseline diff artifact if: ${{ failure() && steps.check-baselines.conclusion == 'failure' }} - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: fix_baselines.patch path: fix_baselines.patch diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 5c75fdb9d5b..ae238b633d5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,7 +46,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13 + uses: github/codeql-action/init@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2 with: config-file: ./.github/codeql/codeql-configuration.yml # Override language selection by uncommenting this and choosing your languages @@ -56,7 +56,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below). - name: Autobuild - uses: github/codeql-action/autobuild@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13 + uses: github/codeql-action/autobuild@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2 # ℹ️ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -70,4 +70,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13 + uses: github/codeql-action/analyze@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2 diff --git a/.github/workflows/release-branch-artifact.yaml b/.github/workflows/release-branch-artifact.yaml index bf2ab33cbaf..927c5d10495 100644 --- a/.github/workflows/release-branch-artifact.yaml +++ b/.github/workflows/release-branch-artifact.yaml @@ -44,7 +44,7 @@ jobs: npm pack ./ mv typescript-*.tgz typescript.tgz - name: Upload built tarfile - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: tgz path: typescript.tgz diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 1507aa453f2..8dca835f7bd 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -34,7 +34,7 @@ jobs: persist-credentials: false - name: 'Run analysis' - uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3 + uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0 with: results_file: results.sarif results_format: sarif @@ -47,7 +47,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: 'Upload artifact' - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 + uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 with: name: SARIF file path: results.sarif @@ -55,6 +55,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: 'Upload to code-scanning' - uses: github/codeql-action/upload-sarif@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13 + uses: github/codeql-action/upload-sarif@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2 with: sarif_file: results.sarif diff --git a/eslint.config.mjs b/eslint.config.mjs index 13729d3ee83..9fd6276e584 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,5 +1,6 @@ // @ts-check import eslint from "@eslint/js"; +import * as regexpPlugin from "eslint-plugin-regexp"; import fs from "fs"; import globals from "globals"; import { createRequire } from "module"; @@ -36,6 +37,7 @@ export default tseslint.config( eslint.configs.recommended, ...tseslint.configs.recommended, ...tseslint.configs.stylistic, + regexpPlugin.configs["flat/recommended"], { plugins: { local: { @@ -123,24 +125,15 @@ export default tseslint.config( "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/ban-types": [ - "error", - { - extendDefaults: true, - types: { - // This is theoretically good, but ts-eslint appears to mistake our declaration of Symbol for the global Symbol type. - // See: https://github.com/typescript-eslint/typescript-eslint/issues/7306 - "Symbol": false, - "{}": false, // {} is a totally useful and valid type. - }, - }, - ], + "@typescript-eslint/no-empty-object-type": "off", // {} is a totally useful and valid type. + "@typescript-eslint/no-require-imports": "off", "@typescript-eslint/no-unused-vars": [ "warn", { // Ignore: (solely underscores | starting with exactly one underscore) argsIgnorePattern: "^(_+$|_[^_])", varsIgnorePattern: "^(_+$|_[^_])", + // Not setting an ignore pattern for caught errors; those can always be safely removed. }, ], "@typescript-eslint/no-inferrable-types": "off", @@ -162,6 +155,7 @@ export default tseslint.config( "local/no-keywords": "error", "local/jsdoc-format": "error", "local/js-extensions": "error", + "local/no-array-mutating-method-expressions": "error", }, }, { @@ -210,12 +204,21 @@ export default tseslint.config( { name: "clearImmediate" }, { name: "performance" }, ], + "local/no-direct-import": "error", }, }, { files: ["src/harness/**", "src/testRunner/**"], rules: { "no-restricted-globals": "off", + "regexp/no-super-linear-backtracking": "off", + "local/no-direct-import": "off", + }, + }, + { + files: ["src/**/_namespaces/**"], + rules: { + "local/no-direct-import": "off", }, }, { @@ -231,7 +234,8 @@ export default tseslint.config( "@typescript-eslint/interface-name-prefix": "off", "@typescript-eslint/prefer-function-type": "off", "@typescript-eslint/unified-signatures": "off", - "@typescript-eslint/ban-types": "off", + "@typescript-eslint/no-unsafe-function-type": "off", + "@typescript-eslint/no-wrapper-object-types": "off", "@typescript-eslint/no-unused-vars": "off", // scripts/eslint/rules diff --git a/package-lock.json b/package-lock.json index 8e27c99204a..35d3d90a599 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,11 +14,11 @@ }, "devDependencies": { "@dprint/formatter": "^0.4.1", - "@dprint/typescript": "0.91.4", + "@dprint/typescript": "0.91.6", "@esfx/canceltoken": "^1.0.0", - "@eslint/js": "^8.57.0", + "@eslint/js": "^9.9.0", "@octokit/rest": "^21.0.1", - "@types/chai": "^4.3.16", + "@types/chai": "^4.3.17", "@types/diff": "^5.2.1", "@types/minimist": "^1.2.5", "@types/mocha": "^10.0.7", @@ -26,34 +26,37 @@ "@types/node": "latest", "@types/source-map-support": "^0.5.10", "@types/which": "^3.0.4", - "@typescript-eslint/utils": "^7.17.0", - "azure-devops-node-api": "^14.0.1", + "@typescript-eslint/rule-tester": "^8.1.0", + "@typescript-eslint/type-utils": "^8.1.0", + "@typescript-eslint/utils": "^8.1.0", + "azure-devops-node-api": "^14.0.2", "c8": "^10.1.2", - "chai": "^4.4.1", + "chai": "^4.5.0", "chalk": "^4.1.2", "chokidar": "^3.6.0", "diff": "^5.2.0", "dprint": "^0.47.2", "esbuild": "^0.23.0", - "eslint": "^8.57.0", - "eslint-formatter-autolinkable-stylish": "^1.3.0", - "fast-xml-parser": "^4.4.0", + "eslint": "^9.9.0", + "eslint-formatter-autolinkable-stylish": "^1.4.0", + "eslint-plugin-regexp": "^2.6.0", + "fast-xml-parser": "^4.4.1", "glob": "^10.4.5", - "globals": "^13.24.0", + "globals": "^15.9.0", "hereby": "^1.9.0", "jsonc-parser": "^3.3.1", - "knip": "^5.26.0", + "knip": "^5.27.2", "minimist": "^1.2.8", - "mocha": "^10.7.0", + "mocha": "^10.7.3", "mocha-fivemat-progress-reporter": "^0.1.0", - "monocart-coverage-reports": "^2.9.3", + "monocart-coverage-reports": "^2.10.2", "ms": "^2.1.3", "node-fetch": "^3.3.2", - "playwright": "^1.45.3", + "playwright": "^1.46.0", "source-map-support": "^0.5.21", "tslib": "^2.6.3", "typescript": "^5.5.4", - "typescript-eslint": "^7.17.0", + "typescript-eslint": "^8.1.0", "which": "^3.0.1" }, "engines": { @@ -151,9 +154,9 @@ ] }, "node_modules/@dprint/typescript": { - "version": "0.91.4", - "resolved": "https://registry.npmjs.org/@dprint/typescript/-/typescript-0.91.4.tgz", - "integrity": "sha512-je/T8JF07xehOVS7rx6Xo7T8Aa1Sd/p/+e/b/J2RE8yJHu09O+L0aHBSvec+usjR8/QwCu23AuDLl47zFSey5Q==", + "version": "0.91.6", + "resolved": "https://registry.npmjs.org/@dprint/typescript/-/typescript-0.91.6.tgz", + "integrity": "sha512-rbgODMD0hsQJ6w32eMELqt+KnkzxVVLT4qRMcvlz8PsFwSPyIfBslpZcFhmJWdyurVKKNcUPNC6Aq9PcUIX13w==", "dev": true }, "node_modules/@dprint/win32-arm64": { @@ -616,16 +619,30 @@ "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, + "node_modules/@eslint/config-array": { + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.17.1.tgz", + "integrity": "sha512-BlYOpej8AQ8Ev9xVqroV7a02JK3SkBAaN9GfMMH9W6Ch8FlQlkjGw4Ir7+FgYwfirivAf4t+GtzuAxqfukmISA==", + "dev": true, + "dependencies": { + "@eslint/object-schema": "^2.1.4", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", + "espree": "^10.0.1", + "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -633,78 +650,40 @@ "strip-json-comments": "^3.1.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" } }, - "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@eslint/eslintrc/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, "engines": { - "node": "*" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.0.tgz", + "integrity": "sha512-hhetes6ZHP3BlXLxmd8K2SNgkhNSi+UcecbnwWKwpP7kyi/uC75DJ1lOOBO3xrC4jyojtGE3YxKZPHfk4yrgug==", "dev": true, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", - "deprecated": "Use @eslint/config-array instead", + "node_modules/@eslint/object-schema": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", + "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", "dev": true, - "dependencies": { - "@humanwhocodes/object-schema": "^2.0.2", - "debug": "^4.3.1", - "minimatch": "^3.0.5" - }, "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/@humanwhocodes/module-importer": { @@ -720,12 +699,18 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", - "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", - "deprecated": "Use @eslint/object-schema instead", - "dev": true + "node_modules/@humanwhocodes/retry": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.0.tgz", + "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==", + "dev": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } }, "node_modules/@isaacs/cliui": { "version": "8.0.2", @@ -1021,9 +1006,9 @@ } }, "node_modules/@types/chai": { - "version": "4.3.16", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.16.tgz", - "integrity": "sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==", + "version": "4.3.17", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.17.tgz", + "integrity": "sha512-zmZ21EWzR71B4Sscphjief5djsLre50M6lI622OSySTmn9DB3j+C3kWroHfBQWXbOBwbgg/M8CG/hUxDLIloow==", "dev": true }, "node_modules/@types/diff": { @@ -1057,12 +1042,12 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.14.11", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.11.tgz", - "integrity": "sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==", + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.2.0.tgz", + "integrity": "sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==", "dev": true, "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.13.0" } }, "node_modules/@types/source-map-support": { @@ -1081,31 +1066,31 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.17.0.tgz", - "integrity": "sha512-pyiDhEuLM3PuANxH7uNYan1AaFs5XE0zw1hq69JBvGvE7gSuEoQl1ydtEe/XQeoC3GQxLXyOVa5kNOATgM638A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz", + "integrity": "sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.17.0", - "@typescript-eslint/type-utils": "7.17.0", - "@typescript-eslint/utils": "7.17.0", - "@typescript-eslint/visitor-keys": "7.17.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/type-utils": "8.1.0", + "@typescript-eslint/utils": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^7.0.0", - "eslint": "^8.56.0" + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1114,26 +1099,26 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.17.0.tgz", - "integrity": "sha512-puiYfGeg5Ydop8eusb/Hy1k7QmOU6X3nvsqCgzrB2K4qMavK//21+PzNE8qeECgNOIoertJPUC1SpegHDI515A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", + "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "7.17.0", - "@typescript-eslint/types": "7.17.0", - "@typescript-eslint/typescript-estree": "7.17.0", - "@typescript-eslint/visitor-keys": "7.17.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -1141,17 +1126,42 @@ } } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.17.0.tgz", - "integrity": "sha512-0P2jTTqyxWp9HiKLu/Vemr2Rg1Xb5B7uHItdVZ6iAenXmPo4SZ86yOPCJwMqpCyaMiEHTNqizHfsbmCFT1x9SA==", + "node_modules/@typescript-eslint/rule-tester": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/rule-tester/-/rule-tester-8.1.0.tgz", + "integrity": "sha512-shzRkkwKoCUCV1lttzqMFsKnbsOWQ0vjfxe1q3kDjrqdhKkQ/t3t3GwHk0QqjYQd7NUjKk2EB+nNaNI//0IL7Q==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.17.0", - "@typescript-eslint/visitor-keys": "7.17.0" + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/utils": "8.1.0", + "ajv": "^6.12.6", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "4.6.2", + "semver": "^7.6.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@eslint/eslintrc": ">=2", + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz", + "integrity": "sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1159,26 +1169,23 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.17.0.tgz", - "integrity": "sha512-XD3aaBt+orgkM/7Cei0XNEm1vwUxQ958AOLALzPlbPqb8C1G8PZK85tND7Jpe69Wualri81PLU+Zc48GVKIMMA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz", + "integrity": "sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "7.17.0", - "@typescript-eslint/utils": "7.17.0", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/utils": "8.1.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "^8.56.0" - }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -1186,12 +1193,12 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.17.0.tgz", - "integrity": "sha512-a29Ir0EbyKTKHnZWbNsrc/gqfIBqYPwj3F2M+jWE/9bqfEHg0AMtXzkbUkOG6QgEScxh2+Pz9OXe11jHDnHR7A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.1.0.tgz", + "integrity": "sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==", "dev": true, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1199,13 +1206,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.17.0.tgz", - "integrity": "sha512-72I3TGq93t2GoSBWI093wmKo0n6/b7O4j9o8U+f65TVD0FS6bI2180X5eGEr8MA8PhKMvYe9myZJquUT2JkCZw==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz", + "integrity": "sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.17.0", - "@typescript-eslint/visitor-keys": "7.17.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1214,7 +1221,7 @@ "ts-api-utils": "^1.3.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", @@ -1226,51 +1233,69 @@ } } }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@typescript-eslint/utils": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.17.0.tgz", - "integrity": "sha512-r+JFlm5NdB+JXc7aWWZ3fKSm1gn0pkswEwIYsrGPdsT2GjsRATAKXiNtp3vgAAO1xZhX8alIOEQnNMl3kbTgJw==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.1.0.tgz", + "integrity": "sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.17.0", - "@typescript-eslint/types": "7.17.0", - "@typescript-eslint/typescript-estree": "7.17.0" + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.56.0" + "eslint": "^8.57.0 || ^9.0.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.17.0.tgz", - "integrity": "sha512-RVGC9UhPOCsfCdI9pU++K4nD7to+jTcMIbXTSOcrLqUEW6gF2pU1UUbYJKc9cvcRSK1UDeMJ7pdMxf4bhMpV/A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz", + "integrity": "sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==", "dev": true, "dependencies": { - "@typescript-eslint/types": "7.17.0", + "@typescript-eslint/types": "8.1.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true - }, "node_modules/acorn": { "version": "8.12.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", @@ -1425,9 +1450,9 @@ } }, "node_modules/azure-devops-node-api": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-14.0.1.tgz", - "integrity": "sha512-oVnFfTNmergd3JU852EpGY64d1nAxW8lCyzZqFDPhfQVZkdApBeK/ZMN7yoFiq/C50Ru304X1L/+BFblh2SRJw==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-14.0.2.tgz", + "integrity": "sha512-TwjAEnWnOSZ2oypkDyqppgvJw43qArEfPiJtEWLL3NBgdvAuOuB0xgFz/Eiz4H6Dk0Yv52wCodZxtZvAMhJXwQ==", "dev": true, "dependencies": { "tunnel": "0.0.6", @@ -1462,12 +1487,13 @@ } }, "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "dependencies": { - "balanced-match": "^1.0.0" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, "node_modules/braces": { @@ -1568,9 +1594,9 @@ } }, "node_modules/chai": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.4.1.tgz", - "integrity": "sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", "dev": true, "dependencies": { "assertion-error": "^1.1.0", @@ -1579,7 +1605,7 @@ "get-func-name": "^2.0.2", "loupe": "^2.3.6", "pathval": "^1.1.1", - "type-detect": "^4.0.8" + "type-detect": "^4.1.0" }, "engines": { "node": ">=4" @@ -1820,6 +1846,15 @@ "node": ">= 6" } }, + "node_modules/comment-parser": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", + "dev": true, + "engines": { + "node": ">= 12.0.0" + } + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -1877,9 +1912,9 @@ } }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -1987,15 +2022,6 @@ "node": ">=0.3.1" } }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -2008,18 +2034,6 @@ "node": ">=8" } }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/dprint": { "version": "0.47.2", "resolved": "https://registry.npmjs.org/dprint/-/dprint-0.47.2.tgz", @@ -2070,6 +2084,19 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, + "node_modules/enhanced-resolve": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", + "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, "node_modules/es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", @@ -2152,41 +2179,37 @@ } }, "node_modules/eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.0.tgz", + "integrity": "sha512-JfiKJrbx0506OEerjK2Y1QlldtBxkAlLxT5OEcRF8uaQ86noDe2k31Vw9rnSWv+MXZHj7OOUV/dA0AhdLFcyvA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint-community/regexpp": "^4.11.0", + "@eslint/config-array": "^0.17.1", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.9.0", "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.3.0", "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", + "eslint-scope": "^8.0.2", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", @@ -2200,39 +2223,65 @@ "eslint": "bin/eslint.js" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } } }, "node_modules/eslint-formatter-autolinkable-stylish": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-formatter-autolinkable-stylish/-/eslint-formatter-autolinkable-stylish-1.3.0.tgz", - "integrity": "sha512-vAlu6l+WbYOrOjlVeSDXBIjJKWRbcwSYV4fQ/zBzYK/kom3Gq7JKuLzumzd8w7E6M4UPnmtYAELnOXJW5x+esA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/eslint-formatter-autolinkable-stylish/-/eslint-formatter-autolinkable-stylish-1.4.0.tgz", + "integrity": "sha512-fz60p32XUn4o5XaqApuTGu6gUPsAW0pB4IjFb1ER5hdpS7S2OgO29jocnecUlv8fsVx8B8jRviLjkAjv2IQ72g==", "dev": true, "dependencies": { "chalk": "^4.1.2", "plur": "^4.0.0" }, + "peerDependencies": { + "eslint": "^8.3.0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-regexp": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-regexp/-/eslint-plugin-regexp-2.6.0.tgz", + "integrity": "sha512-FCL851+kislsTEQEMioAlpDuK5+E5vs0hi1bF8cFlPlHcEjeRhuAzEsGikXRreE+0j4WhW2uO54MqTjXtYOi3A==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.9.1", + "comment-parser": "^1.4.0", + "jsdoc-type-pratt-parser": "^4.0.0", + "refa": "^0.12.1", + "regexp-ast-analysis": "^0.7.1", + "scslre": "^0.3.0" + }, "engines": { - "node": ">=0.10.0" + "node": "^18 || >=20" }, "peerDependencies": { - "eslint": "^8.3.0" + "eslint": ">=8.44.0" } }, "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.0.2.tgz", + "integrity": "sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==", "dev": true, "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" @@ -2250,14 +2299,16 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/eslint/node_modules/glob-parent": { @@ -2272,30 +2323,30 @@ "node": ">=10.13.0" } }, - "node_modules/eslint/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "node_modules/espree": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", + "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", "dev": true, "dependencies": { - "brace-expansion": "^1.1.7" + "acorn": "^8.12.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.0.0" }, "engines": { - "node": "*" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", "dev": true, - "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "url": "https://opencollective.com/eslint" @@ -2378,9 +2429,9 @@ "dev": true }, "node_modules/fast-xml-parser": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.0.tgz", - "integrity": "sha512-kLY3jFlwIYwBNDojclKsNAC12sfD6NwW74QB2CoNGPvtVxjliYehVunB3HYyNi+n4Tt1dAcgwYvmKF/Z18flqg==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz", + "integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==", "dev": true, "funding": [ { @@ -2441,15 +2492,15 @@ } }, "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "dependencies": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16.0.0" } }, "node_modules/fill-range": { @@ -2490,17 +2541,16 @@ } }, "node_modules/flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "dependencies": { "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" + "keyv": "^4.5.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16" } }, "node_modules/flatted": { @@ -2510,9 +2560,9 @@ "dev": true }, "node_modules/foreground-child": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", - "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", "dev": true, "dependencies": { "cross-spawn": "^7.0.0", @@ -2635,16 +2685,37 @@ "node": ">= 6" } }, - "node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "dependencies": { - "type-fest": "^0.20.2" + "balanced-match": "^1.0.0" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/globals": { + "version": "15.9.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.9.0.tgz", + "integrity": "sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==", + "dev": true, + "engines": { + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -2682,6 +2753,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -2780,9 +2857,9 @@ "dev": true }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "engines": { "node": ">= 4" @@ -2860,21 +2937,6 @@ "node": ">=8" } }, - "node_modules/is-core-module": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", - "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", - "dev": true, - "dependencies": { - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -3028,6 +3090,15 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jsdoc-type-pratt-parser": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz", + "integrity": "sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==", + "dev": true, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -3062,9 +3133,9 @@ } }, "node_modules/knip": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/knip/-/knip-5.26.0.tgz", - "integrity": "sha512-vOp+Wk86aqlPwElrUpxXyg6Q8w+j0j6wuzyu5p6k/mBWUI8iP91PCAz1Jzz9PGq5JYdptV7rFBYB9vHr7AFgqg==", + "version": "5.27.2", + "resolved": "https://registry.npmjs.org/knip/-/knip-5.27.2.tgz", + "integrity": "sha512-Mya1XEDq1oygibQf0uocQd02Fil8RtvNVhcFAcxypjcc6zakT7wsJtS0xvuwEitilfI0tiFC9PghmJQ3DMKuTg==", "dev": true, "funding": [ { @@ -3084,6 +3155,7 @@ "@nodelib/fs.walk": "1.2.8", "@snyk/github-codeowners": "1.1.0", "easy-table": "1.2.0", + "enhanced-resolve": "^5.17.1", "fast-glob": "^3.3.2", "jiti": "^1.21.6", "js-yaml": "^4.1.0", @@ -3091,7 +3163,6 @@ "picocolors": "^1.0.0", "picomatch": "^4.0.1", "pretty-ms": "^9.0.0", - "resolve": "^1.22.8", "smol-toml": "^1.1.4", "strip-json-comments": "5.0.1", "summary": "2.1.0", @@ -3135,9 +3206,9 @@ } }, "node_modules/knip/node_modules/pretty-ms": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.0.0.tgz", - "integrity": "sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.1.0.tgz", + "integrity": "sha512-o1piW0n3tgKIKCwk2vpM/vOV13zjJzvP37Ioze54YlTHE06m4tjEbzg9WsKkvTuyYln2DHjo5pY4qrZGI0otpw==", "dev": true, "dependencies": { "parse-ms": "^4.0.0" @@ -3227,9 +3298,9 @@ "dev": true }, "node_modules/lz-utils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/lz-utils/-/lz-utils-2.0.2.tgz", - "integrity": "sha512-i1PJN4hNEevkrvLMqNWCCac1BcB5SRaghywG7HVzWOyVkFOasLCG19ND1sY1F/ZEsM6SnGtoXyBWnmfqOM5r6g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lz-utils/-/lz-utils-2.1.0.tgz", + "integrity": "sha512-CMkfimAypidTtWjNDxY8a1bc1mJdyEh04V2FfEQ5Zh8Nx4v7k850EYa+dOWGn9hKG5xOyHP5MkuduAZCTHRvJw==", "dev": true }, "node_modules/make-dir": { @@ -3276,18 +3347,15 @@ "dev": true }, "node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^1.1.7" }, "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": "*" } }, "node_modules/minimist": { @@ -3309,9 +3377,9 @@ } }, "node_modules/mocha": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.0.tgz", - "integrity": "sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA==", + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", + "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", "dev": true, "dependencies": { "ansi-colors": "^4.1.3", @@ -3349,6 +3417,15 @@ "integrity": "sha512-nCf6dmCEHObJ8BBrcjW+UHYvVtHEL+FliYR/Mfc/v7dKenNmBQ0ZSuvlICgsyQy9Tt581ldvh+SReS4qp4LrQw==", "dev": true }, + "node_modules/mocha/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, "node_modules/mocha/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -3471,16 +3548,10 @@ "node": ">=10" } }, - "node_modules/monocart-code-viewer": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/monocart-code-viewer/-/monocart-code-viewer-1.1.4.tgz", - "integrity": "sha512-ehSe1lBG7D1VDVLjTkHV63J3zAgzyhlC9OaxOri7D0X4L5/EcZUOG5TEoMmYErL+YGSOQXghU9kSSAelwNnp1Q==", - "dev": true - }, "node_modules/monocart-coverage-reports": { - "version": "2.9.3", - "resolved": "https://registry.npmjs.org/monocart-coverage-reports/-/monocart-coverage-reports-2.9.3.tgz", - "integrity": "sha512-guRHe/+FGwUc1x1XT4eKW4za5j9MQcq5Vp7CIZfzoGY1mwVp8LKZpDJUjoBkYAb5Xb+7CFAY3lSyNaQ8FKS6oQ==", + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/monocart-coverage-reports/-/monocart-coverage-reports-2.10.2.tgz", + "integrity": "sha512-bc/trWb39E7CxT6IQ8AG+JNkW9wo3yw5zMlFHzLqn1dZxHx1rRv/z/GmbvZ6saG3SSQPtarcpiEAaF3WjVFLTg==", "dev": true, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", @@ -3490,18 +3561,13 @@ "acorn-walk": "^8.3.3", "commander": "^12.1.0", "console-grid": "^2.2.2", - "diff-sequences": "^29.6.3", "eight-colors": "^1.3.0", "foreground-child": "^3.2.1", "istanbul-lib-coverage": "^3.2.2", "istanbul-lib-report": "^3.0.1", "istanbul-reports": "^3.1.7", - "lz-utils": "^2.0.2", - "minimatch": "9.0.5", - "monocart-code-viewer": "^1.1.4", - "monocart-formatter": "^3.0.0", - "monocart-locator": "^1.0.2", - "turbogrid": "^3.2.0" + "lz-utils": "^2.1.0", + "monocart-locator": "^1.0.2" }, "bin": { "mcr": "lib/cli.js" @@ -3516,12 +3582,6 @@ "node": ">=18" } }, - "node_modules/monocart-formatter": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/monocart-formatter/-/monocart-formatter-3.0.0.tgz", - "integrity": "sha512-91OQpUb/9iDqvrblUv6ki11Jxi1d3Fp5u2jfVAPl3UdNp9TM+iBleLzXntUS51W0o+zoya3CJjZZ01z2XWn25g==", - "dev": true - }, "node_modules/monocart-locator": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/monocart-locator/-/monocart-locator-1.0.2.tgz", @@ -3708,15 +3768,6 @@ "node": ">=8" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", @@ -3726,12 +3777,6 @@ "node": ">=8" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, "node_modules/path-scurry": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", @@ -3785,12 +3830,12 @@ } }, "node_modules/playwright": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", - "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.0.tgz", + "integrity": "sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==", "dev": true, "dependencies": { - "playwright-core": "1.45.3" + "playwright-core": "1.46.0" }, "bin": { "playwright": "cli.js" @@ -3803,9 +3848,9 @@ } }, "node_modules/playwright-core": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", - "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.0.tgz", + "integrity": "sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==", "dev": true, "bin": { "playwright-core": "cli.js" @@ -3877,9 +3922,9 @@ } }, "node_modules/qs": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.3.tgz", - "integrity": "sha512-AWJm14H1vVaO/iNZ4/hO+HyaTehuy9nRqVdkTqlJt0HWvBiBIEXFmb4C0DGeYo3Xes9rrEW+TxHsaigCbN5ICQ==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "dependencies": { "side-channel": "^1.0.6" @@ -3941,6 +3986,31 @@ "node": ">=6" } }, + "node_modules/refa": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/refa/-/refa-0.12.1.tgz", + "integrity": "sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.8.0" + }, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/regexp-ast-analysis": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/regexp-ast-analysis/-/regexp-ast-analysis-0.7.1.tgz", + "integrity": "sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.8.0", + "refa": "^0.12.1" + }, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -3950,23 +4020,6 @@ "node": ">=0.10.0" } }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", @@ -3986,65 +4039,6 @@ "node": ">=0.10.0" } }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -4088,6 +4082,20 @@ } ] }, + "node_modules/scslre": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/scslre/-/scslre-0.3.0.tgz", + "integrity": "sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==", + "dev": true, + "dependencies": { + "@eslint-community/regexpp": "^4.8.0", + "refa": "^0.12.0", + "regexp-ast-analysis": "^0.7.0" + }, + "engines": { + "node": "^14.0.0 || >=16.0.0" + } + }, "node_modules/semver": { "version": "7.6.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", @@ -4343,18 +4351,6 @@ "node": ">=8" } }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/table-layout": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.2.tgz", @@ -4370,6 +4366,15 @@ "node": ">=8.0.0" } }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/test-exclude": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz", @@ -4384,6 +4389,30 @@ "node": ">=18" } }, + "node_modules/test-exclude/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/test-exclude/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", @@ -4429,12 +4458,6 @@ "node": ">=0.6.11 <=0.7.0 || >=0.7.3" } }, - "node_modules/turbogrid": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/turbogrid/-/turbogrid-3.2.0.tgz", - "integrity": "sha512-c+2qrCGWzoYpLlxtHgRJ4V5dDRE9fUT7D9maxtdBCqJ0NzCdY+x7xF3/F6cG/+n3VIzKfIS+p9Z/0YMQPf6k/Q==", - "dev": true - }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -4448,26 +4471,14 @@ } }, "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", + "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", "dev": true, "engines": { "node": ">=4" } }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/typed-rest-client": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/typed-rest-client/-/typed-rest-client-2.0.2.tgz", @@ -4498,25 +4509,22 @@ } }, "node_modules/typescript-eslint": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-7.17.0.tgz", - "integrity": "sha512-spQxsQvPguduCUfyUvLItvKqK3l8KJ/kqs5Pb/URtzQ5AC53Z6us32St37rpmlt2uESG23lOFpV4UErrmy4dZQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.1.0.tgz", + "integrity": "sha512-prB2U3jXPJLpo1iVLN338Lvolh6OrcCZO+9Yv6AR+tvegPPptYCDBIHiEEUdqRi8gAv2bXNKfMUrgAd2ejn/ow==", "dev": true, "dependencies": { - "@typescript-eslint/eslint-plugin": "7.17.0", - "@typescript-eslint/parser": "7.17.0", - "@typescript-eslint/utils": "7.17.0" + "@typescript-eslint/eslint-plugin": "8.1.0", + "@typescript-eslint/parser": "8.1.0", + "@typescript-eslint/utils": "8.1.0" }, "engines": { - "node": "^18.18.0 || >=20.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependencies": { - "eslint": "^8.56.0" - }, "peerDependenciesMeta": { "typescript": { "optional": true @@ -4533,15 +4541,15 @@ } }, "node_modules/underscore": { - "version": "1.13.6", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", - "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", + "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", "dev": true }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz", + "integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==", "dev": true }, "node_modules/universal-user-agent": { @@ -4828,9 +4836,9 @@ } }, "node_modules/zod-validation-error": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-3.3.0.tgz", - "integrity": "sha512-Syib9oumw1NTqEv4LT0e6U83Td9aVRk9iTXPUQr1otyV1PuXQKOvOwhMNqZIq5hluzHP2pMgnOmHEo7kPdI2mw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-3.3.1.tgz", + "integrity": "sha512-uFzCZz7FQis256dqw4AhPQgD6f3pzNca/Zh62RNELavlumQB3nDIUFbF5JQfFLcMbO1s02Q7Xg/gpcOBlEnYZA==", "dev": true, "engines": { "node": ">=18.0.0" @@ -4896,9 +4904,9 @@ "optional": true }, "@dprint/typescript": { - "version": "0.91.4", - "resolved": "https://registry.npmjs.org/@dprint/typescript/-/typescript-0.91.4.tgz", - "integrity": "sha512-je/T8JF07xehOVS7rx6Xo7T8Aa1Sd/p/+e/b/J2RE8yJHu09O+L0aHBSvec+usjR8/QwCu23AuDLl47zFSey5Q==", + "version": "0.91.6", + "resolved": "https://registry.npmjs.org/@dprint/typescript/-/typescript-0.91.6.tgz", + "integrity": "sha512-rbgODMD0hsQJ6w32eMELqt+KnkzxVVLT4qRMcvlz8PsFwSPyIfBslpZcFhmJWdyurVKKNcUPNC6Aq9PcUIX13w==", "dev": true }, "@dprint/win32-arm64": { @@ -5124,16 +5132,27 @@ "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true }, + "@eslint/config-array": { + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.17.1.tgz", + "integrity": "sha512-BlYOpej8AQ8Ev9xVqroV7a02JK3SkBAaN9GfMMH9W6Ch8FlQlkjGw4Ir7+FgYwfirivAf4t+GtzuAxqfukmISA==", + "dev": true, + "requires": { + "@eslint/object-schema": "^2.1.4", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + } + }, "@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", "dev": true, "requires": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", + "espree": "^10.0.1", + "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -5141,64 +5160,25 @@ "strip-json-comments": "^3.1.1" }, "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } + "globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true } } }, "@eslint/js": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", - "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.0.tgz", + "integrity": "sha512-hhetes6ZHP3BlXLxmd8K2SNgkhNSi+UcecbnwWKwpP7kyi/uC75DJ1lOOBO3xrC4jyojtGE3YxKZPHfk4yrgug==", "dev": true }, - "@humanwhocodes/config-array": { - "version": "0.11.14", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", - "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", - "dev": true, - "requires": { - "@humanwhocodes/object-schema": "^2.0.2", - "debug": "^4.3.1", - "minimatch": "^3.0.5" - }, - "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } - } + "@eslint/object-schema": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", + "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", + "dev": true }, "@humanwhocodes/module-importer": { "version": "1.0.1", @@ -5206,10 +5186,10 @@ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true }, - "@humanwhocodes/object-schema": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", - "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "@humanwhocodes/retry": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.0.tgz", + "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==", "dev": true }, "@isaacs/cliui": { @@ -5431,9 +5411,9 @@ } }, "@types/chai": { - "version": "4.3.16", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.16.tgz", - "integrity": "sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==", + "version": "4.3.17", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.17.tgz", + "integrity": "sha512-zmZ21EWzR71B4Sscphjief5djsLre50M6lI622OSySTmn9DB3j+C3kWroHfBQWXbOBwbgg/M8CG/hUxDLIloow==", "dev": true }, "@types/diff": { @@ -5467,12 +5447,12 @@ "dev": true }, "@types/node": { - "version": "20.14.11", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.11.tgz", - "integrity": "sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==", + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.2.0.tgz", + "integrity": "sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==", "dev": true, "requires": { - "undici-types": "~5.26.4" + "undici-types": "~6.13.0" } }, "@types/source-map-support": { @@ -5491,16 +5471,16 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.17.0.tgz", - "integrity": "sha512-pyiDhEuLM3PuANxH7uNYan1AaFs5XE0zw1hq69JBvGvE7gSuEoQl1ydtEe/XQeoC3GQxLXyOVa5kNOATgM638A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz", + "integrity": "sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==", "dev": true, "requires": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.17.0", - "@typescript-eslint/type-utils": "7.17.0", - "@typescript-eslint/utils": "7.17.0", - "@typescript-eslint/visitor-keys": "7.17.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/type-utils": "8.1.0", + "@typescript-eslint/utils": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -5508,90 +5488,118 @@ } }, "@typescript-eslint/parser": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.17.0.tgz", - "integrity": "sha512-puiYfGeg5Ydop8eusb/Hy1k7QmOU6X3nvsqCgzrB2K4qMavK//21+PzNE8qeECgNOIoertJPUC1SpegHDI515A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", + "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "7.17.0", - "@typescript-eslint/types": "7.17.0", - "@typescript-eslint/typescript-estree": "7.17.0", - "@typescript-eslint/visitor-keys": "7.17.0", + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4" } }, - "@typescript-eslint/scope-manager": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.17.0.tgz", - "integrity": "sha512-0P2jTTqyxWp9HiKLu/Vemr2Rg1Xb5B7uHItdVZ6iAenXmPo4SZ86yOPCJwMqpCyaMiEHTNqizHfsbmCFT1x9SA==", + "@typescript-eslint/rule-tester": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/rule-tester/-/rule-tester-8.1.0.tgz", + "integrity": "sha512-shzRkkwKoCUCV1lttzqMFsKnbsOWQ0vjfxe1q3kDjrqdhKkQ/t3t3GwHk0QqjYQd7NUjKk2EB+nNaNI//0IL7Q==", "dev": true, "requires": { - "@typescript-eslint/types": "7.17.0", - "@typescript-eslint/visitor-keys": "7.17.0" + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/utils": "8.1.0", + "ajv": "^6.12.6", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "4.6.2", + "semver": "^7.6.0" + } + }, + "@typescript-eslint/scope-manager": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz", + "integrity": "sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0" } }, "@typescript-eslint/type-utils": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.17.0.tgz", - "integrity": "sha512-XD3aaBt+orgkM/7Cei0XNEm1vwUxQ958AOLALzPlbPqb8C1G8PZK85tND7Jpe69Wualri81PLU+Zc48GVKIMMA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz", + "integrity": "sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "7.17.0", - "@typescript-eslint/utils": "7.17.0", + "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/utils": "8.1.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" } }, "@typescript-eslint/types": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.17.0.tgz", - "integrity": "sha512-a29Ir0EbyKTKHnZWbNsrc/gqfIBqYPwj3F2M+jWE/9bqfEHg0AMtXzkbUkOG6QgEScxh2+Pz9OXe11jHDnHR7A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.1.0.tgz", + "integrity": "sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.17.0.tgz", - "integrity": "sha512-72I3TGq93t2GoSBWI093wmKo0n6/b7O4j9o8U+f65TVD0FS6bI2180X5eGEr8MA8PhKMvYe9myZJquUT2JkCZw==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz", + "integrity": "sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==", "dev": true, "requires": { - "@typescript-eslint/types": "7.17.0", - "@typescript-eslint/visitor-keys": "7.17.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/visitor-keys": "8.1.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^1.3.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "@typescript-eslint/utils": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.17.0.tgz", - "integrity": "sha512-r+JFlm5NdB+JXc7aWWZ3fKSm1gn0pkswEwIYsrGPdsT2GjsRATAKXiNtp3vgAAO1xZhX8alIOEQnNMl3kbTgJw==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.1.0.tgz", + "integrity": "sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.17.0", - "@typescript-eslint/types": "7.17.0", - "@typescript-eslint/typescript-estree": "7.17.0" + "@typescript-eslint/scope-manager": "8.1.0", + "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/typescript-estree": "8.1.0" } }, "@typescript-eslint/visitor-keys": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.17.0.tgz", - "integrity": "sha512-RVGC9UhPOCsfCdI9pU++K4nD7to+jTcMIbXTSOcrLqUEW6gF2pU1UUbYJKc9cvcRSK1UDeMJ7pdMxf4bhMpV/A==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz", + "integrity": "sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==", "dev": true, "requires": { - "@typescript-eslint/types": "7.17.0", + "@typescript-eslint/types": "8.1.0", "eslint-visitor-keys": "^3.4.3" } }, - "@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true - }, "acorn": { "version": "8.12.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", @@ -5701,9 +5709,9 @@ "dev": true }, "azure-devops-node-api": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-14.0.1.tgz", - "integrity": "sha512-oVnFfTNmergd3JU852EpGY64d1nAxW8lCyzZqFDPhfQVZkdApBeK/ZMN7yoFiq/C50Ru304X1L/+BFblh2SRJw==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/azure-devops-node-api/-/azure-devops-node-api-14.0.2.tgz", + "integrity": "sha512-TwjAEnWnOSZ2oypkDyqppgvJw43qArEfPiJtEWLL3NBgdvAuOuB0xgFz/Eiz4H6Dk0Yv52wCodZxtZvAMhJXwQ==", "dev": true, "requires": { "tunnel": "0.0.6", @@ -5729,12 +5737,13 @@ "dev": true }, "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { - "balanced-match": "^1.0.0" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, "braces": { @@ -5803,9 +5812,9 @@ "dev": true }, "chai": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.4.1.tgz", - "integrity": "sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", "dev": true, "requires": { "assertion-error": "^1.1.0", @@ -5814,7 +5823,7 @@ "get-func-name": "^2.0.2", "loupe": "^2.3.6", "pathval": "^1.1.1", - "type-detect": "^4.0.8" + "type-detect": "^4.1.0" } }, "chalk": { @@ -5997,6 +6006,12 @@ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", "dev": true }, + "comment-parser": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", + "dev": true + }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -6044,9 +6059,9 @@ "dev": true }, "debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "dev": true, "requires": { "ms": "2.1.2" @@ -6124,12 +6139,6 @@ "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", "dev": true }, - "diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true - }, "dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", @@ -6139,15 +6148,6 @@ "path-type": "^4.0.0" } }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, "dprint": { "version": "0.47.2", "resolved": "https://registry.npmjs.org/dprint/-/dprint-0.47.2.tgz", @@ -6192,6 +6192,16 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, + "enhanced-resolve": { + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", + "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + } + }, "es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", @@ -6252,41 +6262,37 @@ "dev": true }, "eslint": { - "version": "8.57.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", - "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.0.tgz", + "integrity": "sha512-JfiKJrbx0506OEerjK2Y1QlldtBxkAlLxT5OEcRF8uaQ86noDe2k31Vw9rnSWv+MXZHj7OOUV/dA0AhdLFcyvA==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.57.0", - "@humanwhocodes/config-array": "^0.11.14", + "@eslint-community/regexpp": "^4.11.0", + "@eslint/config-array": "^0.17.1", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.9.0", "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.3.0", "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", + "eslint-scope": "^8.0.2", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", @@ -6297,15 +6303,11 @@ "text-table": "^0.2.0" }, "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } + "eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "dev": true }, "glob-parent": { "version": "6.0.2", @@ -6315,32 +6317,38 @@ "requires": { "is-glob": "^4.0.3" } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } } } }, "eslint-formatter-autolinkable-stylish": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-formatter-autolinkable-stylish/-/eslint-formatter-autolinkable-stylish-1.3.0.tgz", - "integrity": "sha512-vAlu6l+WbYOrOjlVeSDXBIjJKWRbcwSYV4fQ/zBzYK/kom3Gq7JKuLzumzd8w7E6M4UPnmtYAELnOXJW5x+esA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/eslint-formatter-autolinkable-stylish/-/eslint-formatter-autolinkable-stylish-1.4.0.tgz", + "integrity": "sha512-fz60p32XUn4o5XaqApuTGu6gUPsAW0pB4IjFb1ER5hdpS7S2OgO29jocnecUlv8fsVx8B8jRviLjkAjv2IQ72g==", "dev": true, "requires": { "chalk": "^4.1.2", "plur": "^4.0.0" } }, + "eslint-plugin-regexp": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-regexp/-/eslint-plugin-regexp-2.6.0.tgz", + "integrity": "sha512-FCL851+kislsTEQEMioAlpDuK5+E5vs0hi1bF8cFlPlHcEjeRhuAzEsGikXRreE+0j4WhW2uO54MqTjXtYOi3A==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.9.1", + "comment-parser": "^1.4.0", + "jsdoc-type-pratt-parser": "^4.0.0", + "refa": "^0.12.1", + "regexp-ast-analysis": "^0.7.1", + "scslre": "^0.3.0" + } + }, "eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.0.2.tgz", + "integrity": "sha512-6E4xmrTw5wtxnLA5wYL3WDfhZ/1bUBGOXV0zQvVRDOtrR8D0p6W7fs3JweNYhwRYeGvd/1CKX2se0/2s7Q/nJA==", "dev": true, "requires": { "esrecurse": "^4.3.0", @@ -6354,14 +6362,22 @@ "dev": true }, "espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.1.0.tgz", + "integrity": "sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==", "dev": true, "requires": { - "acorn": "^8.9.0", + "acorn": "^8.12.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^4.0.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "dev": true + } } }, "esquery": { @@ -6426,9 +6442,9 @@ "dev": true }, "fast-xml-parser": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.0.tgz", - "integrity": "sha512-kLY3jFlwIYwBNDojclKsNAC12sfD6NwW74QB2CoNGPvtVxjliYehVunB3HYyNi+n4Tt1dAcgwYvmKF/Z18flqg==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz", + "integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==", "dev": true, "requires": { "strnum": "^1.0.5" @@ -6460,12 +6476,12 @@ } }, "file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "requires": { - "flat-cache": "^3.0.4" + "flat-cache": "^4.0.0" } }, "fill-range": { @@ -6494,14 +6510,13 @@ "dev": true }, "flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, "requires": { "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" + "keyv": "^4.5.4" } }, "flatted": { @@ -6511,9 +6526,9 @@ "dev": true }, "foreground-child": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", - "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", "dev": true, "requires": { "cross-spawn": "^7.0.0", @@ -6585,6 +6600,26 @@ "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "glob-parent": { @@ -6597,13 +6632,10 @@ } }, "globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } + "version": "15.9.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.9.0.tgz", + "integrity": "sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==", + "dev": true }, "globby": { "version": "11.1.0", @@ -6628,6 +6660,12 @@ "get-intrinsic": "^1.1.3" } }, + "graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, "graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -6696,9 +6734,9 @@ "dev": true }, "ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true }, "import-fresh": { @@ -6754,15 +6792,6 @@ "binary-extensions": "^2.0.0" } }, - "is-core-module": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", - "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", - "dev": true, - "requires": { - "hasown": "^2.0.2" - } - }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -6872,6 +6901,12 @@ "argparse": "^2.0.1" } }, + "jsdoc-type-pratt-parser": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz", + "integrity": "sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==", + "dev": true + }, "json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -6906,14 +6941,15 @@ } }, "knip": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/knip/-/knip-5.26.0.tgz", - "integrity": "sha512-vOp+Wk86aqlPwElrUpxXyg6Q8w+j0j6wuzyu5p6k/mBWUI8iP91PCAz1Jzz9PGq5JYdptV7rFBYB9vHr7AFgqg==", + "version": "5.27.2", + "resolved": "https://registry.npmjs.org/knip/-/knip-5.27.2.tgz", + "integrity": "sha512-Mya1XEDq1oygibQf0uocQd02Fil8RtvNVhcFAcxypjcc6zakT7wsJtS0xvuwEitilfI0tiFC9PghmJQ3DMKuTg==", "dev": true, "requires": { "@nodelib/fs.walk": "1.2.8", "@snyk/github-codeowners": "1.1.0", "easy-table": "1.2.0", + "enhanced-resolve": "^5.17.1", "fast-glob": "^3.3.2", "jiti": "^1.21.6", "js-yaml": "^4.1.0", @@ -6921,7 +6957,6 @@ "picocolors": "^1.0.0", "picomatch": "^4.0.1", "pretty-ms": "^9.0.0", - "resolve": "^1.22.8", "smol-toml": "^1.1.4", "strip-json-comments": "5.0.1", "summary": "2.1.0", @@ -6942,9 +6977,9 @@ "dev": true }, "pretty-ms": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.0.0.tgz", - "integrity": "sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.1.0.tgz", + "integrity": "sha512-o1piW0n3tgKIKCwk2vpM/vOV13zjJzvP37Ioze54YlTHE06m4tjEbzg9WsKkvTuyYln2DHjo5pY4qrZGI0otpw==", "dev": true, "requires": { "parse-ms": "^4.0.0" @@ -7009,9 +7044,9 @@ "dev": true }, "lz-utils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/lz-utils/-/lz-utils-2.0.2.tgz", - "integrity": "sha512-i1PJN4hNEevkrvLMqNWCCac1BcB5SRaghywG7HVzWOyVkFOasLCG19ND1sY1F/ZEsM6SnGtoXyBWnmfqOM5r6g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lz-utils/-/lz-utils-2.1.0.tgz", + "integrity": "sha512-CMkfimAypidTtWjNDxY8a1bc1mJdyEh04V2FfEQ5Zh8Nx4v7k850EYa+dOWGn9hKG5xOyHP5MkuduAZCTHRvJw==", "dev": true }, "make-dir": { @@ -7046,12 +7081,12 @@ "dev": true }, "minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "requires": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^1.1.7" } }, "minimist": { @@ -7067,9 +7102,9 @@ "dev": true }, "mocha": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.0.tgz", - "integrity": "sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA==", + "version": "10.7.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.7.3.tgz", + "integrity": "sha512-uQWxAu44wwiACGqjbPYmjo7Lg8sFrS3dQe7PP2FQI+woptP4vZXSMcfMyFL/e1yFEeEpV4RtyTpZROOKmxis+A==", "dev": true, "requires": { "ansi-colors": "^4.1.3", @@ -7094,6 +7129,15 @@ "yargs-unparser": "^2.0.0" }, "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -7193,16 +7237,10 @@ "integrity": "sha512-nCf6dmCEHObJ8BBrcjW+UHYvVtHEL+FliYR/Mfc/v7dKenNmBQ0ZSuvlICgsyQy9Tt581ldvh+SReS4qp4LrQw==", "dev": true }, - "monocart-code-viewer": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/monocart-code-viewer/-/monocart-code-viewer-1.1.4.tgz", - "integrity": "sha512-ehSe1lBG7D1VDVLjTkHV63J3zAgzyhlC9OaxOri7D0X4L5/EcZUOG5TEoMmYErL+YGSOQXghU9kSSAelwNnp1Q==", - "dev": true - }, "monocart-coverage-reports": { - "version": "2.9.3", - "resolved": "https://registry.npmjs.org/monocart-coverage-reports/-/monocart-coverage-reports-2.9.3.tgz", - "integrity": "sha512-guRHe/+FGwUc1x1XT4eKW4za5j9MQcq5Vp7CIZfzoGY1mwVp8LKZpDJUjoBkYAb5Xb+7CFAY3lSyNaQ8FKS6oQ==", + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/monocart-coverage-reports/-/monocart-coverage-reports-2.10.2.tgz", + "integrity": "sha512-bc/trWb39E7CxT6IQ8AG+JNkW9wo3yw5zMlFHzLqn1dZxHx1rRv/z/GmbvZ6saG3SSQPtarcpiEAaF3WjVFLTg==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", @@ -7212,18 +7250,13 @@ "acorn-walk": "^8.3.3", "commander": "^12.1.0", "console-grid": "^2.2.2", - "diff-sequences": "^29.6.3", "eight-colors": "^1.3.0", "foreground-child": "^3.2.1", "istanbul-lib-coverage": "^3.2.2", "istanbul-lib-report": "^3.0.1", "istanbul-reports": "^3.1.7", - "lz-utils": "^2.0.2", - "minimatch": "9.0.5", - "monocart-code-viewer": "^1.1.4", - "monocart-formatter": "^3.0.0", - "monocart-locator": "^1.0.2", - "turbogrid": "^3.2.0" + "lz-utils": "^2.1.0", + "monocart-locator": "^1.0.2" }, "dependencies": { "commander": { @@ -7234,12 +7267,6 @@ } } }, - "monocart-formatter": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/monocart-formatter/-/monocart-formatter-3.0.0.tgz", - "integrity": "sha512-91OQpUb/9iDqvrblUv6ki11Jxi1d3Fp5u2jfVAPl3UdNp9TM+iBleLzXntUS51W0o+zoya3CJjZZ01z2XWn25g==", - "dev": true - }, "monocart-locator": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/monocart-locator/-/monocart-locator-1.0.2.tgz", @@ -7364,24 +7391,12 @@ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true - }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, "path-scurry": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", @@ -7417,13 +7432,13 @@ "dev": true }, "playwright": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", - "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.0.tgz", + "integrity": "sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==", "dev": true, "requires": { "fsevents": "2.3.2", - "playwright-core": "1.45.3" + "playwright-core": "1.46.0" }, "dependencies": { "fsevents": { @@ -7436,9 +7451,9 @@ } }, "playwright-core": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", - "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.0.tgz", + "integrity": "sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==", "dev": true }, "plur": { @@ -7472,9 +7487,9 @@ "dev": true }, "qs": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.3.tgz", - "integrity": "sha512-AWJm14H1vVaO/iNZ4/hO+HyaTehuy9nRqVdkTqlJt0HWvBiBIEXFmb4C0DGeYo3Xes9rrEW+TxHsaigCbN5ICQ==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "requires": { "side-channel": "^1.0.6" @@ -7510,23 +7525,31 @@ "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", "dev": true }, + "refa": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/refa/-/refa-0.12.1.tgz", + "integrity": "sha512-J8rn6v4DBb2nnFqkqwy6/NnTYMcgLA+sLr0iIO41qpv0n+ngb7ksag2tMRl0inb1bbO/esUwzW1vbJi7K0sI0g==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.8.0" + } + }, + "regexp-ast-analysis": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/regexp-ast-analysis/-/regexp-ast-analysis-0.7.1.tgz", + "integrity": "sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.8.0", + "refa": "^0.12.1" + } + }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true }, - "resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "requires": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, "resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", @@ -7539,50 +7562,6 @@ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - }, - "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } - } - }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -7598,6 +7577,17 @@ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "dev": true }, + "scslre": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/scslre/-/scslre-0.3.0.tgz", + "integrity": "sha512-3A6sD0WYP7+QrjbfNA2FN3FsOaGGFoekCVgTyypy53gPxhbkCIjtO6YWgdrfM+n/8sI8JeXZOIxsHjMTNxQ4nQ==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.8.0", + "refa": "^0.12.0", + "regexp-ast-analysis": "^0.7.0" + } + }, "semver": { "version": "7.6.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", @@ -7780,12 +7770,6 @@ "has-flag": "^4.0.0" } }, - "supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true - }, "table-layout": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.2.tgz", @@ -7798,6 +7782,12 @@ "wordwrapjs": "^4.0.0" } }, + "tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true + }, "test-exclude": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz", @@ -7807,6 +7797,26 @@ "@istanbuljs/schema": "^0.1.2", "glob": "^10.4.1", "minimatch": "^9.0.4" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } } }, "text-table": { @@ -7843,12 +7853,6 @@ "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", "dev": true }, - "turbogrid": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/turbogrid/-/turbogrid-3.2.0.tgz", - "integrity": "sha512-c+2qrCGWzoYpLlxtHgRJ4V5dDRE9fUT7D9maxtdBCqJ0NzCdY+x7xF3/F6cG/+n3VIzKfIS+p9Z/0YMQPf6k/Q==", - "dev": true - }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -7859,15 +7863,9 @@ } }, "type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true - }, - "type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", + "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", "dev": true }, "typed-rest-client": { @@ -7890,14 +7888,14 @@ "dev": true }, "typescript-eslint": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-7.17.0.tgz", - "integrity": "sha512-spQxsQvPguduCUfyUvLItvKqK3l8KJ/kqs5Pb/URtzQ5AC53Z6us32St37rpmlt2uESG23lOFpV4UErrmy4dZQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.1.0.tgz", + "integrity": "sha512-prB2U3jXPJLpo1iVLN338Lvolh6OrcCZO+9Yv6AR+tvegPPptYCDBIHiEEUdqRi8gAv2bXNKfMUrgAd2ejn/ow==", "dev": true, "requires": { - "@typescript-eslint/eslint-plugin": "7.17.0", - "@typescript-eslint/parser": "7.17.0", - "@typescript-eslint/utils": "7.17.0" + "@typescript-eslint/eslint-plugin": "8.1.0", + "@typescript-eslint/parser": "8.1.0", + "@typescript-eslint/utils": "8.1.0" } }, "typical": { @@ -7907,15 +7905,15 @@ "dev": true }, "underscore": { - "version": "1.13.6", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", - "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==", + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", + "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", "dev": true }, "undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz", + "integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==", "dev": true }, "universal-user-agent": { @@ -8132,9 +8130,9 @@ "dev": true }, "zod-validation-error": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-3.3.0.tgz", - "integrity": "sha512-Syib9oumw1NTqEv4LT0e6U83Td9aVRk9iTXPUQr1otyV1PuXQKOvOwhMNqZIq5hluzHP2pMgnOmHEo7kPdI2mw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-3.3.1.tgz", + "integrity": "sha512-uFzCZz7FQis256dqw4AhPQgD6f3pzNca/Zh62RNELavlumQB3nDIUFbF5JQfFLcMbO1s02Q7Xg/gpcOBlEnYZA==", "dev": true, "requires": {} } diff --git a/package.json b/package.json index c693d21ee1f..ded79902063 100644 --- a/package.json +++ b/package.json @@ -40,11 +40,11 @@ ], "devDependencies": { "@dprint/formatter": "^0.4.1", - "@dprint/typescript": "0.91.4", + "@dprint/typescript": "0.91.6", "@esfx/canceltoken": "^1.0.0", - "@eslint/js": "^8.57.0", + "@eslint/js": "^9.9.0", "@octokit/rest": "^21.0.1", - "@types/chai": "^4.3.16", + "@types/chai": "^4.3.17", "@types/diff": "^5.2.1", "@types/minimist": "^1.2.5", "@types/mocha": "^10.0.7", @@ -52,34 +52,37 @@ "@types/node": "latest", "@types/source-map-support": "^0.5.10", "@types/which": "^3.0.4", - "@typescript-eslint/utils": "^7.17.0", - "azure-devops-node-api": "^14.0.1", + "@typescript-eslint/rule-tester": "^8.1.0", + "@typescript-eslint/type-utils": "^8.1.0", + "@typescript-eslint/utils": "^8.1.0", + "azure-devops-node-api": "^14.0.2", "c8": "^10.1.2", - "chai": "^4.4.1", + "chai": "^4.5.0", "chalk": "^4.1.2", "chokidar": "^3.6.0", "diff": "^5.2.0", "dprint": "^0.47.2", "esbuild": "^0.23.0", - "eslint": "^8.57.0", - "eslint-formatter-autolinkable-stylish": "^1.3.0", - "fast-xml-parser": "^4.4.0", + "eslint": "^9.9.0", + "eslint-formatter-autolinkable-stylish": "^1.4.0", + "eslint-plugin-regexp": "^2.6.0", + "fast-xml-parser": "^4.4.1", "glob": "^10.4.5", - "globals": "^13.24.0", + "globals": "^15.9.0", "hereby": "^1.9.0", "jsonc-parser": "^3.3.1", - "knip": "^5.26.0", + "knip": "^5.27.2", "minimist": "^1.2.8", - "mocha": "^10.7.0", + "mocha": "^10.7.3", "mocha-fivemat-progress-reporter": "^0.1.0", - "monocart-coverage-reports": "^2.9.3", + "monocart-coverage-reports": "^2.10.2", "ms": "^2.1.3", "node-fetch": "^3.3.2", - "playwright": "^1.45.3", + "playwright": "^1.46.0", "source-map-support": "^0.5.21", "tslib": "^2.6.3", "typescript": "^5.5.4", - "typescript-eslint": "^7.17.0", + "typescript-eslint": "^8.1.0", "which": "^3.0.1" }, "overrides": { diff --git a/scripts/build/tests.mjs b/scripts/build/tests.mjs index c2d11b3b569..ba9e03548a0 100644 --- a/scripts/build/tests.mjs +++ b/scripts/build/tests.mjs @@ -105,7 +105,7 @@ export async function runConsoleTests(runJs, defaultReporter, runInParallel, opt } if (failed) { const grep = fs.readFileSync(".failed-tests", "utf8") - .split(/\r?\n/g) + .split(/\r?\n/) .map(test => test.trim()) .filter(test => test.length > 0) .map(regExpEscape) diff --git a/scripts/configurePrerelease.mjs b/scripts/configurePrerelease.mjs index 03795196ddf..1e7d9483c46 100644 --- a/scripts/configurePrerelease.mjs +++ b/scripts/configurePrerelease.mjs @@ -112,7 +112,7 @@ function getPrereleasePatch(tag, plainPatch) { // but we'd prefer to just remove separators and limit ourselves to YYYYMMDD. // UTC time will always be implicit here. const now = new Date(); - const timeStr = now.toISOString().replace(/:|T|\.|-/g, "").slice(0, 8); + const timeStr = now.toISOString().replace(/[:T.-]/g, "").slice(0, 8); return `${plainPatch}-${tag}.${timeStr}`; } diff --git a/scripts/eslint/rules/no-array-mutating-method-expressions.cjs b/scripts/eslint/rules/no-array-mutating-method-expressions.cjs new file mode 100644 index 00000000000..b085933953b --- /dev/null +++ b/scripts/eslint/rules/no-array-mutating-method-expressions.cjs @@ -0,0 +1,126 @@ +const { ESLintUtils } = require("@typescript-eslint/utils"); +const { createRule } = require("./utils.cjs"); +const { getConstrainedTypeAtLocation, isTypeArrayTypeOrUnionOfArrayTypes } = require("@typescript-eslint/type-utils"); + +/** + * @import { TSESTree } from "@typescript-eslint/utils" + */ +void 0; + +module.exports = createRule({ + name: "no-array-mutating-method-expressions", + meta: { + docs: { + description: ``, + }, + messages: { + noSideEffectUse: `This call to {{method}} appears to be unintentional as it appears in an expression position. Sort the array in a separate statement or explicitly copy the array with slice.`, + noSideEffectUseToMethod: `This call to {{method}} appears to be unintentional as it appears in an expression position. Sort the array in a separate statement or explicitly copy and slice the array with slice/{{toMethod}}.`, + }, + schema: [], + type: "problem", + }, + defaultOptions: [], + + create(context) { + const services = ESLintUtils.getParserServices(context, /*allowWithoutFullTypeInformation*/ true); + if (!services.program) { + return {}; + } + + const checker = services.program.getTypeChecker(); + + /** + * This is a heuristic to ignore cases where the mutating method appears to be + * operating on a "fresh" array. + * + * @type {(callee: TSESTree.MemberExpression) => boolean} + */ + const isFreshArray = callee => { + const object = callee.object; + + if (object.type === "ArrayExpression") { + return true; + } + + if (object.type !== "CallExpression") { + return false; + } + + if (object.callee.type === "Identifier") { + // TypeScript codebase specific helpers. + // TODO(jakebailey): handle ts. + switch (object.callee.name) { + case "arrayFrom": + case "getOwnKeys": + return true; + } + return false; + } + + if (object.callee.type === "MemberExpression" && object.callee.property.type === "Identifier") { + switch (object.callee.property.name) { + case "concat": + case "filter": + case "map": + case "slice": + return true; + } + + if (object.callee.object.type === "Identifier") { + if (object.callee.object.name === "Array") { + switch (object.callee.property.name) { + case "from": + case "of": + return true; + } + return false; + } + + if (object.callee.object.name === "Object") { + switch (object.callee.property.name) { + case "values": + case "keys": + case "entries": + return true; + } + return false; + } + } + } + + return false; + }; + + /** @type {(callee: TSESTree.MemberExpression & { parent: TSESTree.CallExpression; }, method: string, toMethod: string | undefined) => void} */ + const check = (callee, method, toMethod) => { + if (callee.parent.parent.type === "ExpressionStatement") return; + if (isFreshArray(callee)) return; + + const calleeObjType = getConstrainedTypeAtLocation(services, callee.object); + if (!isTypeArrayTypeOrUnionOfArrayTypes(calleeObjType, checker)) return; + + if (toMethod) { + context.report({ node: callee.property, messageId: "noSideEffectUseToMethod", data: { method, toMethod } }); + } + else { + context.report({ node: callee.property, messageId: "noSideEffectUse", data: { method } }); + } + }; + + // Methods with new copying variants. + // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#copying_methods_and_mutating_methods + const mutatingMethods = { + reverse: undefined, + sort: "toSorted", // This exists as `ts.toSorted`, so recommend that. + splice: undefined, + }; + + return Object.fromEntries( + Object.entries(mutatingMethods).map(([method, toMethod]) => [ + `CallExpression > MemberExpression[property.name='${method}'][computed=false]`, + node => check(node, method, toMethod), + ]), + ); + }, +}); diff --git a/scripts/eslint/rules/no-direct-import.cjs b/scripts/eslint/rules/no-direct-import.cjs new file mode 100644 index 00000000000..614e67db30b --- /dev/null +++ b/scripts/eslint/rules/no-direct-import.cjs @@ -0,0 +1,81 @@ +const { createRule } = require("./utils.cjs"); +const path = require("path"); + +/** @import { TSESTree } from "@typescript-eslint/utils" */ +void 0; + +module.exports = createRule({ + name: "no-direct-import", + meta: { + docs: { + description: ``, + }, + messages: { + noDirectImport: `This import relatively references another project; did you mean to import from a local _namespace module?`, + }, + schema: [], + type: "problem", + }, + defaultOptions: [], + + create(context) { + const containingFileName = context.filename; + const containingDirectory = path.dirname(containingFileName); + + /** @type {(node: TSESTree.ImportDeclaration | TSESTree.TSImportEqualsDeclaration) => void} */ + const check = node => { + let source; + if (node.type === "TSImportEqualsDeclaration") { + const moduleReference = node.moduleReference; + if ( + moduleReference.type === "TSExternalModuleReference" + && moduleReference.expression.type === "Literal" + && typeof moduleReference.expression.value === "string" + ) { + source = moduleReference.expression; + } + } + else { + source = node.source; + } + + if (!source) return; + + const p = source.value; + + // These appear in place of public API imports. + if (p.endsWith("../typescript/typescript.js")) return; + + // The below is similar to https://github.com/microsoft/DefinitelyTyped-tools/blob/main/packages/eslint-plugin/src/rules/no-bad-reference.ts + + // Any relative path that goes to the wrong place will contain "..". + if (!p.includes("..")) return; + + const parts = p.split("/"); + let cwd = containingDirectory; + for (const part of parts) { + if (part === "" || part === ".") { + continue; + } + if (part === "..") { + cwd = path.dirname(cwd); + } + else { + cwd = path.join(cwd, part); + } + + if (path.basename(cwd) === "src") { + context.report({ + messageId: "noDirectImport", + node: source, + }); + } + } + }; + + return { + ImportDeclaration: check, + TSImportEqualsDeclaration: check, + }; + }, +}); diff --git a/scripts/eslint/tests/argument-trivia.test.cjs b/scripts/eslint/tests/argument-trivia.test.cjs index 932a2bbf1c5..b8cfca79fe3 100644 --- a/scripts/eslint/tests/argument-trivia.test.cjs +++ b/scripts/eslint/tests/argument-trivia.test.cjs @@ -2,10 +2,11 @@ const { RuleTester } = require("./support/RuleTester.cjs"); const rule = require("../rules/argument-trivia.cjs"); const ruleTester = new RuleTester({ - parserOptions: { - warnOnUnsupportedTypeScriptVersion: false, + languageOptions: { + parserOptions: { + warnOnUnsupportedTypeScriptVersion: false, + }, }, - parser: require.resolve("@typescript-eslint/parser"), }); ruleTester.run("argument-trivia", rule, { diff --git a/scripts/eslint/tests/debug-assert.test.cjs b/scripts/eslint/tests/debug-assert.test.cjs index 702017ff7af..9d12d7a718f 100644 --- a/scripts/eslint/tests/debug-assert.test.cjs +++ b/scripts/eslint/tests/debug-assert.test.cjs @@ -2,10 +2,11 @@ const { RuleTester } = require("./support/RuleTester.cjs"); const rule = require("../rules/debug-assert.cjs"); const ruleTester = new RuleTester({ - parserOptions: { - warnOnUnsupportedTypeScriptVersion: false, + languageOptions: { + parserOptions: { + warnOnUnsupportedTypeScriptVersion: false, + }, }, - parser: require.resolve("@typescript-eslint/parser"), }); ruleTester.run("debug-assert", rule, { diff --git a/scripts/eslint/tests/js-extensions.cjs b/scripts/eslint/tests/js-extensions.cjs index 177070ab5f5..8eab1a4541a 100644 --- a/scripts/eslint/tests/js-extensions.cjs +++ b/scripts/eslint/tests/js-extensions.cjs @@ -2,10 +2,11 @@ const { RuleTester } = require("./support/RuleTester.cjs"); const rule = require("../rules/js-extensions.cjs"); const ruleTester = new RuleTester({ - parserOptions: { - warnOnUnsupportedTypeScriptVersion: false, + languageOptions: { + parserOptions: { + warnOnUnsupportedTypeScriptVersion: false, + }, }, - parser: require.resolve("@typescript-eslint/parser"), }); ruleTester.run("js-extensions", rule, { diff --git a/scripts/eslint/tests/no-in-operator.test.cjs b/scripts/eslint/tests/no-in-operator.test.cjs index 0df73219bc8..7f24bc9dcfe 100644 --- a/scripts/eslint/tests/no-in-operator.test.cjs +++ b/scripts/eslint/tests/no-in-operator.test.cjs @@ -2,10 +2,11 @@ const { RuleTester } = require("./support/RuleTester.cjs"); const rule = require("../rules/no-in-operator.cjs"); const ruleTester = new RuleTester({ - parserOptions: { - warnOnUnsupportedTypeScriptVersion: false, + languageOptions: { + parserOptions: { + warnOnUnsupportedTypeScriptVersion: false, + }, }, - parser: require.resolve("@typescript-eslint/parser"), }); ruleTester.run("no-in-operator", rule, { diff --git a/scripts/eslint/tests/no-keywords.test.cjs b/scripts/eslint/tests/no-keywords.test.cjs index 731b05a9d1f..9a598725df7 100644 --- a/scripts/eslint/tests/no-keywords.test.cjs +++ b/scripts/eslint/tests/no-keywords.test.cjs @@ -2,10 +2,11 @@ const { RuleTester } = require("./support/RuleTester.cjs"); const rule = require("../rules/no-keywords.cjs"); const ruleTester = new RuleTester({ - parserOptions: { - warnOnUnsupportedTypeScriptVersion: false, + languageOptions: { + parserOptions: { + warnOnUnsupportedTypeScriptVersion: false, + }, }, - parser: require.resolve("@typescript-eslint/parser"), }); ruleTester.run("no-keywords", rule, { diff --git a/scripts/eslint/tests/only-arrow-functions.test.cjs b/scripts/eslint/tests/only-arrow-functions.test.cjs index 52945d44f39..20bd0f07902 100644 --- a/scripts/eslint/tests/only-arrow-functions.test.cjs +++ b/scripts/eslint/tests/only-arrow-functions.test.cjs @@ -2,10 +2,11 @@ const { RuleTester } = require("./support/RuleTester.cjs"); const rule = require("../rules/only-arrow-functions.cjs"); const ruleTester = new RuleTester({ - parserOptions: { - warnOnUnsupportedTypeScriptVersion: false, + languageOptions: { + parserOptions: { + warnOnUnsupportedTypeScriptVersion: false, + }, }, - parser: require.resolve("@typescript-eslint/parser"), }); ruleTester.run("only-arrow-functions", rule, { diff --git a/scripts/eslint/tests/support/RuleTester.cjs b/scripts/eslint/tests/support/RuleTester.cjs index 44e093d48e5..51ed464060f 100644 --- a/scripts/eslint/tests/support/RuleTester.cjs +++ b/scripts/eslint/tests/support/RuleTester.cjs @@ -1,6 +1,9 @@ const path = require("path"); -const { TSESLint } = require("@typescript-eslint/utils"); +const Mocha = require("mocha"); +const { RuleTester } = require("@typescript-eslint/rule-tester"); + +RuleTester.afterAll = Mocha.after; module.exports.ROOT_DIR = path.join(process.cwd(), "scripts", "eslint", "tests", "fixtures"); module.exports.FILENAME = path.join(module.exports.ROOT_DIR, "file.ts"); -module.exports.RuleTester = TSESLint.RuleTester; +module.exports.RuleTester = RuleTester; diff --git a/scripts/failed-tests.cjs b/scripts/failed-tests.cjs index c214f6eea90..4ef79cfb68a 100644 --- a/scripts/failed-tests.cjs +++ b/scripts/failed-tests.cjs @@ -45,7 +45,7 @@ class FailedTestsReporter extends Mocha.reporters.Base { try { reporter = require(reporterOptions.reporter); } - catch (_) { + catch { reporter = require(path.resolve(process.cwd(), reporterOptions.reporter)); } } @@ -124,7 +124,7 @@ class FailedTestsReporter extends Mocha.reporters.Base { function readTests() { return fs.readFileSync(file, "utf8") - .split(/\r?\n/g) + .split(/\r?\n/) .map(line => line.trim()) .filter(line => line.length > 0); } diff --git a/scripts/find-unused-diganostic-messages.mjs b/scripts/find-unused-diganostic-messages.mjs index ad116ef5a53..0b2ddbdd41f 100644 --- a/scripts/find-unused-diganostic-messages.mjs +++ b/scripts/find-unused-diganostic-messages.mjs @@ -18,7 +18,7 @@ startOfDiags.split(EOL).forEach(line => { execSync(`grep -rnw 'src' -e 'Diagnostics.${diagName}'`).toString(); process.stdout.write("."); } - catch (error) { + catch { missingNames.push(diagName); process.stdout.write("x"); } diff --git a/scripts/generateLocalizedDiagnosticMessages.mjs b/scripts/generateLocalizedDiagnosticMessages.mjs index 531c0702bfa..578a5f8f323 100644 --- a/scripts/generateLocalizedDiagnosticMessages.mjs +++ b/scripts/generateLocalizedDiagnosticMessages.mjs @@ -113,7 +113,7 @@ async function main() { ItemId = ItemId.slice(1); // remove leading semicolon } - val = val.replace(/]5D;/, "]"); // unescape `]` + val = val.replace(/\]5D;/, "]"); // unescape `]` out[ItemId] = val; } return JSON.stringify(out, undefined, 2); @@ -146,7 +146,7 @@ async function main() { */ function getItemXML(key, value) { // escape entrt value - value = value.replace(/]/g, "]5D;"); + value = value.replace(/\]/g, "]5D;"); return ` diff --git a/scripts/processDiagnosticMessages.mjs b/scripts/processDiagnosticMessages.mjs index b3f398b802c..85f029e1d37 100644 --- a/scripts/processDiagnosticMessages.mjs +++ b/scripts/processDiagnosticMessages.mjs @@ -150,7 +150,7 @@ function convertPropertyName(origName) { result = result.replace(/_+/g, "_"); // remove any leading underscore, unless it is followed by a number. - result = result.replace(/^_([^\d])/, "$1"); + result = result.replace(/^_(\D)/, "$1"); // get rid of all trailing underscores. result = result.replace(/_$/, ""); diff --git a/scripts/regenerate-unicode-identifier-parts.mjs b/scripts/regenerate-unicode-identifier-parts.mjs index 4dbc0354ebe..0abd43be69e 100644 --- a/scripts/regenerate-unicode-identifier-parts.mjs +++ b/scripts/regenerate-unicode-identifier-parts.mjs @@ -1,8 +1,8 @@ const MAX_UNICODE_CODEPOINT = 0x10FFFF; /** @type {(c: string) => boolean} */ -const isStart = c => /[\p{ID_Start}\u{2118}\u{212E}\u{309B}\u{309C}]/u.test(c); // Other_ID_Start explicitly included for back compat - see http://www.unicode.org/reports/tr31/#Introduction +const isStart = c => /\p{ID_Start}/u.test(c); // Other_ID_Start explicitly included for back compat - see http://www.unicode.org/reports/tr31/#Introduction /** @type {(c: string) => boolean} */ -const isPart = c => /[\p{ID_Continue}\u{00B7}\u{0387}\u{19DA}\u{1369}\u{136A}\u{136B}\u{136C}\u{136D}\u{136E}\u{136F}\u{1370}\u{1371}]/u.test(c) || isStart(c); // Likewise for Other_ID_Continue +const isPart = c => /\p{ID_Continue}/u.test(c) || isStart(c); // Likewise for Other_ID_Continue const parts = []; let partsActive = false; let startsActive = false; diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 5c94dde5cc5..1666c90883e 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -154,7 +154,6 @@ import { isEmptyObjectLiteral, isEntityNameExpression, isEnumConst, - isEnumDeclaration, isExportAssignment, isExportDeclaration, isExportsIdentifier, @@ -1191,10 +1190,10 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void { case SyntaxKind.JSDocEnumTag: bindJSDocTypeAlias(node as JSDocTypedefTag | JSDocCallbackTag | JSDocEnumTag); break; - // In source files and blocks, bind functions first to match hoisting that occurs at runtime case SyntaxKind.JSDocImportTag: bindJSDocImportTag(node as JSDocImportTag); break; + // In source files and blocks, bind functions first to match hoisting that occurs at runtime case SyntaxKind.SourceFile: { bindEachFunctionsFirst((node as SourceFile).statements); bind((node as SourceFile).endOfFileToken); @@ -2105,7 +2104,10 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void { } function bindJSDocImportTag(node: JSDocImportTag) { + // don't bind the importClause yet; that's delayed until bindJSDocImports bind(node.tagName); + bind(node.moduleSpecifier); + bind(node.attributes); if (typeof node.comment !== "string") { bindEach(node.comment); @@ -3786,7 +3788,9 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void { (isStatementButNotDeclaration(node) && node.kind !== SyntaxKind.EmptyStatement) || // report error on class declarations node.kind === SyntaxKind.ClassDeclaration || - // report error on instantiated modules or const-enums only modules if preserveConstEnums is set + // report errors on enums with preserved emit + isEnumDeclarationWithPreservedEmit(node, options) || + // report error on instantiated modules (node.kind === SyntaxKind.ModuleDeclaration && shouldReportErrorOnModuleDeclaration(node as ModuleDeclaration)); if (reportError) { @@ -3810,7 +3814,7 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void { node.declarationList.declarations.some(d => !!d.initializer) ); - eachUnreachableRange(node, (start, end) => errorOrSuggestionOnRange(isError, start, end, Diagnostics.Unreachable_code_detected)); + eachUnreachableRange(node, options, (start, end) => errorOrSuggestionOnRange(isError, start, end, Diagnostics.Unreachable_code_detected)); } } } @@ -3818,7 +3822,11 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void { } } -function eachUnreachableRange(node: Node, cb: (start: Node, last: Node) => void): void { +function isEnumDeclarationWithPreservedEmit(node: Node, options: CompilerOptions): boolean { + return node.kind === SyntaxKind.EnumDeclaration && (!isEnumConst(node as EnumDeclaration) || shouldPreserveConstEnums(options)); +} + +function eachUnreachableRange(node: Node, options: CompilerOptions, cb: (start: Node, last: Node) => void): void { if (isStatement(node) && isExecutableStatement(node) && isBlock(node.parent)) { const { statements } = node.parent; const slice = sliceAfter(statements, node); @@ -3827,26 +3835,27 @@ function eachUnreachableRange(node: Node, cb: (start: Node, last: Node) => void) else { cb(node, node); } -} -// As opposed to a pure declaration like an `interface` -function isExecutableStatement(s: Statement): boolean { - // Don't remove statements that can validly be used before they appear. - return !isFunctionDeclaration(s) && !isPurelyTypeDeclaration(s) && !isEnumDeclaration(s) && - // `var x;` may declare a variable used above - !(isVariableStatement(s) && !(getCombinedNodeFlags(s) & (NodeFlags.BlockScoped)) && s.declarationList.declarations.some(d => !d.initializer)); -} -function isPurelyTypeDeclaration(s: Statement): boolean { - switch (s.kind) { - case SyntaxKind.InterfaceDeclaration: - case SyntaxKind.TypeAliasDeclaration: - return true; - case SyntaxKind.ModuleDeclaration: - return getModuleInstanceState(s as ModuleDeclaration) !== ModuleInstanceState.Instantiated; - case SyntaxKind.EnumDeclaration: - return hasSyntacticModifier(s, ModifierFlags.Const); - default: - return false; + // As opposed to a pure declaration like an `interface` + function isExecutableStatement(s: Statement): boolean { + // Don't remove statements that can validly be used before they appear. + return !isFunctionDeclaration(s) && !isPurelyTypeDeclaration(s) && + // `var x;` may declare a variable used above + !(isVariableStatement(s) && !(getCombinedNodeFlags(s) & (NodeFlags.BlockScoped)) && s.declarationList.declarations.some(d => !d.initializer)); + } + + function isPurelyTypeDeclaration(s: Statement): boolean { + switch (s.kind) { + case SyntaxKind.InterfaceDeclaration: + case SyntaxKind.TypeAliasDeclaration: + return true; + case SyntaxKind.ModuleDeclaration: + return getModuleInstanceState(s as ModuleDeclaration) !== ModuleInstanceState.Instantiated; + case SyntaxKind.EnumDeclaration: + return !isEnumDeclarationWithPreservedEmit(s, options); + default: + return false; + } } } diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 7f05c9b40df..91346429b17 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -447,6 +447,7 @@ import { InterfaceDeclaration, InterfaceType, InterfaceTypeWithDeclaredMembers, + InternalNodeBuilderFlags, InternalSymbolName, IntersectionFlags, IntersectionType, @@ -1181,8 +1182,9 @@ interface IterationTypesResolver { getGlobalIteratorType: (reportErrors: boolean) => GenericType; getGlobalIterableType: (reportErrors: boolean) => GenericType; getGlobalIterableIteratorType: (reportErrors: boolean) => GenericType; - getGlobalBuiltinIteratorType: (reportErrors: boolean) => GenericType; + getGlobalIteratorObjectType: (reportErrors: boolean) => GenericType; getGlobalGeneratorType: (reportErrors: boolean) => GenericType; + getGlobalBuiltinIteratorTypes: () => readonly GenericType[]; resolveIterationType: (type: Type, errorNode: Node | undefined) => Type | undefined; mustHaveANextMethodDiagnostic: DiagnosticMessage; mustBeAMethodDiagnostic: DiagnosticMessage; @@ -1653,6 +1655,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { getNonOptionalType: removeOptionalTypeMarker, getTypeArguments, typeToTypeNode: nodeBuilder.typeToTypeNode, + typePredicateToTypePredicateNode: nodeBuilder.typePredicateToTypePredicateNode, indexInfoToIndexSignatureDeclaration: nodeBuilder.indexInfoToIndexSignatureDeclaration, signatureToSignatureDeclaration: nodeBuilder.signatureToSignatureDeclaration, symbolToEntityName: nodeBuilder.symbolToEntityName, @@ -2166,8 +2169,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { getGlobalIteratorType: getGlobalAsyncIteratorType, getGlobalIterableType: getGlobalAsyncIterableType, getGlobalIterableIteratorType: getGlobalAsyncIterableIteratorType, - getGlobalBuiltinIteratorType: getGlobalBuiltinAsyncIteratorType, + getGlobalIteratorObjectType: getGlobalAsyncIteratorObjectType, getGlobalGeneratorType: getGlobalAsyncGeneratorType, + getGlobalBuiltinIteratorTypes: getGlobalBuiltinAsyncIteratorTypes, resolveIterationType: (type, errorNode) => getAwaitedType(type, errorNode, Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member), mustHaveANextMethodDiagnostic: Diagnostics.An_async_iterator_must_have_a_next_method, mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method, @@ -2181,8 +2185,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { getGlobalIteratorType, getGlobalIterableType, getGlobalIterableIteratorType, - getGlobalBuiltinIteratorType, + getGlobalIteratorObjectType, getGlobalGeneratorType, + getGlobalBuiltinIteratorTypes, resolveIterationType: (type, _errorNode) => type, mustHaveANextMethodDiagnostic: Diagnostics.An_iterator_must_have_a_next_method, mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_iterator_must_be_a_method, @@ -2243,14 +2248,16 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { var deferredGlobalIterableType: GenericType | undefined; var deferredGlobalIteratorType: GenericType | undefined; var deferredGlobalIterableIteratorType: GenericType | undefined; - var deferredGlobalBuiltinIteratorType: GenericType | undefined; + var deferredGlobalIteratorObjectType: GenericType | undefined; var deferredGlobalGeneratorType: GenericType | undefined; var deferredGlobalIteratorYieldResultType: GenericType | undefined; var deferredGlobalIteratorReturnResultType: GenericType | undefined; var deferredGlobalAsyncIterableType: GenericType | undefined; var deferredGlobalAsyncIteratorType: GenericType | undefined; var deferredGlobalAsyncIterableIteratorType: GenericType | undefined; - var deferredGlobalBuiltinAsyncIteratorType: GenericType | undefined; + var deferredGlobalBuiltinIteratorTypes: readonly GenericType[] | undefined; + var deferredGlobalBuiltinAsyncIteratorTypes: readonly GenericType[] | undefined; + var deferredGlobalAsyncIteratorObjectType: GenericType | undefined; var deferredGlobalAsyncGeneratorType: GenericType | undefined; var deferredGlobalTemplateStringsArrayType: ObjectType | undefined; var deferredGlobalImportMetaType: ObjectType; @@ -2676,7 +2683,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } if (source.exports) { if (!target.exports) target.exports = createSymbolTable(); - mergeSymbolTable(target.exports, source.exports, unidirectional); + mergeSymbolTable(target.exports, source.exports, unidirectional, target); } if (!unidirectional) { recordMergedSymbol(target, source); @@ -2765,10 +2772,29 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return combined; } - function mergeSymbolTable(target: SymbolTable, source: SymbolTable, unidirectional = false) { + function mergeSymbolTable(target: SymbolTable, source: SymbolTable, unidirectional = false, mergedParent?: Symbol) { source.forEach((sourceSymbol, id) => { const targetSymbol = target.get(id); - target.set(id, targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol)); + const merged = targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol); + if (mergedParent && targetSymbol) { + // If a merge was performed on the target symbol, set its parent to the merged parent that initiated the merge + // of its exports. Otherwise, `merged` came only from `sourceSymbol` and can keep its parent: + // + // // a.ts + // export interface A { x: number; } + // + // // b.ts + // declare module "./a" { + // interface A { y: number; } + // interface B {} + // } + // + // When merging the module augmentation into a.ts, the symbol for `A` will itself be merged, so its parent + // should be the merged module symbol. But the symbol for `B` has only one declaration, so its parent should + // be the module augmentation symbol, which contains its only declaration. + merged.parent = mergedParent; + } + target.set(id, merged); }); } @@ -5910,6 +5936,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function symbolToString(symbol: Symbol, enclosingDeclaration?: Node, meaning?: SymbolFlags, flags: SymbolFormatFlags = SymbolFormatFlags.AllowAnyNodeKind, writer?: EmitTextWriter): string { let nodeFlags = NodeBuilderFlags.IgnoreErrors; + let internalNodeFlags = InternalNodeBuilderFlags.None; if (flags & SymbolFormatFlags.UseOnlyExternalAliasing) { nodeFlags |= NodeBuilderFlags.UseOnlyExternalAliasing; } @@ -5920,16 +5947,16 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { nodeFlags |= NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope; } if (flags & SymbolFormatFlags.DoNotIncludeSymbolChain) { - nodeFlags |= NodeBuilderFlags.DoNotIncludeSymbolChain; + internalNodeFlags |= InternalNodeBuilderFlags.DoNotIncludeSymbolChain; } if (flags & SymbolFormatFlags.WriteComputedProps) { - nodeFlags |= NodeBuilderFlags.WriteComputedProps; + internalNodeFlags |= InternalNodeBuilderFlags.WriteComputedProps; } const builder = flags & SymbolFormatFlags.AllowAnyNodeKind ? nodeBuilder.symbolToNode : nodeBuilder.symbolToEntityName; return writer ? symbolToStringWorker(writer).getText() : usingSingleLineStringWriter(symbolToStringWorker); function symbolToStringWorker(writer: EmitTextWriter) { - const entity = builder(symbol, meaning!, enclosingDeclaration, nodeFlags)!; // TODO: GH#18217 + const entity = builder(symbol, meaning!, enclosingDeclaration, nodeFlags, internalNodeFlags)!; // TODO: GH#18217 // add neverAsciiEscape for GH#39027 const printer = enclosingDeclaration?.kind === SyntaxKind.SourceFile ? createPrinterWithRemoveCommentsNeverAsciiEscape() @@ -5961,7 +5988,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function typeToString(type: Type, enclosingDeclaration?: Node, flags: TypeFormatFlags = TypeFormatFlags.AllowUniqueESSymbolType | TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, writer: EmitTextWriter = createTextWriter("")): string { const noTruncation = compilerOptions.noErrorTruncation || flags & TypeFormatFlags.NoTruncation; - const typeNode = nodeBuilder.typeToTypeNode(type, enclosingDeclaration, toNodeBuilderFlags(flags) | NodeBuilderFlags.IgnoreErrors | (noTruncation ? NodeBuilderFlags.NoTruncation : 0)); + const typeNode = nodeBuilder.typeToTypeNode(type, enclosingDeclaration, toNodeBuilderFlags(flags) | NodeBuilderFlags.IgnoreErrors | (noTruncation ? NodeBuilderFlags.NoTruncation : NodeBuilderFlags.None), /*internalFlags*/ undefined); if (typeNode === undefined) return Debug.fail("should always get typenode"); // The unresolved type gets a synthesized comment on `any` to hint to users that it's not a plain `any`. // Otherwise, we always strip comments out. @@ -6012,20 +6039,20 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function createNodeBuilder() { return { - typeToTypeNode: (type: Type, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => typeToTypeNodeHelper(type, context)), - typePredicateToTypePredicateNode: (typePredicate: TypePredicate, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => typePredicateToTypePredicateNodeHelper(typePredicate, context)), - expressionOrTypeToTypeNode: (expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), - serializeTypeForDeclaration: (declaration: Declaration, type: Type, symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => serializeTypeForDeclaration(context, declaration, type, symbol)), - serializeReturnTypeForSignature: (signature: Signature, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => serializeReturnTypeForSignature(context, signature)), - indexInfoToIndexSignatureDeclaration: (indexInfo: IndexInfo, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, /*typeNode*/ undefined)), - signatureToSignatureDeclaration: (signature: Signature, kind: SignatureDeclaration["kind"], enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => signatureToSignatureDeclarationHelper(signature, kind, context)), - symbolToEntityName: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolToName(symbol, context, meaning, /*expectsIdentifier*/ false)), - symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolToExpression(symbol, context, meaning)), - symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => typeParametersToTypeParameterDeclarations(symbol, context)), - symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolToParameterDeclaration(symbol, context)), - typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => typeParameterToDeclaration(parameter, context)), - symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolTableToDeclarationStatements(symbolTable, context)), - symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, tracker, context => symbolToNode(symbol, context, meaning)), + typeToTypeNode: (type: Type, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => typeToTypeNodeHelper(type, context)), + typePredicateToTypePredicateNode: (typePredicate: TypePredicate, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => typePredicateToTypePredicateNodeHelper(typePredicate, context)), + expressionOrTypeToTypeNode: (expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => expressionOrTypeToTypeNode(context, expr, type, addUndefined)), + serializeTypeForDeclaration: (declaration: Declaration, type: Type, symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => serializeTypeForDeclaration(context, declaration, type, symbol)), + serializeReturnTypeForSignature: (signature: Signature, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => serializeReturnTypeForSignature(context, signature)), + indexInfoToIndexSignatureDeclaration: (indexInfo: IndexInfo, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, /*typeNode*/ undefined)), + signatureToSignatureDeclaration: (signature: Signature, kind: SignatureDeclaration["kind"], enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => signatureToSignatureDeclarationHelper(signature, kind, context)), + symbolToEntityName: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => symbolToName(symbol, context, meaning, /*expectsIdentifier*/ false)), + symbolToExpression: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => symbolToExpression(symbol, context, meaning)), + symbolToTypeParameterDeclarations: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => typeParametersToTypeParameterDeclarations(symbol, context)), + symbolToParameterDeclaration: (symbol: Symbol, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => symbolToParameterDeclaration(symbol, context)), + typeParameterToDeclaration: (parameter: TypeParameter, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => typeParameterToDeclaration(parameter, context)), + symbolTableToDeclarationStatements: (symbolTable: SymbolTable, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => symbolTableToDeclarationStatements(symbolTable, context)), + symbolToNode: (symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration?: Node, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) => withContext(enclosingDeclaration, flags, internalFlags, tracker, context => symbolToNode(symbol, context, meaning)), }; function getTypeFromTypeNode(context: NodeBuilderContext, node: TypeNode, noMappedTypes?: false): Type; @@ -6055,23 +6082,32 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (!location) { return range; } - if (!context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(getOriginalNode(location))) { - return setOriginalNode(range, location); // if `location` is from another file, only set/update original pointer, and not positions, since copying text across files isn't supported by the emitter + // Don't overwrite the original node if `range` has an `original` node that points either directly or indirectly to `location` + let original = range.original; + while (original && original !== location) { + original = original.original; } - return setTextRangeWorker(setOriginalNode(range, location), location); + if (!original) { + setOriginalNode(range, location); + } + // only set positions if range comes from the same file since copying text across files isn't supported by the emitter + if (context.enclosingFile && context.enclosingFile === getSourceFileOfNode(getOriginalNode(location))) { + return setTextRangeWorker(range, location); + } + return range; } /** * Same as expressionOrTypeToTypeNodeHelper, but also checks if the expression can be syntactically typed. */ function expressionOrTypeToTypeNode(context: NodeBuilderContext, expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean) { - const oldFlags = context.flags; - if (expr && !(context.flags & NodeBuilderFlags.NoSyntacticPrinter)) { + const restoreFlags = saveRestoreFlags(context); + if (expr && !(context.internalFlags & InternalNodeBuilderFlags.NoSyntacticPrinter)) { syntacticNodeBuilder.serializeTypeOfExpression(expr, context, addUndefined); } - context.flags |= NodeBuilderFlags.NoSyntacticPrinter; + context.internalFlags |= InternalNodeBuilderFlags.NoSyntacticPrinter; const result = expressionOrTypeToTypeNodeHelper(context, expr, type, addUndefined); - context.flags = oldFlags; + restoreFlags(); return result; } function expressionOrTypeToTypeNodeHelper(context: NodeBuilderContext, expr: Expression | JsxAttributeValue | undefined, type: Type, addUndefined?: boolean) { @@ -6139,7 +6175,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function symbolToNode(symbol: Symbol, context: NodeBuilderContext, meaning: SymbolFlags) { - if (context.flags & NodeBuilderFlags.WriteComputedProps) { + if (context.internalFlags & InternalNodeBuilderFlags.WriteComputedProps) { if (symbol.valueDeclaration) { const name = getNameOfDeclaration(symbol.valueDeclaration); if (name && isComputedPropertyName(name)) return name; @@ -6153,14 +6189,15 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return symbolToExpression(symbol, context, meaning); } - function withContext(enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, tracker: SymbolTracker | undefined, cb: (context: NodeBuilderContext) => T): T | undefined { + function withContext(enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags: InternalNodeBuilderFlags | undefined, tracker: SymbolTracker | undefined, cb: (context: NodeBuilderContext) => T): T | undefined { const moduleResolverHost = tracker?.trackSymbol ? tracker.moduleResolverHost : - flags! & NodeBuilderFlags.DoNotIncludeSymbolChain ? createBasicNodeBuilderModuleSpecifierResolutionHost(host) : + (internalFlags || InternalNodeBuilderFlags.None) & InternalNodeBuilderFlags.DoNotIncludeSymbolChain ? createBasicNodeBuilderModuleSpecifierResolutionHost(host) : undefined; const context: NodeBuilderContext = { enclosingDeclaration, enclosingFile: enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration), flags: flags || NodeBuilderFlags.None, + internalFlags: internalFlags || InternalNodeBuilderFlags.None, tracker: undefined!, encounteredError: false, reportedDiagnostic: false, @@ -6191,15 +6228,27 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return context.encounteredError ? undefined : resultingNode; } + function saveRestoreFlags(context: NodeBuilderContext) { + const flags = context.flags; + const internalFlags = context.internalFlags; + + return restore; + + function restore() { + context.flags = flags; + context.internalFlags = internalFlags; + } + } + function checkTruncationLength(context: NodeBuilderContext): boolean { if (context.truncating) return context.truncating; return context.truncating = context.approximateLength > ((context.flags & NodeBuilderFlags.NoTruncation) ? noTruncationMaximumTruncationLength : defaultMaximumTruncationLength); } function typeToTypeNodeHelper(type: Type, context: NodeBuilderContext): TypeNode { - const savedFlags = context.flags; + const restoreFlags = saveRestoreFlags(context); const typeNode = typeToTypeNodeWorker(type, context); - context.flags = savedFlags; + restoreFlags(); return typeNode; } @@ -6676,7 +6725,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } const links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration); - const key = `${getTypeId(type)}|${context.flags}`; + const key = `${getTypeId(type)}|${context.flags}|${context.internalFlags}`; if (links) { links.serializedTypes ||= new Map(); } @@ -6797,10 +6846,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return typeToTypeNodeHelper(getIntersectionType(types), context); } - const savedFlags = context.flags; + const restoreFlags = saveRestoreFlags(context); context.flags |= NodeBuilderFlags.InObjectTypeLiteral; const members = createTypeNodesFromResolvedType(resolved); - context.flags = savedFlags; + restoreFlags(); const typeLiteralNode = factory.createTypeLiteralNode(members); context.approximateLength += 2; setEmitFlags(typeLiteralNode, (context.flags & NodeBuilderFlags.MultilineObjectLiterals) ? 0 : EmitFlags.SingleLine); @@ -6881,10 +6930,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // the default outer type arguments), we don't show the group. if (!rangeEquals(outerTypeParameters, typeArguments, start, i)) { const typeArgumentSlice = mapToTypeNodes(typeArguments.slice(start, i), context); - const flags = context.flags; + const restoreFlags = saveRestoreFlags(context); context.flags |= NodeBuilderFlags.ForbidIndexedAccessSymbolReferences; const ref = symbolToTypeNode(parent, context, SymbolFlags.Type, typeArgumentSlice) as TypeReferenceNode | ImportTypeNode; - context.flags = flags; + restoreFlags(); resultType = !resultType ? ref : appendReferenceToType(resultType, ref as TypeReferenceNode); } } @@ -6924,10 +6973,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { typeArgumentNodes = mapToTypeNodes(typeArguments.slice(i, typeParameterCount), context); } - const flags = context.flags; + const restoreFlags = saveRestoreFlags(context); context.flags |= NodeBuilderFlags.ForbidIndexedAccessSymbolReferences; const finalRef = symbolToTypeNode(type.symbol, context, SymbolFlags.Type, typeArgumentNodes); - context.flags = flags; + restoreFlags(); return !resultType ? finalRef : appendReferenceToType(resultType, finalRef as TypeReferenceNode); } } @@ -7254,7 +7303,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // once while referring to different types. If so, regenerate the // type node for each entry by that name with the // `UseFullyQualifiedType` flag enabled. - const saveContextFlags = context.flags; + const restoreFlags = saveRestoreFlags(context); context.flags |= NodeBuilderFlags.UseFullyQualifiedType; seenNames.forEach(types => { if (!arrayIsHomogeneous(types, ([a], [b]) => typesAreSameReference(a, b))) { @@ -7263,7 +7312,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } } }); - context.flags = saveContextFlags; + restoreFlags(); } return result; @@ -7323,7 +7372,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { typeParameters = signature.typeParameters && signature.typeParameters.map(parameter => typeParameterToDeclaration(parameter, context)); } - const flags = context.flags; + const restoreFlags = saveRestoreFlags(context); context.flags &= ~NodeBuilderFlags.SuppressAnyReturnType; // SuppressAnyReturnType should only apply to the signature `return` position // If the expanded parameter list had a variadic in a non-trailing position, don't expand it const parameters = (some(expandedParams, p => p !== expandedParams[expandedParams.length - 1] && !!(getCheckFlags(p) & CheckFlags.RestParameter)) ? signature.parameters : expandedParams).map(parameter => symbolToParameterDeclaration(parameter, context, kind === SyntaxKind.Constructor)); @@ -7331,7 +7380,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (thisParameter) { parameters.unshift(thisParameter); } - context.flags = flags; + restoreFlags(); const returnTypeNode = serializeReturnTypeForSignature(context, signature); @@ -7570,13 +7619,13 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function typeParameterToDeclarationWithConstraint(type: TypeParameter, context: NodeBuilderContext, constraintNode: TypeNode | undefined): TypeParameterDeclaration { - const savedContextFlags = context.flags; + const restoreFlags = saveRestoreFlags(context); context.flags &= ~NodeBuilderFlags.WriteTypeParametersInQualifiedName; // Avoids potential infinite loop when building for a claimspace with a generic const modifiers = factory.createModifiersFromModifierFlags(getTypeParameterModifiers(type)); const name = typeParameterToName(type, context); const defaultParameter = getDefaultFromTypeParameter(type); const defaultParameterNode = defaultParameter && typeToTypeNodeHelper(defaultParameter, context); - context.flags = savedContextFlags; + restoreFlags(); return factory.createTypeParameterDeclaration(modifiers, name, constraintNode, defaultParameterNode); } @@ -7685,7 +7734,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // Try to get qualified name if the symbol is not a type parameter and there is an enclosing declaration. let chain: Symbol[]; const isTypeParameter = symbol.flags & SymbolFlags.TypeParameter; - if (!isTypeParameter && (context.enclosingDeclaration || context.flags & NodeBuilderFlags.UseFullyQualifiedType) && !(context.flags & NodeBuilderFlags.DoNotIncludeSymbolChain)) { + if (!isTypeParameter && (context.enclosingDeclaration || context.flags & NodeBuilderFlags.UseFullyQualifiedType) && !(context.internalFlags & InternalNodeBuilderFlags.DoNotIncludeSymbolChain)) { chain = Debug.checkDefined(getSymbolChain(symbol, meaning, /*endOfChain*/ true)); Debug.assert(chain && chain.length > 0); } @@ -8295,14 +8344,14 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { * @param symbol - The symbol is used both to find an existing annotation if declaration is not provided, and to determine if `unique symbol` should be printed */ function serializeTypeForDeclaration(context: NodeBuilderContext, declaration: Declaration | undefined, type: Type, symbol: Symbol) { - const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration); + const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration); const enclosingDeclaration = context.enclosingDeclaration; - const oldFlags = context.flags; - if (declaration && hasInferredType(declaration) && !(context.flags & NodeBuilderFlags.NoSyntacticPrinter)) { + const restoreFlags = saveRestoreFlags(context); + if (declaration && hasInferredType(declaration) && !(context.internalFlags & InternalNodeBuilderFlags.NoSyntacticPrinter)) { syntacticNodeBuilder.serializeTypeOfDeclaration(declaration, context); } - context.flags |= NodeBuilderFlags.NoSyntacticPrinter; - if (enclosingDeclaration && (!isErrorType(type) || (context.flags & NodeBuilderFlags.AllowUnresolvedNames))) { + context.internalFlags |= InternalNodeBuilderFlags.NoSyntacticPrinter; + if (enclosingDeclaration && (!isErrorType(type) || (context.internalFlags & InternalNodeBuilderFlags.AllowUnresolvedNames))) { const declWithExistingAnnotation = declaration && getNonlocalEffectiveTypeAnnotationNode(declaration) ? declaration : getDeclarationWithTypeAnnotation(symbol); @@ -8313,7 +8362,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const addUndefined = addUndefinedForParameter || !!(symbol.flags & SymbolFlags.Property && symbol.flags & SymbolFlags.Optional && isOptionalDeclaration(declWithExistingAnnotation) && (symbol as MappedSymbol).links?.mappedType && containsNonMissingUndefinedType(type)); const result = !isTypePredicateNode(existing) && tryReuseExistingTypeNode(context, existing, type, declWithExistingAnnotation, addUndefined); if (result) { - context.flags = oldFlags; + restoreFlags(); return result; } } @@ -8329,7 +8378,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const expr = decl && isDeclarationWithPossibleInnerTypeNodeReuse(decl) ? getPossibleTypeNodeReuseExpression(decl) : undefined; const result = expressionOrTypeToTypeNode(context, expr, type, addUndefinedForParameter); - context.flags = oldFlags; + restoreFlags(); return result; } @@ -8345,28 +8394,28 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function serializeReturnTypeForSignature(context: NodeBuilderContext, signature: Signature) { const suppressAny = context.flags & NodeBuilderFlags.SuppressAnyReturnType; - const flags = context.flags; + const restoreFlags = saveRestoreFlags(context); if (suppressAny) context.flags &= ~NodeBuilderFlags.SuppressAnyReturnType; // suppress only toplevel `any`s let returnTypeNode: TypeNode | undefined; const returnType = getReturnTypeOfSignature(signature); if (returnType && !(suppressAny && isTypeAny(returnType))) { - if (signature.declaration && !(context.flags & NodeBuilderFlags.NoSyntacticPrinter)) { + if (signature.declaration && !(context.internalFlags & InternalNodeBuilderFlags.NoSyntacticPrinter)) { syntacticNodeBuilder.serializeReturnTypeForSignature(signature.declaration, context); } - context.flags |= NodeBuilderFlags.NoSyntacticPrinter; + context.internalFlags |= InternalNodeBuilderFlags.NoSyntacticPrinter; returnTypeNode = serializeReturnTypeForSignatureWorker(context, signature); } else if (!suppressAny) { returnTypeNode = factory.createKeywordTypeNode(SyntaxKind.AnyKeyword); } - context.flags = flags; + restoreFlags(); return returnTypeNode; } function serializeReturnTypeForSignatureWorker(context: NodeBuilderContext, signature: Signature) { const typePredicate = getTypePredicateOfSignature(signature); const type = getReturnTypeOfSignature(signature); - if (context.enclosingDeclaration && (!isErrorType(type) || (context.flags & NodeBuilderFlags.AllowUnresolvedNames)) && signature.declaration && !nodeIsSynthesized(signature.declaration)) { + if (context.enclosingDeclaration && (!isErrorType(type) || (context.internalFlags & InternalNodeBuilderFlags.AllowUnresolvedNames)) && signature.declaration && !nodeIsSynthesized(signature.declaration)) { const annotation = getNonlocalEffectiveReturnTypeAnnotationNode(signature.declaration); if (annotation) { const result = tryReuseExistingTypeNode(context, annotation, type, context.enclosingDeclaration); @@ -8427,6 +8476,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { introducesError = true; return { introducesError, node, sym }; } + else { + sym = symAtLocation; + } } if (sym) { @@ -8882,7 +8934,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (!hasDynamicName(node)) { return visitEachChild(node, visitExistingNodeTreeSymbols); } - if (!(context.flags & NodeBuilderFlags.AllowUnresolvedNames && isEntityNameExpression(node.name.expression) && checkComputedPropertyName(node.name).flags & TypeFlags.Any)) { + if (!(context.internalFlags & InternalNodeBuilderFlags.AllowUnresolvedNames && isEntityNameExpression(node.name.expression) && checkComputedPropertyName(node.name).flags & TypeFlags.Any)) { return undefined; } } @@ -9614,7 +9666,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const typeParamDecls = map(typeParams, p => typeParameterToDeclaration(p, context)); const jsdocAliasDecl = symbol.declarations?.find(isJSDocTypeAlias); const commentText = getTextOfJSDocComment(jsdocAliasDecl ? jsdocAliasDecl.comment || jsdocAliasDecl.parent.comment : undefined); - const oldFlags = context.flags; + const restoreFlags = saveRestoreFlags(context); context.flags |= NodeBuilderFlags.InTypeAlias; const oldEnclosingDecl = context.enclosingDeclaration; context.enclosingDeclaration = jsdocAliasDecl; @@ -9629,7 +9681,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { ), modifierFlags, ); - context.flags = oldFlags; + restoreFlags(); context.enclosingDeclaration = oldEnclosingDecl; } @@ -10642,10 +10694,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function getNameCandidateWorker(symbol: Symbol, localName: string) { if (localName === InternalSymbolName.Default || localName === InternalSymbolName.Class || localName === InternalSymbolName.Function) { - const flags = context.flags; + const restoreFlags = saveRestoreFlags(context); context.flags |= NodeBuilderFlags.InInitialEntityName; const nameCandidate = getNameOfSymbolAsWritten(symbol, context); - context.flags = flags; + restoreFlags(); localName = nameCandidate.length > 0 && isSingleOrDoubleQuote(nameCandidate.charCodeAt(0)) ? stripQuotes(nameCandidate) : nameCandidate; } if (localName === InternalSymbolName.Default) { @@ -10654,7 +10706,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { else if (localName === InternalSymbolName.ExportEquals) { localName = "_exports"; } - localName = isIdentifierText(localName, languageVersion) && !isStringANonContextualKeyword(localName) ? localName : "_" + localName.replace(/[^a-zA-Z0-9]/g, "_"); + localName = isIdentifierText(localName, languageVersion) && !isStringANonContextualKeyword(localName) ? localName : "_" + localName.replace(/[^a-z0-9]/gi, "_"); return localName; } @@ -12484,6 +12536,18 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return removeMissingType(getTypeOfSymbol(symbol), !!(symbol.flags & SymbolFlags.Optional)); } + function isReferenceToSomeType(type: Type, targets: readonly Type[]) { + if (type === undefined || (getObjectFlags(type) & ObjectFlags.Reference) === 0) { + return false; + } + for (const target of targets) { + if ((type as TypeReference).target === target) { + return true; + } + } + return false; + } + function isReferenceToType(type: Type, target: Type) { return type !== undefined && target !== undefined @@ -12537,7 +12601,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (!node) { return undefined; } - switch (node.kind) { + const kind = node.kind; + switch (kind) { case SyntaxKind.ClassDeclaration: case SyntaxKind.ClassExpression: case SyntaxKind.InterfaceDeclaration: @@ -12559,15 +12624,21 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { case SyntaxKind.MappedType: case SyntaxKind.ConditionalType: { const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes); - if (node.kind === SyntaxKind.MappedType) { + if ((kind === SyntaxKind.FunctionExpression || kind === SyntaxKind.ArrowFunction || isObjectLiteralMethod(node)) && isContextSensitive(node as Expression | MethodDeclaration)) { + const signature = firstOrUndefined(getSignaturesOfType(getTypeOfSymbol(getSymbolOfDeclaration(node as FunctionLikeDeclaration)), SignatureKind.Call)); + if (signature && signature.typeParameters) { + return [...(outerTypeParameters || emptyArray), ...signature.typeParameters]; + } + } + if (kind === SyntaxKind.MappedType) { return append(outerTypeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration((node as MappedTypeNode).typeParameter))); } - else if (node.kind === SyntaxKind.ConditionalType) { + else if (kind === SyntaxKind.ConditionalType) { return concatenate(outerTypeParameters, getInferTypeParameters(node as ConditionalTypeNode)); } const outerAndOwnTypeParameters = appendTypeParameters(outerTypeParameters, getEffectiveTypeParameterDeclarations(node as DeclarationWithTypeParameters)); const thisType = includeThisTypes && - (node.kind === SyntaxKind.ClassDeclaration || node.kind === SyntaxKind.ClassExpression || node.kind === SyntaxKind.InterfaceDeclaration || isJSConstructor(node)) && + (kind === SyntaxKind.ClassDeclaration || kind === SyntaxKind.ClassExpression || kind === SyntaxKind.InterfaceDeclaration || isJSConstructor(node)) && getDeclaredTypeOfClassOrInterface(getSymbolOfDeclaration(node as ClassLikeDeclaration | InterfaceDeclaration)).thisType; return thisType ? append(outerAndOwnTypeParameters, thisType) : outerAndOwnTypeParameters; } @@ -12997,7 +13068,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { links.instantiations.set(getTypeListId(typeParameters), type); } if (type === intrinsicMarkerType && symbol.escapedName === "BuiltinIteratorReturn") { - type = strictBuiltinIteratorReturn ? undefinedType : anyType; + type = getBuiltinIteratorReturnType(); } } else { @@ -15997,8 +16068,12 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return instantiateSignature(signature, createSignatureTypeMapper(signature, typeArguments), /*eraseTypeParameters*/ true); } + function getTypeParametersForMapper(signature: Signature) { + return sameMap(signature.typeParameters, tp => tp.mapper ? instantiateType(tp, tp.mapper) : tp); + } + function createSignatureTypeMapper(signature: Signature, typeArguments: readonly Type[] | undefined): TypeMapper { - return createTypeMapper(sameMap(signature.typeParameters!, tp => tp.mapper ? instantiateType(tp, tp.mapper) : tp), typeArguments); + return createTypeMapper(getTypeParametersForMapper(signature)!, typeArguments); } function getErasedSignature(signature: Signature): Signature { @@ -16864,6 +16939,16 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return symbol || reportErrors ? getTypeOfGlobalSymbol(symbol, arity) : undefined; } + function getGlobalBuiltinTypes(typeNames: readonly string[], arity: 0): ObjectType[]; + function getGlobalBuiltinTypes(typeNames: readonly string[], arity: number): GenericType[]; + function getGlobalBuiltinTypes(typeNames: readonly string[], arity: number) { + let types: Type[] | undefined; + for (const typeName of typeNames) { + types = append(types, getGlobalType(typeName as __String, arity, /*reportErrors*/ false)); + } + return types ?? emptyArray; + } + function getGlobalTypedPropertyDescriptorType() { // We always report an error, so store a result in the event we could not resolve the symbol to prevent reporting it multiple times return deferredGlobalTypedPropertyDescriptorType ||= getGlobalType("TypedPropertyDescriptor" as __String, /*arity*/ 1, /*reportErrors*/ true) || emptyGenericType; @@ -16945,8 +17030,13 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return (deferredGlobalAsyncIterableIteratorType ||= getGlobalType("AsyncIterableIterator" as __String, /*arity*/ 3, reportErrors)) || emptyGenericType; } - function getGlobalBuiltinAsyncIteratorType(reportErrors: boolean) { - return (deferredGlobalBuiltinAsyncIteratorType ||= getGlobalType("BuiltinAsyncIterator" as __String, /*arity*/ 3, reportErrors)) || emptyGenericType; + function getGlobalBuiltinAsyncIteratorTypes() { + // NOTE: This list does not include all built-in async iterator types, only those that are likely to be encountered frequently. + return deferredGlobalBuiltinAsyncIteratorTypes ??= getGlobalBuiltinTypes(["ReadableStreamAsyncIterator"], 1); + } + + function getGlobalAsyncIteratorObjectType(reportErrors: boolean) { + return (deferredGlobalAsyncIteratorObjectType ||= getGlobalType("AsyncIteratorObject" as __String, /*arity*/ 3, reportErrors)) || emptyGenericType; } function getGlobalAsyncGeneratorType(reportErrors: boolean) { @@ -16965,8 +17055,17 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return (deferredGlobalIterableIteratorType ||= getGlobalType("IterableIterator" as __String, /*arity*/ 3, reportErrors)) || emptyGenericType; } - function getGlobalBuiltinIteratorType(reportErrors: boolean) { - return (deferredGlobalBuiltinIteratorType ||= getGlobalType("BuiltinIterator" as __String, /*arity*/ 3, reportErrors)) || emptyGenericType; + function getBuiltinIteratorReturnType() { + return strictBuiltinIteratorReturn ? undefinedType : anyType; + } + + function getGlobalBuiltinIteratorTypes() { + // NOTE: This list does not include all built-in iterator types, only those that are likely to be encountered frequently. + return deferredGlobalBuiltinIteratorTypes ??= getGlobalBuiltinTypes(["ArrayIterator", "MapIterator", "SetIterator", "StringIterator"], 1); + } + + function getGlobalIteratorObjectType(reportErrors: boolean) { + return (deferredGlobalIteratorObjectType ||= getGlobalType("IteratorObject" as __String, /*arity*/ 3, reportErrors)) || emptyGenericType; } function getGlobalGeneratorType(reportErrors: boolean) { @@ -18117,8 +18216,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { removeFromEach(typeSet, TypeFlags.Null); result = getUnionType([getIntersectionType(typeSet, flags), nullType], UnionReduction.Literal, aliasSymbol, aliasTypeArguments); } - else if (typeSet.length >= 4) { - // When we have four or more constituents, some of which are unions, we employ a "divide and conquer" strategy + else if (typeSet.length >= 3 && types.length > 2) { + // When we have three or more constituents, more than two inputs (to head off infinite reexpansion), some of which are unions, we employ a "divide and conquer" strategy // where A & B & C & D is processed as (A & B) & (C & D). Since intersections of unions often produce far smaller // unions of intersections than the full cartesian product (due to some intersections becoming `never`), this can // dramatically reduce the overall work. @@ -27381,6 +27480,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function isFunctionObjectType(type: ObjectType): boolean { + if (getObjectFlags(type) & ObjectFlags.EvolvingArray) { + return false; + } // We do a quick check for a "bind" property before performing the more expensive subtype // check. This gives us a quicker out in the common case where an object type is not a function. const resolved = resolveStructuredTypeMembers(type); @@ -31572,7 +31674,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function getTypeOfPropertyOfContextualType(type: Type, name: __String, nameType?: Type) { return mapType(type, t => { - if (isGenericMappedType(t) && !t.declaration.nameType) { + if (isGenericMappedType(t) && getMappedTypeNameTypeKind(t) !== MappedTypeNameTypeKind.Remapping) { const constraint = getConstraintTypeFromMappedType(t); const constraintOfConstraint = getBaseConstraintOfType(constraint) || constraint; const propertyNameType = nameType || getStringLiteralType(unescapeLeadingUnderscores(name)); @@ -33660,10 +33762,22 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function getEnclosingClassFromThisParameter(node: Node): InterfaceType | undefined { + // 'this' type for a node comes from, in priority order... + // 1. The type of a syntactic 'this' parameter in the enclosing function scope const thisParameter = getThisParameterFromNodeContext(node); let thisType = thisParameter?.type && getTypeFromTypeNode(thisParameter.type); - if (thisType && thisType.flags & TypeFlags.TypeParameter) { - thisType = getConstraintOfTypeParameter(thisType as TypeParameter); + if (thisType) { + // 2. The constraint of a type parameter used for an explicit 'this' parameter + if (thisType.flags & TypeFlags.TypeParameter) { + thisType = getConstraintOfTypeParameter(thisType as TypeParameter); + } + } + else { + // 3. The 'this' parameter of a contextual type + const thisContainer = getThisContainer(node, /*includeArrowFunctions*/ false, /*includeClassComputedPropertyName*/ false); + if (isFunctionLike(thisContainer)) { + thisType = getContextualThisParameterType(thisContainer); + } } if (thisType && getObjectFlags(thisType) & (ObjectFlags.ClassOrInterface | ObjectFlags.Reference)) { return getTargetType(thisType) as InterfaceType; @@ -34269,7 +34383,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function containerSeemsToBeEmptyDomElement(containingType: Type) { return (compilerOptions.lib && !compilerOptions.lib.includes("dom")) && - everyContainedType(containingType, type => type.symbol && /^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(unescapeLeadingUnderscores(type.symbol.escapedName))) && + everyContainedType(containingType, type => type.symbol && /^(?:EventTarget|Node|(?:HTML[a-zA-Z]*)?Element)$/.test(unescapeLeadingUnderscores(type.symbol.escapedName))) && isEmptyObjectType(containingType); } @@ -34848,7 +34962,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // Instantiate a generic signature in the context of a non-generic signature (section 3.8.5 in TypeScript spec) function instantiateSignatureInContextOf(signature: Signature, contextualSignature: Signature, inferenceContext?: InferenceContext, compareTypes?: TypeComparer): Signature { - const context = createInferenceContext(signature.typeParameters!, signature, InferenceFlags.None, compareTypes); + const context = createInferenceContext(getTypeParametersForMapper(signature)!, signature, InferenceFlags.None, compareTypes); // We clone the inferenceContext to avoid fixing. For example, when the source signature is (x: T) => T[] and // the contextual signature is (...args: A) => B, we want to infer the element type of A's constraint (say 'any') // for T but leave it possible to later infer '[any]' back to A. @@ -38262,7 +38376,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const globalGeneratorType = resolver.getGlobalGeneratorType(/*reportErrors*/ false); yieldType = resolver.resolveIterationType(yieldType, /*errorNode*/ undefined) || unknownType; returnType = resolver.resolveIterationType(returnType, /*errorNode*/ undefined) || unknownType; - nextType = resolver.resolveIterationType(nextType, /*errorNode*/ undefined) || unknownType; if (globalGeneratorType === emptyGenericType) { // Fall back to the global IterableIterator type. const globalIterableIteratorType = resolver.getGlobalIterableIteratorType(/*reportErrors*/ false); @@ -39745,6 +39858,28 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } if (leftOk && rightOk) { checkAssignmentOperator(resultType); + switch (operator) { + case SyntaxKind.LessThanLessThanToken: + case SyntaxKind.LessThanLessThanEqualsToken: + case SyntaxKind.GreaterThanGreaterThanToken: + case SyntaxKind.GreaterThanGreaterThanEqualsToken: + case SyntaxKind.GreaterThanGreaterThanGreaterThanToken: + case SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken: + const rhsEval = evaluate(right); + if (typeof rhsEval.value === "number" && Math.abs(rhsEval.value) >= 32) { + errorOrSuggestion( + isEnumMember(walkUpParenthesizedExpressions(right.parent.parent)), // elevate from suggestion to error within an enum member + errorNode || operatorToken, + Diagnostics.This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2, + getTextOfNode(left), + tokenToString(operator), + rhsEval.value % 32, + ); + } + break; + default: + break; + } } return resultType; } @@ -40151,9 +40286,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const iterationTypes = returnType && getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsync); const signatureYieldType = iterationTypes && iterationTypes.yieldType || anyType; const signatureNextType = iterationTypes && iterationTypes.nextType || anyType; - const resolvedSignatureNextType = isAsync ? getAwaitedType(signatureNextType) || anyType : signatureNextType; const yieldExpressionType = node.expression ? checkExpression(node.expression) : undefinedWideningType; - const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, resolvedSignatureNextType, isAsync); + const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, signatureNextType, isAsync); if (returnType && yieldedType) { checkTypeAssignableToAndOptionallyElaborate(yieldedType, signatureYieldType, node.expression || node, node.expression); } @@ -40706,7 +40840,22 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { error(node, Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query); } - if (getIsolatedModules(compilerOptions)) { + // --verbatimModuleSyntax only gets checked here when the enum usage does not + // resolve to an import, because imports of ambient const enums get checked + // separately in `checkAliasSymbol`. + if ( + compilerOptions.isolatedModules + || compilerOptions.verbatimModuleSyntax + && ok + && !resolveName( + node, + getFirstIdentifier(node as EntityNameOrEntityNameExpression), + SymbolFlags.Alias, + /*nameNotFoundMessage*/ undefined, + /*isUse*/ false, + /*excludeGlobals*/ true, + ) + ) { Debug.assert(!!(type.symbol.flags & SymbolFlags.ConstEnum)); const constEnumDeclaration = type.symbol.valueDeclaration as EnumDeclaration; const redirect = host.getRedirectReferenceForResolutionFromSourceOfProject(getSourceFileOfNode(constEnumDeclaration).resolvedPath); @@ -40958,10 +41107,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { checkSourceElement(node.type); const { parameterName } = node; - if (typePredicate.kind === TypePredicateKind.This || typePredicate.kind === TypePredicateKind.AssertsThis) { - getTypeFromThisTypeNode(parameterName as ThisTypeNode); - } - else { + if (typePredicate.kind !== TypePredicateKind.This && typePredicate.kind !== TypePredicateKind.AssertsThis) { if (typePredicate.parameterIndex >= 0) { if (signatureHasRestParameter(signature) && typePredicate.parameterIndex === signature.parameters.length - 1) { error(parameterName, Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter); @@ -41902,7 +42048,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function checkFunctionOrConstructorSymbolWorker(symbol: Symbol): void { - function getCanonicalOverload(overloads: Declaration[], implementation: FunctionLikeDeclaration | undefined): Declaration { + function getCanonicalOverload(overloads: readonly Declaration[], implementation: FunctionLikeDeclaration | undefined): Declaration { // Consider the canonical set of flags to be the flags of the bodyDeclaration or the first declaration // Error on all deviations from this canonical set of flags // The caveat is that if some overloads are defined in lib.d.ts, we don't want to @@ -41918,19 +42064,35 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const someButNotAllOverloadFlags = someOverloadFlags ^ allOverloadFlags; if (someButNotAllOverloadFlags !== 0) { const canonicalFlags = getEffectiveDeclarationFlags(getCanonicalOverload(overloads, implementation), flagsToCheck); - forEach(overloads, o => { - const deviation = getEffectiveDeclarationFlags(o, flagsToCheck) ^ canonicalFlags; - if (deviation & ModifierFlags.Export) { - error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported); - } - else if (deviation & ModifierFlags.Ambient) { - error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient); - } - else if (deviation & (ModifierFlags.Private | ModifierFlags.Protected)) { - error(getNameOfDeclaration(o) || o, Diagnostics.Overload_signatures_must_all_be_public_private_or_protected); - } - else if (deviation & ModifierFlags.Abstract) { - error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract); + group(overloads, o => getSourceFileOfNode(o).fileName).forEach(overloadsInFile => { + const canonicalFlagsForFile = getEffectiveDeclarationFlags(getCanonicalOverload(overloadsInFile, implementation), flagsToCheck); + for (const o of overloadsInFile) { + const deviation = getEffectiveDeclarationFlags(o, flagsToCheck) ^ canonicalFlags; + const deviationInFile = getEffectiveDeclarationFlags(o, flagsToCheck) ^ canonicalFlagsForFile; + if (deviationInFile & ModifierFlags.Export) { + // Overloads in different files need not all have export modifiers. This is ok: + // // lib.d.ts + // declare function foo(s: number): string; + // declare function foo(s: string): number; + // export { foo }; + // + // // app.ts + // declare module "lib" { + // export function foo(s: boolean): boolean; + // } + error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported); + } + else if (deviationInFile & ModifierFlags.Ambient) { + // Though rare, a module augmentation (necessarily ambient) is allowed to add overloads + // to a non-ambient function in an implementation file. + error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient); + } + else if (deviation & (ModifierFlags.Private | ModifierFlags.Protected)) { + error(getNameOfDeclaration(o) || o, Diagnostics.Overload_signatures_must_all_be_public_private_or_protected); + } + else if (deviation & ModifierFlags.Abstract) { + error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract); + } } }); } @@ -43532,7 +43694,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // entire parameter does not have type annotation, suggest adding an annotation addRelatedInfo( diagnostic, - createFileDiagnostic(getSourceFileOfNode(wrappingDeclaration), wrappingDeclaration.end, 1, Diagnostics.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here, declarationNameToString(node.propertyName)), + createFileDiagnostic(getSourceFileOfNode(wrappingDeclaration), wrappingDeclaration.end, 0, Diagnostics.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here, declarationNameToString(node.propertyName)), ); } diagnostics.add(diagnostic); @@ -43991,14 +44153,14 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const globalDisposableType = getGlobalDisposableType(/*reportErrors*/ true); if (globalAsyncDisposableType !== emptyObjectType && globalDisposableType !== emptyObjectType) { const optionalDisposableType = getUnionType([globalAsyncDisposableType, globalDisposableType, nullType, undefinedType]); - checkTypeAssignableTo(initializerType, optionalDisposableType, initializer, Diagnostics.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined); + checkTypeAssignableTo(widenTypeForVariableLikeDeclaration(initializerType, node), optionalDisposableType, initializer, Diagnostics.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined); } } else if (blockScopeKind === NodeFlags.Using) { const globalDisposableType = getGlobalDisposableType(/*reportErrors*/ true); if (globalDisposableType !== emptyObjectType) { const optionalDisposableType = getUnionType([globalDisposableType, nullType, undefinedType]); - checkTypeAssignableTo(initializerType, optionalDisposableType, initializer, Diagnostics.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined); + checkTypeAssignableTo(widenTypeForVariableLikeDeclaration(initializerType, node), optionalDisposableType, initializer, Diagnostics.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined); } } } @@ -44151,7 +44313,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { bothHelper(location, body); return; } - const type = location === condExpr ? condType : checkTruthinessExpression(location); + const type = location === condExpr ? condType : checkExpression(location); if (type.flags & TypeFlags.EnumLiteral && isPropertyAccessExpression(location) && (getNodeLinks(location.expression).resolvedSymbol ?? unknownSymbol).flags & SymbolFlags.Enum) { // EnumLiteral type at condition with known value is always truthy or always falsy, likely an error error(location, Diagnostics.This_condition_will_always_return_0, !!(type as LiteralType).value ? "true" : "false"); @@ -44904,18 +45066,32 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // As an optimization, if the type is an instantiation of the following global type, then // just grab its related type arguments: // - `Iterable` or `AsyncIterable` - // - `BuiltinIterator` or `BuiltinAsyncIterator` + // - `IteratorObject` or `AsyncIteratorObject` // - `IterableIterator` or `AsyncIterableIterator` // - `Generator` or `AsyncGenerator` if ( isReferenceToType(type, resolver.getGlobalIterableType(/*reportErrors*/ false)) || - isReferenceToType(type, resolver.getGlobalBuiltinIteratorType(/*reportErrors*/ false)) || + isReferenceToType(type, resolver.getGlobalIteratorObjectType(/*reportErrors*/ false)) || isReferenceToType(type, resolver.getGlobalIterableIteratorType(/*reportErrors*/ false)) || isReferenceToType(type, resolver.getGlobalGeneratorType(/*reportErrors*/ false)) ) { const [yieldType, returnType, nextType] = getTypeArguments(type as GenericType); return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType(yieldType, /*errorNode*/ undefined) || yieldType, resolver.resolveIterationType(returnType, /*errorNode*/ undefined) || returnType, nextType)); } + + // As an optimization, if the type is an instantiation of one of the following global types, then + // just grab the related type argument: + // - `ArrayIterator` + // - `MapIterator` + // - `SetIterator` + // - `StringIterator` + // - `ReadableStreamAsyncIterator` + if (isReferenceToSomeType(type, resolver.getGlobalBuiltinIteratorTypes())) { + const [yieldType] = getTypeArguments(type as GenericType); + const returnType = getBuiltinIteratorReturnType(); + const nextType = unknownType; + return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType(yieldType, /*errorNode*/ undefined) || yieldType, resolver.resolveIterationType(returnType, /*errorNode*/ undefined) || returnType, nextType)); + } } function getPropertyNameForKnownSymbolName(symbolName: string): __String { @@ -45032,18 +45208,32 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // As an optimization, if the type is an instantiation of one of the following global types, // then just grab its related type arguments: // - `IterableIterator` or `AsyncIterableIterator` - // - `BuiltinIterator` or `BuiltinAsyncIterator` + // - `IteratorObject` or `AsyncIteratorObject` // - `Iterator` or `AsyncIterator` // - `Generator` or `AsyncGenerator` if ( - isReferenceToType(type, resolver.getGlobalBuiltinIteratorType(/*reportErrors*/ false)) || isReferenceToType(type, resolver.getGlobalIterableIteratorType(/*reportErrors*/ false)) || isReferenceToType(type, resolver.getGlobalIteratorType(/*reportErrors*/ false)) || + isReferenceToType(type, resolver.getGlobalIteratorObjectType(/*reportErrors*/ false)) || isReferenceToType(type, resolver.getGlobalGeneratorType(/*reportErrors*/ false)) ) { const [yieldType, returnType, nextType] = getTypeArguments(type as GenericType); return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType)); } + + // As an optimization, if the type is an instantiation of one of the following global types, then + // just grab the related type argument: + // - `ArrayIterator` + // - `MapIterator` + // - `SetIterator` + // - `StringIterator` + // - `ReadableStreamAsyncIterator` + if (isReferenceToSomeType(type, resolver.getGlobalBuiltinIteratorTypes())) { + const [yieldType] = getTypeArguments(type as GenericType); + const returnType = getBuiltinIteratorReturnType(); + const nextType = unknownType; + return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType)); + } } function isIteratorResult(type: Type, kind: IterationTypeKind.Yield | IterationTypeKind.Return) { @@ -46994,6 +47184,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { grammarErrorOnFirstToken(node, Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations); break; case SyntaxKind.ImportEqualsDeclaration: + // import a = e.x; in module augmentation is ok, but not import a = require('fs) + if (isInternalModuleImportEqualsDeclaration(node)) break; + // falls through case SyntaxKind.ImportDeclaration: grammarErrorOnFirstToken(node, Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module); break; @@ -47244,6 +47437,19 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // in files that are unambiguously CommonJS in this mode. error(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve); } + + if ( + compilerOptions.verbatimModuleSyntax && + !isTypeOnlyImportOrExportDeclaration(node) && + !(node.flags & NodeFlags.Ambient) && + targetFlags & SymbolFlags.ConstEnum + ) { + const constEnumDeclaration = target.valueDeclaration as EnumDeclaration; + const redirect = host.getRedirectReferenceForResolutionFromSourceOfProject(getSourceFileOfNode(constEnumDeclaration).resolvedPath); + if (constEnumDeclaration.flags & NodeFlags.Ambient && (!redirect || !shouldPreserveConstEnums(redirect.commandLine.options))) { + error(node, Diagnostics.Cannot_access_ambient_const_enums_when_0_is_enabled, isolatedModulesLikeFlagName); + } + } } if (isImportSpecifier(node)) { @@ -49433,16 +49639,19 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const type = getTypeFromTypeNode(typeNode); return containsUndefinedType(type); } - function requiresAddingImplicitUndefined(parameter: ParameterDeclaration | JSDocParameterTag) { - return (isRequiredInitializedParameter(parameter) || isOptionalUninitializedParameterProperty(parameter)) && !declaredParameterTypeContainsUndefined(parameter); + + function requiresAddingImplicitUndefined(parameter: ParameterDeclaration | JSDocParameterTag, enclosingDeclaration: Node | undefined) { + return (isRequiredInitializedParameter(parameter, enclosingDeclaration) || isOptionalUninitializedParameterProperty(parameter)) && !declaredParameterTypeContainsUndefined(parameter); } - function isRequiredInitializedParameter(parameter: ParameterDeclaration | JSDocParameterTag): boolean { - return !!strictNullChecks && - !isOptionalParameter(parameter) && - !isJSDocParameterTag(parameter) && - !!parameter.initializer && - !hasSyntacticModifier(parameter, ModifierFlags.ParameterPropertyModifier); + function isRequiredInitializedParameter(parameter: ParameterDeclaration | JSDocParameterTag, enclosingDeclaration: Node | undefined): boolean { + if (!strictNullChecks || isOptionalParameter(parameter) || isJSDocParameterTag(parameter) || !parameter.initializer) { + return false; + } + if (hasSyntacticModifier(parameter, ModifierFlags.ParameterPropertyModifier)) { + return !!enclosingDeclaration && isFunctionLikeDeclaration(enclosingDeclaration); + } + return true; } function isOptionalUninitializedParameterProperty(parameter: ParameterDeclaration | JSDocParameterTag) { @@ -49747,7 +49956,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } } - function createTypeOfDeclaration(declarationIn: AccessorDeclaration | VariableLikeDeclaration | PropertyAccessExpression, enclosingDeclaration: Node, flags: NodeBuilderFlags, tracker: SymbolTracker) { + function createTypeOfDeclaration(declarationIn: AccessorDeclaration | VariableLikeDeclaration | PropertyAccessExpression, enclosingDeclaration: Node, flags: NodeBuilderFlags, internalFlags: InternalNodeBuilderFlags, tracker: SymbolTracker) { const declaration = getParseTreeNode(declarationIn, isVariableLikeOrAccessor); if (!declaration) { return factory.createToken(SyntaxKind.AnyKeyword) as KeywordTypeNode; @@ -49758,7 +49967,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { ? getWidenedLiteralType(getTypeOfSymbol(symbol)) : errorType; - return nodeBuilder.serializeTypeForDeclaration(declaration, type, symbol, enclosingDeclaration, flags | NodeBuilderFlags.MultilineObjectLiterals, tracker); + return nodeBuilder.serializeTypeForDeclaration(declaration, type, symbol, enclosingDeclaration, flags | NodeBuilderFlags.MultilineObjectLiterals, internalFlags, tracker); } type DeclarationWithPotentialInnerNodeReuse = @@ -49824,21 +50033,21 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return candidateExpr; } - function createReturnTypeOfSignatureDeclaration(signatureDeclarationIn: SignatureDeclaration, enclosingDeclaration: Node, flags: NodeBuilderFlags, tracker: SymbolTracker) { + function createReturnTypeOfSignatureDeclaration(signatureDeclarationIn: SignatureDeclaration, enclosingDeclaration: Node, flags: NodeBuilderFlags, internalFlags: InternalNodeBuilderFlags, tracker: SymbolTracker) { const signatureDeclaration = getParseTreeNode(signatureDeclarationIn, isFunctionLike); if (!signatureDeclaration) { return factory.createToken(SyntaxKind.AnyKeyword) as KeywordTypeNode; } - return nodeBuilder.serializeReturnTypeForSignature(getSignatureFromDeclaration(signatureDeclaration), enclosingDeclaration, flags | NodeBuilderFlags.MultilineObjectLiterals, tracker); + return nodeBuilder.serializeReturnTypeForSignature(getSignatureFromDeclaration(signatureDeclaration), enclosingDeclaration, flags | NodeBuilderFlags.MultilineObjectLiterals, internalFlags, tracker); } - function createTypeOfExpression(exprIn: Expression, enclosingDeclaration: Node, flags: NodeBuilderFlags, tracker: SymbolTracker) { + function createTypeOfExpression(exprIn: Expression, enclosingDeclaration: Node, flags: NodeBuilderFlags, internalFlags: InternalNodeBuilderFlags, tracker: SymbolTracker) { const expr = getParseTreeNode(exprIn, isExpression); if (!expr) { return factory.createToken(SyntaxKind.AnyKeyword) as KeywordTypeNode; } const type = getWidenedType(getRegularTypeOfExpression(expr)); - return nodeBuilder.expressionOrTypeToTypeNode(expr, type, /*addUndefined*/ undefined, enclosingDeclaration, flags | NodeBuilderFlags.MultilineObjectLiterals, tracker); + return nodeBuilder.expressionOrTypeToTypeNode(expr, type, /*addUndefined*/ undefined, enclosingDeclaration, flags | NodeBuilderFlags.MultilineObjectLiterals, internalFlags, tracker); } function hasGlobalName(name: string): boolean { @@ -49946,7 +50155,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function literalTypeToNode(type: FreshableType, enclosing: Node, tracker: SymbolTracker): Expression { - const enumResult = type.flags & TypeFlags.EnumLike ? nodeBuilder.symbolToExpression(type.symbol, SymbolFlags.Value, enclosing, /*flags*/ undefined, tracker) + const enumResult = type.flags & TypeFlags.EnumLike ? nodeBuilder.symbolToExpression(type.symbol, SymbolFlags.Value, enclosing, /*flags*/ undefined, /*internalFlags*/ undefined, tracker) : type === trueType ? factory.createTrue() : type === falseType && factory.createFalse(); if (enumResult) return enumResult; const literalValue = (type as LiteralType).value; @@ -50086,15 +50295,15 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { const parseDecl = getParseTreeNode(decl); return !!parseNode && !!parseDecl && (isVariableDeclaration(parseDecl) || isBindingElement(parseDecl)) && isBindingCapturedByNode(parseNode, parseDecl); }, - getDeclarationStatementsForSourceFile: (node, flags, tracker) => { + getDeclarationStatementsForSourceFile: (node, flags, internalFlags, tracker) => { const n = getParseTreeNode(node) as SourceFile; Debug.assert(n && n.kind === SyntaxKind.SourceFile, "Non-sourcefile node passed into getDeclarationsForSourceFile"); const sym = getSymbolOfDeclaration(node); if (!sym) { - return !node.locals ? [] : nodeBuilder.symbolTableToDeclarationStatements(node.locals, node, flags, tracker); + return !node.locals ? [] : nodeBuilder.symbolTableToDeclarationStatements(node.locals, node, flags, internalFlags, tracker); } resolveExternalModuleSymbol(sym); // ensures cjs export assignment is setup - return !sym.exports ? [] : nodeBuilder.symbolTableToDeclarationStatements(sym.exports, node, flags, tracker); + return !sym.exports ? [] : nodeBuilder.symbolTableToDeclarationStatements(sym.exports, node, flags, internalFlags, tracker); }, isImportRequiredByAugmentation, isDefinitelyReferenceToGlobalSymbolObject, @@ -52421,6 +52630,7 @@ interface NodeBuilderContext { */ enclosingFile: SourceFile | undefined; flags: NodeBuilderFlags; + internalFlags: InternalNodeBuilderFlags; tracker: SymbolTrackerImpl; // State diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 13764554943..9797d9f96cc 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -259,6 +259,8 @@ export const libs = libEntries.map(entry => entry[0]); export const libMap = new Map(libEntries); // Watch related options + +// Do not delete this without updating the website's tsconfig generation. /** @internal */ export const optionsForWatch: CommandLineOption[] = [ { @@ -435,7 +437,6 @@ export const commonOptionsWithBuild: CommandLineOption[] = [ name: "generateTrace", type: "string", isFilePath: true, - isCommandLineOnly: true, paramType: Diagnostics.DIRECTORY, category: Diagnostics.Compiler_Diagnostics, description: Diagnostics.Generates_an_event_trace_and_a_list_of_types, @@ -1619,6 +1620,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ }, ]; +// Do not delete this without updating the website's tsconfig generation. /** @internal */ export const optionDeclarations: CommandLineOption[] = [ ...commonOptionsWithBuild, @@ -1694,6 +1696,13 @@ export const optionsForBuild: CommandLineOption[] = [ type: "boolean", defaultValueDescription: false, }, + { + name: "stopBuildOnErrors", + category: Diagnostics.Command_line_Options, + description: Diagnostics.Skip_building_downstream_projects_on_error_in_upstream_project, + type: "boolean", + defaultValueDescription: false, + }, ]; /** @internal */ @@ -1702,6 +1711,7 @@ export const buildOpts: CommandLineOption[] = [ ...optionsForBuild, ]; +// Do not delete this without updating the website's tsconfig generation. /** @internal */ export const typeAcquisitionDeclarations: CommandLineOption[] = [ { @@ -1764,7 +1774,9 @@ const compilerOptionsAlternateMode: AlternateModeDiagnostics = { getOptionsNameMap: getBuildOptionsNameMap, }; -const defaultInitCompilerOptions: CompilerOptions = { +// Do not delete this without updating the website's tsconfig generation. +/** @internal @knipignore */ +export const defaultInitCompilerOptions: CompilerOptions = { module: ModuleKind.CommonJS, target: ScriptTarget.ES2016, strict: true, @@ -3756,7 +3768,7 @@ function convertJsonOptionOfListType( * \*\* # matches the recursive directory wildcard "**". * \/?$ # matches an optional trailing directory separator at the end of the string. */ -const invalidTrailingRecursionPattern = /(^|\/)\*\*\/?$/; +const invalidTrailingRecursionPattern = /(?:^|\/)\*\*\/?$/; /** * Matches the portion of a wildcard path that does not contain wildcards. diff --git a/src/compiler/core.ts b/src/compiler/core.ts index e2238766ee5..fc692f1a65d 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -396,7 +396,7 @@ export function flatten(array: T[][] | readonly (T | readonly T[] | undefined * * @internal */ -export function flatMap(array: readonly T[] | undefined, mapfn: (x: T, i: number) => U | readonly U[] | undefined): readonly U[] { +export function flatMap(array: readonly T[] | undefined, mapfn: (x: T, i: number) => U | readonly U[] | undefined): readonly U[] { let result: U[] | undefined; if (array !== undefined) { for (let i = 0; i < array.length; i++) { @@ -917,18 +917,13 @@ export function relativeComplement(arrayA: T[] | undefined, arrayB: T[] | und * * @internal */ -export function append[number] | undefined>(to: TArray, value: TValue): [undefined, undefined] extends [TArray, TValue] ? TArray : NonNullable[number][]; +export function append(to: T[], value: T | undefined): T[]; /** @internal */ -export function append(to: T[], value: T | undefined): T[]; +export function append(to: T[] | undefined, value: T): T[]; /** @internal */ -export function append(to: T[] | undefined, value: T): T[]; -/** @internal */ -export function append(to: T[] | undefined, value: T | undefined): T[] | undefined; -/** @internal */ -export function append(to: T[], value: T | undefined): void; -/** @internal */ -export function append(to: T[] | undefined, value: T | undefined): T[] | undefined { - if (value === undefined) return to as T[]; +export function append(to: T[] | undefined, value: T | undefined): T[] | undefined; +export function append(to: T[] | undefined, value: T | undefined): T[] | undefined { + if (value === undefined) return to; if (to === undefined) return [value]; to.push(value); return to; @@ -948,13 +943,13 @@ export function append(to: T[] | undefined, value: T | undefined): T[] | unde * * @internal */ -export function combine(xs: T[] | undefined, ys: T[] | undefined): T[] | undefined; +export function combine(xs: T[] | undefined, ys: T[] | undefined): T[] | undefined; /** @internal */ -export function combine(xs: T | readonly T[] | undefined, ys: T | readonly T[] | undefined): T | readonly T[] | undefined; +export function combine(xs: T | readonly T[] | undefined, ys: T | readonly T[] | undefined): T | readonly T[] | undefined; /** @internal */ -export function combine(xs: T | T[] | undefined, ys: T | T[] | undefined): T | T[] | undefined; +export function combine(xs: T | T[] | undefined, ys: T | T[] | undefined): T | T[] | undefined; /** @internal */ -export function combine(xs: T | T[] | undefined, ys: T | T[] | undefined) { +export function combine(xs: T | T[] | undefined, ys: T | T[] | undefined) { if (xs === undefined) return ys; if (ys === undefined) return xs; if (isArray(xs)) return isArray(ys) ? concatenate(xs, ys) : append(xs, ys); diff --git a/src/compiler/debug.ts b/src/compiler/debug.ts index 298c628907e..7468b2aecea 100644 --- a/src/compiler/debug.ts +++ b/src/compiler/debug.ts @@ -581,7 +581,7 @@ export namespace Debug { // This regex can trigger slow backtracking because of overlapping potential captures. // We don't care, this is debug code that's only enabled with a debugger attached - // we're just taking note of it for anyone checking regex performance in the future. - defaultValue = String(defaultValue).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/, "]"); + defaultValue = String(defaultValue).replace(/(?:,[\s\w]+:[^,]+)+\]$/, "]"); return `NodeArray ${defaultValue}`; }, }, diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 850d5ca1022..01cb974bc12 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -5716,6 +5716,14 @@ "category": "Message", "code": 6361 }, + "Skipping build of project '{0}' because its dependency '{1}' has errors": { + "category": "Message", + "code": 6362 + }, + "Project '{0}' can't be built because its dependency '{1}' has errors": { + "category": "Message", + "code": 6363 + }, "Build one or more projects and their dependencies, if out of date": { "category": "Message", "code": 6364 @@ -5760,6 +5768,14 @@ "category": "Message", "code": 6381 }, + "Skipping build of project '{0}' because its dependency '{1}' was not built": { + "category": "Message", + "code": 6382 + }, + "Project '{0}' can't be built because its dependency '{1}' was not built": { + "category": "Message", + "code": 6383 + }, "Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.": { "category": "Message", "code": 6384 @@ -6095,6 +6111,10 @@ "category": "Message", "code": 6639 }, + "Skip building downstream projects on error in upstream project.": { + "category": "Message", + "code": 6640 + }, "Specify a list of glob patterns that match files to be included in compilation.": { "category": "Message", "code": 6641 @@ -6420,6 +6440,10 @@ "category": "Message", "code": 6806 }, + "This operation can be simplified. This shift is identical to `{0} {1} {2}`.": { + "category": "Error", + "code": 6807 + }, "one of:": { "category": "Message", diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 6f68329ba0a..f79fdf21364 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -4005,7 +4005,7 @@ export function createPrinter(printerOptions: PrinterOptions = {}, handlers: Pri if (node.comment) { const text = getTextOfJSDocComment(node.comment); if (text) { - const lines = text.split(/\r\n?|\n/g); + const lines = text.split(/\r\n?|\n/); for (const line of lines) { writeLine(); writeSpace(); @@ -4508,7 +4508,7 @@ export function createPrinter(printerOptions: PrinterOptions = {}, handlers: Pri if (isFunctionLike(parentNode) && parentNode.typeArguments) { // Quick info uses type arguments in place of type parameters on instantiated signatures return emitTypeArguments(parentNode, parentNode.typeArguments); } - emitList(parentNode, typeParameters, ListFormat.TypeParameters); + emitList(parentNode, typeParameters, ListFormat.TypeParameters | (isArrowFunction(parentNode) ? ListFormat.AllowTrailingComma : ListFormat.None)); } function emitParameters(parentNode: Node, parameters: NodeArray) { @@ -4880,7 +4880,7 @@ export function createPrinter(printerOptions: PrinterOptions = {}, handlers: Pri } function writeLines(text: string): void { - const lines = text.split(/\r\n?|\n/g); + const lines = text.split(/\r\n?|\n/); const indentation = guessIndentation(lines); for (const lineText of lines) { const line = indentation ? lineText.slice(indentation) : lineText; diff --git a/src/compiler/expressionToTypeNode.ts b/src/compiler/expressionToTypeNode.ts index 48f8434137b..047611a5d45 100644 --- a/src/compiler/expressionToTypeNode.ts +++ b/src/compiler/expressionToTypeNode.ts @@ -178,7 +178,7 @@ export function createSyntacticTypeNodeBuilder(options: CompilerOptions, resolve return typeFromAccessor(parent, context); } const declaredType = getEffectiveTypeAnnotationNode(node); - const addUndefined = resolver.requiresAddingImplicitUndefined(node); + const addUndefined = resolver.requiresAddingImplicitUndefined(node, context.enclosingDeclaration); let resultType; if (declaredType) { resultType = serializeExistingTypeAnnotation(declaredType, addUndefined); diff --git a/src/compiler/factory/emitHelpers.ts b/src/compiler/factory/emitHelpers.ts index 3b3dc97ddb4..8cc453299e3 100644 --- a/src/compiler/factory/emitHelpers.ts +++ b/src/compiler/factory/emitHelpers.ts @@ -836,7 +836,7 @@ const asyncGeneratorHelper: UnscopedEmitHelper = { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -1102,8 +1102,8 @@ const generatorHelper: UnscopedEmitHelper = { priority: 6, text: ` var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/src/compiler/factory/nodeFactory.ts b/src/compiler/factory/nodeFactory.ts index c90e4c71f19..90b9071efe5 100644 --- a/src/compiler/factory/nodeFactory.ts +++ b/src/compiler/factory/nodeFactory.ts @@ -1985,10 +1985,15 @@ export function createNodeFactory(flags: NodeFactoryFlags, baseFactory: BaseNode node.parameters = createNodeArray(parameters); node.body = body; - node.transformFlags = propagateChildrenFlags(node.modifiers) | - propagateChildrenFlags(node.parameters) | - (propagateChildFlags(node.body) & ~TransformFlags.ContainsPossibleTopLevelAwait) | - TransformFlags.ContainsES2015; + if (!node.body) { + node.transformFlags = TransformFlags.ContainsTypeScript; + } + else { + node.transformFlags = propagateChildrenFlags(node.modifiers) | + propagateChildrenFlags(node.parameters) | + (propagateChildFlags(node.body) & ~TransformFlags.ContainsPossibleTopLevelAwait) | + TransformFlags.ContainsES2015; + } node.typeParameters = undefined; // initialized by parser for grammar errors node.type = undefined; // initialized by parser for grammar errors @@ -6553,6 +6558,8 @@ export function createNodeFactory(flags: NodeFactoryFlags, baseFactory: BaseNode return updateSatisfiesExpression(outerExpression, expression, outerExpression.type); case SyntaxKind.NonNullExpression: return updateNonNullExpression(outerExpression, expression); + case SyntaxKind.ExpressionWithTypeArguments: + return updateExpressionWithTypeArguments(outerExpression, expression, outerExpression.typeArguments); case SyntaxKind.PartiallyEmittedExpression: return updatePartiallyEmittedExpression(outerExpression, expression); } diff --git a/src/compiler/factory/utilities.ts b/src/compiler/factory/utilities.ts index 852017bd501..d6d0de9e515 100644 --- a/src/compiler/factory/utilities.ts +++ b/src/compiler/factory/utilities.ts @@ -630,9 +630,10 @@ export function isOuterExpression(node: Node, kinds = OuterExpressionKinds.All): return (kinds & OuterExpressionKinds.Parentheses) !== 0; case SyntaxKind.TypeAssertionExpression: case SyntaxKind.AsExpression: - case SyntaxKind.ExpressionWithTypeArguments: case SyntaxKind.SatisfiesExpression: return (kinds & OuterExpressionKinds.TypeAssertions) !== 0; + case SyntaxKind.ExpressionWithTypeArguments: + return (kinds & OuterExpressionKinds.ExpressionsWithTypeArguments) !== 0; case SyntaxKind.NonNullExpression: return (kinds & OuterExpressionKinds.NonNullAssertions) !== 0; case SyntaxKind.PartiallyEmittedExpression: diff --git a/src/compiler/moduleSpecifiers.ts b/src/compiler/moduleSpecifiers.ts index f380ff56a02..4b7cbf2bae2 100644 --- a/src/compiler/moduleSpecifiers.ts +++ b/src/compiler/moduleSpecifiers.ts @@ -4,6 +4,7 @@ import { AmbientModuleDeclaration, append, arrayFrom, + changeFullExtension, CharacterCodes, combinePaths, compareBooleans, @@ -59,6 +60,7 @@ import { getSupportedExtensions, getTemporaryModuleResolutionState, getTextOfIdentifierOrLiteral, + hasImplementationTSFileExtension, hasJSFileExtension, hasTSFileExtension, hostGetCanonicalFileName, @@ -83,6 +85,7 @@ import { mapDefined, MapLike, matchPatternOrExact, + memoizeOne, min, ModuleDeclaration, ModuleKind, @@ -127,6 +130,34 @@ import { UserPreferences, } from "./_namespaces/ts.js"; +const stringToRegex = memoizeOne((pattern: string) => { + try { + let slash = pattern.indexOf("/"); + if (slash !== 0) { + // No leading slash, treat as a pattern + return new RegExp(pattern); + } + const lastSlash = pattern.lastIndexOf("/"); + if (slash === lastSlash) { + // Only one slash, treat as a pattern + return new RegExp(pattern); + } + while ((slash = pattern.indexOf("/", slash + 1)) !== lastSlash) { + if (pattern[slash - 1] !== "\\") { + // Unescaped middle slash, treat as a pattern + return new RegExp(pattern); + } + } + // Only case-insensitive and unicode flags make sense + const flags = pattern.substring(lastSlash + 1).replace(/[^iu]/g, ""); + pattern = pattern.substring(1, lastSlash); + return new RegExp(pattern, flags); + } + catch { + return undefined; + } +}); + // Used by importFixes, getEditsForFileRename, and declaration emit to synthesize import module specifiers. /** @internal */ @@ -144,11 +175,12 @@ export interface ModuleSpecifierPreferences { * @param syntaxImpliedNodeFormat Used when the import syntax implies ESM or CJS irrespective of the mode of the file. */ getAllowedEndingsInPreferredOrder(syntaxImpliedNodeFormat?: ResolutionMode): ModuleSpecifierEnding[]; + readonly excludeRegexes?: readonly string[]; } /** @internal */ export function getModuleSpecifierPreferences( - { importModuleSpecifierPreference, importModuleSpecifierEnding }: UserPreferences, + { importModuleSpecifierPreference, importModuleSpecifierEnding, autoImportSpecifierExcludeRegexes }: UserPreferences, host: Pick, compilerOptions: CompilerOptions, importingSourceFile: Pick, @@ -156,6 +188,7 @@ export function getModuleSpecifierPreferences( ): ModuleSpecifierPreferences { const filePreferredEnding = getPreferredEnding(); return { + excludeRegexes: autoImportSpecifierExcludeRegexes, relativePreference: oldImportSpecifier !== undefined ? (isExternalModuleNameRelative(oldImportSpecifier) ? RelativePreference.Relative : RelativePreference.NonRelative) : @@ -362,7 +395,13 @@ export function getModuleSpecifiersWithCacheInfo( ): ModuleSpecifierResult { let computedWithoutCache = false; const ambient = tryGetModuleNameFromAmbientModule(moduleSymbol, checker); - if (ambient) return { kind: "ambient", moduleSpecifiers: [ambient], computedWithoutCache }; + if (ambient) { + return { + kind: "ambient", + moduleSpecifiers: !(forAutoImport && isExcludedByRegex(ambient, userPreferences.autoImportSpecifierExcludeRegexes)) ? [ambient] : emptyArray, + computedWithoutCache, + }; + } // eslint-disable-next-line prefer-const let [kind, specifiers, moduleSourceFile, modulePaths, cache] = tryGetModuleSpecifiersFromCacheWorker( @@ -459,11 +498,13 @@ function computeModuleSpecifiers( const specifier = modulePath.isInNodeModules ? tryGetModuleNameAsNodeModule(modulePath, info, importingSourceFile, host, compilerOptions, userPreferences, /*packageNameOnly*/ undefined, options.overrideImportMode) : undefined; - nodeModulesSpecifiers = append(nodeModulesSpecifiers, specifier); - if (specifier && modulePath.isRedirect) { - // If we got a specifier for a redirect, it was a bare package specifier (e.g. "@foo/bar", - // not "@foo/bar/path/to/file"). No other specifier will be this good, so stop looking. - return { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers!, computedWithoutCache: true }; + if (specifier && !(forAutoImport && isExcludedByRegex(specifier, preferences.excludeRegexes))) { + nodeModulesSpecifiers = append(nodeModulesSpecifiers, specifier); + if (modulePath.isRedirect) { + // If we got a specifier for a redirect, it was a bare package specifier (e.g. "@foo/bar", + // not "@foo/bar/path/to/file"). No other specifier will be this good, so stop looking. + return { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers, computedWithoutCache: true }; + } } if (!specifier) { @@ -476,7 +517,7 @@ function computeModuleSpecifiers( preferences, /*pathsOnly*/ modulePath.isRedirect, ); - if (!local) { + if (!local || forAutoImport && isExcludedByRegex(local, preferences.excludeRegexes)) { continue; } if (modulePath.isRedirect) { @@ -512,7 +553,11 @@ function computeModuleSpecifiers( return pathsSpecifiers?.length ? { kind: "paths", moduleSpecifiers: pathsSpecifiers, computedWithoutCache: true } : redirectPathsSpecifiers?.length ? { kind: "redirect", moduleSpecifiers: redirectPathsSpecifiers, computedWithoutCache: true } : nodeModulesSpecifiers?.length ? { kind: "node_modules", moduleSpecifiers: nodeModulesSpecifiers, computedWithoutCache: true } : - { kind: "relative", moduleSpecifiers: Debug.checkDefined(relativeSpecifiers), computedWithoutCache: true }; + { kind: "relative", moduleSpecifiers: relativeSpecifiers ?? emptyArray, computedWithoutCache: true }; +} + +function isExcludedByRegex(moduleSpecifier: string, excludeRegexes: readonly string[] | undefined): boolean { + return some(excludeRegexes, pattern => !!stringToRegex(pattern)?.test(moduleSpecifier)); } interface Info { @@ -536,7 +581,7 @@ function getInfo(importingSourceFileName: string, host: ModuleSpecifierResolutio function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, preferences: ModuleSpecifierPreferences): string; function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, preferences: ModuleSpecifierPreferences, pathsOnly?: boolean): string | undefined; -function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, { getAllowedEndingsInPreferredOrder: getAllowedEndingsInPrefererredOrder, relativePreference }: ModuleSpecifierPreferences, pathsOnly?: boolean): string | undefined { +function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOptions: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, { getAllowedEndingsInPreferredOrder: getAllowedEndingsInPrefererredOrder, relativePreference, excludeRegexes }: ModuleSpecifierPreferences, pathsOnly?: boolean): string | undefined { const { baseUrl, paths, rootDirs } = compilerOptions; if (pathsOnly && !paths) { return undefined; @@ -556,7 +601,16 @@ function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOpt return pathsOnly ? undefined : relativePath; } - const fromPackageJsonImports = pathsOnly ? undefined : tryGetModuleNameFromPackageJsonImports(moduleFileName, sourceDirectory, compilerOptions, host, importMode); + const fromPackageJsonImports = pathsOnly + ? undefined + : tryGetModuleNameFromPackageJsonImports( + moduleFileName, + sourceDirectory, + compilerOptions, + host, + importMode, + prefersTsExtension(allowedEndings), + ); const fromPaths = pathsOnly || fromPackageJsonImports === undefined ? paths && tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, host, compilerOptions) : undefined; if (pathsOnly) { @@ -568,6 +622,15 @@ function getLocalModuleSpecifier(moduleFileName: string, info: Info, compilerOpt return relativePath; } + const relativeIsExcluded = isExcludedByRegex(relativePath, excludeRegexes); + const nonRelativeIsExcluded = isExcludedByRegex(maybeNonRelative, excludeRegexes); + if (!relativeIsExcluded && nonRelativeIsExcluded) { + return relativePath; + } + if (relativeIsExcluded && !nonRelativeIsExcluded) { + return maybeNonRelative; + } + if (relativePreference === RelativePreference.NonRelative && !pathIsRelative(maybeNonRelative)) { return maybeNonRelative; } @@ -945,7 +1008,18 @@ const enum MatchingMode { Pattern, } -function tryGetModuleNameFromExportsOrImports(options: CompilerOptions, host: ModuleSpecifierResolutionHost, targetFilePath: string, packageDirectory: string, packageName: string, exports: unknown, conditions: string[], mode: MatchingMode, isImports: boolean): { moduleFileToTry: string; } | undefined { +function tryGetModuleNameFromExportsOrImports( + options: CompilerOptions, + host: ModuleSpecifierResolutionHost, + targetFilePath: string, + packageDirectory: string, + packageName: string, + exports: unknown, + conditions: string[], + mode: MatchingMode, + isImports: boolean, + preferTsExtension: boolean, +): { moduleFileToTry: string; } | undefined { if (typeof exports === "string") { const ignoreCase = !hostUsesCaseSensitiveFileNames(host); const getCommonSourceDirectory = () => host.getCommonSourceDirectory(); @@ -954,6 +1028,7 @@ function tryGetModuleNameFromExportsOrImports(options: CompilerOptions, host: Mo const pathOrPattern = getNormalizedAbsolutePath(combinePaths(packageDirectory, exports), /*currentDirectory*/ undefined); const extensionSwappedTarget = hasTSFileExtension(targetFilePath) ? removeFileExtension(targetFilePath) + tryGetJSExtensionForFile(targetFilePath, options) : undefined; + const canTryTsExtension = preferTsExtension && hasImplementationTSFileExtension(targetFilePath); switch (mode) { case MatchingMode.Exact: @@ -967,11 +1042,15 @@ function tryGetModuleNameFromExportsOrImports(options: CompilerOptions, host: Mo } break; case MatchingMode.Directory: + if (canTryTsExtension && containsPath(targetFilePath, pathOrPattern, ignoreCase)) { + const fragment = getRelativePathFromDirectory(pathOrPattern, targetFilePath, /*ignoreCase*/ false); + return { moduleFileToTry: getNormalizedAbsolutePath(combinePaths(combinePaths(packageName, exports), fragment), /*currentDirectory*/ undefined) }; + } if (extensionSwappedTarget && containsPath(pathOrPattern, extensionSwappedTarget, ignoreCase)) { const fragment = getRelativePathFromDirectory(pathOrPattern, extensionSwappedTarget, /*ignoreCase*/ false); return { moduleFileToTry: getNormalizedAbsolutePath(combinePaths(combinePaths(packageName, exports), fragment), /*currentDirectory*/ undefined) }; } - if (containsPath(pathOrPattern, targetFilePath, ignoreCase)) { + if (!canTryTsExtension && containsPath(pathOrPattern, targetFilePath, ignoreCase)) { const fragment = getRelativePathFromDirectory(pathOrPattern, targetFilePath, /*ignoreCase*/ false); return { moduleFileToTry: getNormalizedAbsolutePath(combinePaths(combinePaths(packageName, exports), fragment), /*currentDirectory*/ undefined) }; } @@ -980,7 +1059,7 @@ function tryGetModuleNameFromExportsOrImports(options: CompilerOptions, host: Mo return { moduleFileToTry: combinePaths(packageName, fragment) }; } if (declarationFile && containsPath(pathOrPattern, declarationFile, ignoreCase)) { - const fragment = getRelativePathFromDirectory(pathOrPattern, declarationFile, /*ignoreCase*/ false); + const fragment = changeFullExtension(getRelativePathFromDirectory(pathOrPattern, declarationFile, /*ignoreCase*/ false), getJSExtensionForFile(declarationFile, options)); return { moduleFileToTry: combinePaths(packageName, fragment) }; } break; @@ -988,11 +1067,15 @@ function tryGetModuleNameFromExportsOrImports(options: CompilerOptions, host: Mo const starPos = pathOrPattern.indexOf("*"); const leadingSlice = pathOrPattern.slice(0, starPos); const trailingSlice = pathOrPattern.slice(starPos + 1); + if (canTryTsExtension && startsWith(targetFilePath, leadingSlice, ignoreCase) && endsWith(targetFilePath, trailingSlice, ignoreCase)) { + const starReplacement = targetFilePath.slice(leadingSlice.length, targetFilePath.length - trailingSlice.length); + return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; + } if (extensionSwappedTarget && startsWith(extensionSwappedTarget, leadingSlice, ignoreCase) && endsWith(extensionSwappedTarget, trailingSlice, ignoreCase)) { const starReplacement = extensionSwappedTarget.slice(leadingSlice.length, extensionSwappedTarget.length - trailingSlice.length); return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; } - if (startsWith(targetFilePath, leadingSlice, ignoreCase) && endsWith(targetFilePath, trailingSlice, ignoreCase)) { + if (!canTryTsExtension && startsWith(targetFilePath, leadingSlice, ignoreCase) && endsWith(targetFilePath, trailingSlice, ignoreCase)) { const starReplacement = targetFilePath.slice(leadingSlice.length, targetFilePath.length - trailingSlice.length); return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; } @@ -1002,20 +1085,22 @@ function tryGetModuleNameFromExportsOrImports(options: CompilerOptions, host: Mo } if (declarationFile && startsWith(declarationFile, leadingSlice, ignoreCase) && endsWith(declarationFile, trailingSlice, ignoreCase)) { const starReplacement = declarationFile.slice(leadingSlice.length, declarationFile.length - trailingSlice.length); - return { moduleFileToTry: replaceFirstStar(packageName, starReplacement) }; + const substituted = replaceFirstStar(packageName, starReplacement); + const jsExtension = tryGetJSExtensionForFile(declarationFile, options); + return jsExtension ? { moduleFileToTry: changeFullExtension(substituted, jsExtension) } : undefined; } break; } } else if (Array.isArray(exports)) { - return forEach(exports, e => tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, e, conditions, mode, isImports)); + return forEach(exports, e => tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, e, conditions, mode, isImports, preferTsExtension)); } else if (typeof exports === "object" && exports !== null) { // eslint-disable-line no-restricted-syntax // conditional mapping for (const key of getOwnKeys(exports as MapLike)) { if (key === "default" || conditions.indexOf(key) >= 0 || isApplicableVersionedTypesKey(conditions, key)) { const subTarget = (exports as MapLike)[key]; - const result = tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, subTarget, conditions, mode, isImports); + const result = tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, subTarget, conditions, mode, isImports, preferTsExtension); if (result) { return result; } @@ -1037,13 +1122,13 @@ function tryGetModuleNameFromExports(options: CompilerOptions, host: ModuleSpeci const mode = endsWith(k, "/") ? MatchingMode.Directory : k.includes("*") ? MatchingMode.Pattern : MatchingMode.Exact; - return tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, subPackageName, (exports as MapLike)[k], conditions, mode, /*isImports*/ false); + return tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, subPackageName, (exports as MapLike)[k], conditions, mode, /*isImports*/ false, /*preferTsExtension*/ false); }); } - return tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, exports, conditions, MatchingMode.Exact, /*isImports*/ false); + return tryGetModuleNameFromExportsOrImports(options, host, targetFilePath, packageDirectory, packageName, exports, conditions, MatchingMode.Exact, /*isImports*/ false, /*preferTsExtension*/ false); } -function tryGetModuleNameFromPackageJsonImports(moduleFileName: string, sourceDirectory: string, options: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode) { +function tryGetModuleNameFromPackageJsonImports(moduleFileName: string, sourceDirectory: string, options: CompilerOptions, host: ModuleSpecifierResolutionHost, importMode: ResolutionMode, preferTsExtension: boolean) { if (!host.readFile || !getResolvePackageJsonImports(options)) { return undefined; } @@ -1068,7 +1153,7 @@ function tryGetModuleNameFromPackageJsonImports(moduleFileName: string, sourceDi const mode = endsWith(k, "/") ? MatchingMode.Directory : k.includes("*") ? MatchingMode.Pattern : MatchingMode.Exact; - return tryGetModuleNameFromExportsOrImports(options, host, moduleFileName, ancestorDirectoryWithPackageJson, k, (imports as MapLike)[k], conditions, mode, /*isImports*/ true); + return tryGetModuleNameFromExportsOrImports(options, host, moduleFileName, ancestorDirectoryWithPackageJson, k, (imports as MapLike)[k], conditions, mode, /*isImports*/ true, preferTsExtension); })?.moduleFileToTry; } @@ -1169,7 +1254,15 @@ function tryGetModuleNameAsNodeModule({ path, isRedirect }: ModulePath, { getCan const packageName = getPackageNameFromTypesPackageName(nodeModulesDirectoryName); const conditions = getConditions(options, importMode); const fromExports = packageJsonContent?.exports - ? tryGetModuleNameFromExports(options, host, path, packageRootPath, packageName, packageJsonContent.exports, conditions) + ? tryGetModuleNameFromExports( + options, + host, + path, + packageRootPath, + packageName, + packageJsonContent.exports, + conditions, + ) : undefined; if (fromExports) { return { ...fromExports, verbatimFromExports: true }; @@ -1359,3 +1452,8 @@ function isPathRelativeToParent(path: string): boolean { function getDefaultResolutionModeForFile(file: Pick, host: Pick, compilerOptions: CompilerOptions) { return isFullSourceFile(file) ? host.getDefaultResolutionModeForFile(file) : getDefaultResolutionModeForFileWorker(file, compilerOptions); } + +function prefersTsExtension(allowedEndings: readonly ModuleSpecifierEnding[]) { + const tsPriority = allowedEndings.indexOf(ModuleSpecifierEnding.TsExtension); + return tsPriority > -1 && tsPriority < allowedEndings.indexOf(ModuleSpecifierEnding.JsExtension); +} diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index b20d4b8b8b5..c95c4759b9c 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -10653,8 +10653,8 @@ function getNamedArgRegEx(name: string): RegExp { return result; } -const tripleSlashXMLCommentStartRegEx = /^\/\/\/\s*<(\S+)\s.*?\/>/im; -const singleLinePragmaRegEx = /^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im; +const tripleSlashXMLCommentStartRegEx = /^\/\/\/\s*<(\S+)\s.*?\/>/m; +const singleLinePragmaRegEx = /^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m; function extractPragmas(pragmas: PragmaPseudoMapEntry[], range: CommentRange, text: string) { const tripleSlash = range.kind === SyntaxKind.SingleLineCommentTrivia && tripleSlashXMLCommentStartRegEx.exec(text); if (tripleSlash) { @@ -10700,7 +10700,7 @@ function extractPragmas(pragmas: PragmaPseudoMapEntry[], range: CommentRange, te } if (range.kind === SyntaxKind.MultiLineCommentTrivia) { - const multiLinePragmaRegEx = /@(\S+)(\s+.*)?$/gim; // Defined inline since it uses the "g" flag, which keeps a persistent index (for iterating) + const multiLinePragmaRegEx = /@(\S+)(\s+(?:\S.*)?)?$/gm; // Defined inline since it uses the "g" flag, which keeps a persistent index (for iterating) let multiLineMatch: RegExpExecArray | null; // eslint-disable-line no-restricted-syntax while (multiLineMatch = multiLinePragmaRegEx.exec(text)) { addPragmaForMatch(pragmas, range, PragmaKindFlags.MultiLine, multiLineMatch); diff --git a/src/compiler/path.ts b/src/compiler/path.ts index f4841c97cdf..00c0e4b671b 100644 --- a/src/compiler/path.ts +++ b/src/compiler/path.ts @@ -98,7 +98,7 @@ export function pathIsAbsolute(path: string): boolean { * @internal */ export function pathIsRelative(path: string): boolean { - return /^\.\.?($|[\\/])/.test(path); + return /^\.\.?(?:$|[\\/])/.test(path); } /** @@ -779,7 +779,7 @@ export function changeFullExtension(path: string, newExtension: string) { //// Path Comparisons // check path for these segments: '', '.'. '..' -const relativePathSegmentRegExp = /(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/; +const relativePathSegmentRegExp = /\/\/|(?:^|\/)\.\.?(?:$|\/)/; function comparePathsWorker(a: string, b: string, componentComparer: (a: string, b: string) => Comparison) { if (a === b) return Comparison.EqualTo; diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 6e8e8c4f492..06bb19f84d1 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1392,16 +1392,13 @@ export function getImpliedNodeFormatForFileWorker( host: ModuleResolutionHost, options: CompilerOptions, ) { - switch (getEmitModuleResolutionKind(options)) { - case ModuleResolutionKind.Node16: - case ModuleResolutionKind.NodeNext: - return fileExtensionIsOneOf(fileName, [Extension.Dmts, Extension.Mts, Extension.Mjs]) ? ModuleKind.ESNext : - fileExtensionIsOneOf(fileName, [Extension.Dcts, Extension.Cts, Extension.Cjs]) ? ModuleKind.CommonJS : - fileExtensionIsOneOf(fileName, [Extension.Dts, Extension.Ts, Extension.Tsx, Extension.Js, Extension.Jsx]) ? lookupFromPackageJson() : - undefined; // other extensions, like `json` or `tsbuildinfo`, are set as `undefined` here but they should never be fed through the transformer pipeline - default: - return undefined; - } + const moduleResolution = getEmitModuleResolutionKind(options); + const shouldLookupFromPackageJson = ModuleResolutionKind.Node16 <= moduleResolution && moduleResolution <= ModuleResolutionKind.NodeNext + || pathContainsNodeModules(fileName); + return fileExtensionIsOneOf(fileName, [Extension.Dmts, Extension.Mts, Extension.Mjs]) ? ModuleKind.ESNext : + fileExtensionIsOneOf(fileName, [Extension.Dcts, Extension.Cts, Extension.Cjs]) ? ModuleKind.CommonJS : + shouldLookupFromPackageJson && fileExtensionIsOneOf(fileName, [Extension.Dts, Extension.Ts, Extension.Tsx, Extension.Js, Extension.Jsx]) ? lookupFromPackageJson() : + undefined; // other extensions, like `json` or `tsbuildinfo`, are set as `undefined` here but they should never be fed through the transformer pipeline function lookupFromPackageJson(): Partial { const state = getTemporaryModuleResolutionState(packageJsonInfoCache, host, options); @@ -3112,7 +3109,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg // Stop searching if the line is not empty and not a comment const lineText = file.text.slice(lineStarts[line], lineStarts[line + 1]).trim(); - if (lineText !== "" && !/^(\s*)\/\/(.*)$/.test(lineText)) { + if (lineText !== "" && !/^\s*\/\/.*$/.test(lineText)) { return -1; } diff --git a/src/compiler/resolutionCache.ts b/src/compiler/resolutionCache.ts index 65c41be92f8..cfe6b955552 100644 --- a/src/compiler/resolutionCache.ts +++ b/src/compiler/resolutionCache.ts @@ -267,11 +267,11 @@ function perceivedOsRootLengthForWatching(pathComponents: Readonly Numeric identifiers MUST NOT include leading zeroes. -const numericIdentifierRegExp = /^(0|[1-9]\d*)$/; +const numericIdentifierRegExp = /^(?:0|[1-9]\d*)$/; /** * Describes a precise semantic version number, https://semver.org @@ -244,8 +244,8 @@ interface Comparator { // range-set ::= range ( logical-or range ) * // range ::= hyphen | simple ( ' ' simple ) * | '' // logical-or ::= ( ' ' ) * '||' ( ' ' ) * -const logicalOrRegExp = /\|\|/g; -const whitespaceRegExp = /\s+/g; +const logicalOrRegExp = /\|\|/; +const whitespaceRegExp = /\s+/; // https://github.com/npm/node-semver#range-grammar // @@ -257,7 +257,7 @@ const whitespaceRegExp = /\s+/g; // build ::= parts // parts ::= part ( '.' part ) * // part ::= nr | [-0-9A-Za-z]+ -const partialRegExp = /^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i; +const partialRegExp = /^([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i; // https://github.com/npm/node-semver#range-grammar // @@ -270,7 +270,7 @@ const hyphenRegExp = /^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i; // primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial // tilde ::= '~' partial // caret ::= '^' partial -const rangeRegExp = /^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i; +const rangeRegExp = /^([~^<>=]|<=|>=)?\s*([a-z0-9-+.*]+)$/i; function parseRange(text: string) { const alternatives: Comparator[][] = []; diff --git a/src/compiler/sourcemap.ts b/src/compiler/sourcemap.ts index fff807e98cf..9f3c5a05d42 100644 --- a/src/compiler/sourcemap.ts +++ b/src/compiler/sourcemap.ts @@ -360,9 +360,9 @@ export function createSourceMapGenerator(host: EmitHost, file: string, sourceRoo // Sometimes tools can see the following line as a source mapping url comment, so we mangle it a bit (the [M]) /** @internal */ -export const sourceMapCommentRegExpDontCareLineStart = /\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; +export const sourceMapCommentRegExpDontCareLineStart = /\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; // eslint-disable-line regexp/no-useless-character-class /** @internal */ -export const sourceMapCommentRegExp = /^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; +export const sourceMapCommentRegExp = /^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/; // eslint-disable-line regexp/no-useless-character-class /** @internal */ export const whitespaceOrMapCommentRegExp = /^\s*(\/\/[@#] .*)?$/; diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index a279719aeb2..a5b24bf8543 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -1466,7 +1466,7 @@ export let sys: System = (() => { const byteOrderMarkIndicator = "\uFEFF"; function getNodeSystem(): System { - const nativePattern = /^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/; + const nativePattern = /^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/; const _fs: typeof import("fs") = require("fs"); const _path: typeof import("path") = require("path"); const _os = require("os"); @@ -1592,7 +1592,7 @@ export let sys: System = (() => { disableCPUProfiler, cpuProfilingEnabled: () => !!activeSession || contains(process.execArgv, "--cpu-prof") || contains(process.execArgv, "--prof"), realpath, - debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || some(process.execArgv, arg => /^--(inspect|debug)(-brk)?(=\d+)?$/i.test(arg)) || !!(process as any).recordreplay, + debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || some(process.execArgv, arg => /^--(?:inspect|debug)(?:-brk)?(?:=\d+)?$/i.test(arg)) || !!(process as any).recordreplay, tryEnableSourceMapsForHost() { try { (require("source-map-support") as typeof import("source-map-support")).install(); @@ -1792,7 +1792,7 @@ export let sys: System = (() => { try { buffer = _fs.readFileSync(fileName); } - catch (e) { + catch { return undefined; } let len = buffer.length; @@ -1863,7 +1863,7 @@ export let sys: System = (() => { continue; } } - catch (e) { + catch { continue; } } @@ -1882,7 +1882,7 @@ export let sys: System = (() => { directories.sort(); return { files, directories }; } - catch (e) { + catch { return emptyFileSystemEntries; } } @@ -1911,7 +1911,7 @@ export let sys: System = (() => { return false; } } - catch (e) { + catch { return false; } finally { @@ -1952,7 +1952,7 @@ export let sys: System = (() => { try { return statSync(path)?.mtime; } - catch (e) { + catch { return undefined; } finally { @@ -1964,7 +1964,7 @@ export let sys: System = (() => { try { _fs.utimesSync(path, time, time); } - catch (e) { + catch { return; } } @@ -1973,7 +1973,7 @@ export let sys: System = (() => { try { return _fs.unlinkSync(path); } - catch (e) { + catch { return; } } diff --git a/src/compiler/transformers/declarations.ts b/src/compiler/transformers/declarations.ts index 166431a7450..b12c3acf84c 100644 --- a/src/compiler/transformers/declarations.ts +++ b/src/compiler/transformers/declarations.ts @@ -87,6 +87,7 @@ import { ImportTypeNode, IndexSignatureDeclaration, InterfaceDeclaration, + InternalNodeBuilderFlags, isAmbientModule, isArray, isArrayBindingElement, @@ -239,10 +240,11 @@ const declarationEmitNodeBuilderFlags = NodeBuilderFlags.MultilineObjectLiterals NodeBuilderFlags.UseTypeOfFunction | NodeBuilderFlags.UseStructuralFallback | NodeBuilderFlags.AllowEmptyTuple | - NodeBuilderFlags.AllowUnresolvedNames | NodeBuilderFlags.GenerateNamesForShadowedTypeParams | NodeBuilderFlags.NoTruncation; +const declarationEmitInternalNodeBuilderFlags = InternalNodeBuilderFlags.AllowUnresolvedNames; + /** * Transforms a ts file into a .d.ts file * This process requires type information, which is retrieved through the emit resolver. Because of this, @@ -429,7 +431,7 @@ export function transformDeclarations(context: TransformationContext) { : Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit, errorNode: s.errorNode || sourceFile, })); - const result = resolver.getDeclarationStatementsForSourceFile(sourceFile, declarationEmitNodeBuilderFlags, symbolTracker); + const result = resolver.getDeclarationStatementsForSourceFile(sourceFile, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); getSymbolAccessibilityDiagnostic = oldDiag; return result; } @@ -678,7 +680,7 @@ export function transformDeclarations(context: TransformationContext) { // Literal const declarations will have an initializer ensured rather than a type return; } - const shouldAddImplicitUndefined = node.kind === SyntaxKind.Parameter && resolver.requiresAddingImplicitUndefined(node); + const shouldAddImplicitUndefined = node.kind === SyntaxKind.Parameter && resolver.requiresAddingImplicitUndefined(node, enclosingDeclaration); if (type && !shouldAddImplicitUndefined) { return visitNode(type, visitDeclarationSubtree, isTypeNode); } @@ -696,7 +698,7 @@ export function transformDeclarations(context: TransformationContext) { case SyntaxKind.PropertyDeclaration: case SyntaxKind.BindingElement: case SyntaxKind.VariableDeclaration: - typeNode = resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker); + typeNode = resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); break; case SyntaxKind.FunctionDeclaration: case SyntaxKind.ConstructSignature: @@ -704,7 +706,7 @@ export function transformDeclarations(context: TransformationContext) { case SyntaxKind.MethodDeclaration: case SyntaxKind.GetAccessor: case SyntaxKind.CallSignature: - typeNode = resolver.createReturnTypeOfSignatureDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker); + typeNode = resolver.createReturnTypeOfSignatureDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker); break; default: Debug.assertNever(node); @@ -1329,7 +1331,7 @@ export function transformDeclarations(context: TransformationContext) { errorNode: input, }); errorFallbackNode = input; - const varDecl = factory.createVariableDeclaration(newId, /*exclamationToken*/ undefined, resolver.createTypeOfExpression(input.expression, input, declarationEmitNodeBuilderFlags, symbolTracker), /*initializer*/ undefined); + const varDecl = factory.createVariableDeclaration(newId, /*exclamationToken*/ undefined, resolver.createTypeOfExpression(input.expression, input, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker), /*initializer*/ undefined); errorFallbackNode = undefined; const statement = factory.createVariableStatement(needsDeclare ? [factory.createModifier(SyntaxKind.DeclareKeyword)] : [], factory.createVariableDeclarationList([varDecl], NodeFlags.Const)); @@ -1471,7 +1473,7 @@ export function transformDeclarations(context: TransformationContext) { return undefined; // unique symbol or non-identifier name - omit, since there's no syntax that can preserve it } getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration); - const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags | NodeBuilderFlags.NoSyntacticPrinter, symbolTracker); + const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags | InternalNodeBuilderFlags.NoSyntacticPrinter, symbolTracker); getSymbolAccessibilityDiagnostic = oldDiag; const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr); const name = isNonContextualKeywordName ? factory.getGeneratedNameForNode(p.valueDeclaration) : factory.createIdentifier(nameStr); @@ -1666,7 +1668,7 @@ export function transformDeclarations(context: TransformationContext) { errorNode: extendsClause, typeName: input.name, }); - const varDecl = factory.createVariableDeclaration(newId, /*exclamationToken*/ undefined, resolver.createTypeOfExpression(extendsClause.expression, input, declarationEmitNodeBuilderFlags, symbolTracker), /*initializer*/ undefined); + const varDecl = factory.createVariableDeclaration(newId, /*exclamationToken*/ undefined, resolver.createTypeOfExpression(extendsClause.expression, input, declarationEmitNodeBuilderFlags, declarationEmitInternalNodeBuilderFlags, symbolTracker), /*initializer*/ undefined); const statement = factory.createVariableStatement(needsDeclare ? [factory.createModifier(SyntaxKind.DeclareKeyword)] : [], factory.createVariableDeclarationList([varDecl], NodeFlags.Const)); const heritageClauses = factory.createNodeArray(map(input.heritageClauses, clause => { if (clause.token === SyntaxKind.ExtendsKeyword) { diff --git a/src/compiler/transformers/declarations/diagnostics.ts b/src/compiler/transformers/declarations/diagnostics.ts index 22bb998ae60..d7a6c54f5ea 100644 --- a/src/compiler/transformers/declarations/diagnostics.ts +++ b/src/compiler/transformers/declarations/diagnostics.ts @@ -767,7 +767,7 @@ export function createGetIsolatedDeclarationErrors(resolver: EmitResolver) { if (isSetAccessor(node.parent)) { return createAccessorTypeError(node.parent); } - const addUndefined = resolver.requiresAddingImplicitUndefined(node); + const addUndefined = resolver.requiresAddingImplicitUndefined(node, /*enclosingDeclaration*/ undefined); if (!addUndefined && node.initializer) { return createExpressionError(node.initializer); } diff --git a/src/compiler/transformers/es2015.ts b/src/compiler/transformers/es2015.ts index 6973b1aef26..e8dffceda4d 100644 --- a/src/compiler/transformers/es2015.ts +++ b/src/compiler/transformers/es2015.ts @@ -2946,7 +2946,7 @@ export function transformES2015(context: TransformationContext): (x: SourceFile const statement = unwrapInnermostStatementOfLabel(node, convertedLoopState && recordLabel); return isIterationStatement(statement, /*lookInLabeledStatements*/ false) ? visitIterationStatement(statement, /*outermostLabeledStatement*/ node) - : factory.restoreEnclosingLabel(Debug.checkDefined(visitNode(statement, visitor, isStatement, factory.liftToBlock)), node, convertedLoopState && resetLabel); + : factory.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory.liftToBlock) ?? setTextRange(factory.createEmptyStatement(), statement), node, convertedLoopState && resetLabel); } function visitIterationStatement(node: IterationStatement, outermostLabeledStatement: LabeledStatement) { diff --git a/src/compiler/transformers/jsx.ts b/src/compiler/transformers/jsx.ts index 49d04a2fd82..bcb0cbf8ee2 100644 --- a/src/compiler/transformers/jsx.ts +++ b/src/compiler/transformers/jsx.ts @@ -667,7 +667,7 @@ export function transformJsx(context: TransformationContext): (x: SourceFile | B const name = node.name; if (isIdentifier(name)) { const text = idText(name); - return (/^[A-Za-z_]\w*$/.test(text)) ? name : factory.createStringLiteral(text); + return (/^[A-Z_]\w*$/i.test(text)) ? name : factory.createStringLiteral(text); } return factory.createStringLiteral(idText(name.namespace) + ":" + idText(name.name)); } diff --git a/src/compiler/transformers/module/module.ts b/src/compiler/transformers/module/module.ts index ca8f46cf226..be0cf4bdf85 100644 --- a/src/compiler/transformers/module/module.ts +++ b/src/compiler/transformers/module/module.ts @@ -993,7 +993,7 @@ export function transformModule(context: TransformationContext): (x: SourceFile return factory.updateLabeledStatement( node, node.label, - visitNode(node.statement, topLevelNestedVisitor, isStatement, factory.liftToBlock) ?? factory.createExpressionStatement(factory.createIdentifier("")), + visitNode(node.statement, topLevelNestedVisitor, isStatement, factory.liftToBlock) ?? setTextRange(factory.createEmptyStatement(), node.statement), ); } diff --git a/src/compiler/transformers/ts.ts b/src/compiler/transformers/ts.ts index 668da90d8e6..9549d5b322f 100644 --- a/src/compiler/transformers/ts.ts +++ b/src/compiler/transformers/ts.ts @@ -60,7 +60,6 @@ import { getStrictOptionValue, getTextOfNode, hasDecorators, - hasStaticModifier, hasSyntacticModifier, HeritageClause, Identifier, @@ -266,7 +265,6 @@ export function transformTypeScript(context: TransformationContext) { let currentNamespaceContainerName: Identifier; let currentLexicalScope: SourceFile | Block | ModuleBlock | CaseBlock; let currentScopeFirstDeclarationsOfName: Map<__String, Node> | undefined; - let currentClassHasParameterProperties: boolean | undefined; /** * Keeps track of whether expression substitution has been enabled for specific edge cases. @@ -323,7 +321,6 @@ export function transformTypeScript(context: TransformationContext) { // Save state const savedCurrentScope = currentLexicalScope; const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName; - const savedCurrentClassHasParameterProperties = currentClassHasParameterProperties; // Handle state changes before visiting a node. onBeforeVisitNode(node); @@ -336,7 +333,6 @@ export function transformTypeScript(context: TransformationContext) { } currentLexicalScope = savedCurrentScope; - currentClassHasParameterProperties = savedCurrentClassHasParameterProperties; return visited; } @@ -1239,10 +1235,8 @@ export function transformTypeScript(context: TransformationContext) { function visitPropertyNameOfClassElement(member: ClassElement): PropertyName { const name = member.name!; // Computed property names need to be transformed into a hoisted variable when they are used more than once. - // The names are used more than once when: - // - the property is non-static and its initializer is moved to the constructor (when there are parameter property assignments). - // - the property has a decorator. - if (isComputedPropertyName(name) && ((!hasStaticModifier(member) && currentClassHasParameterProperties) || hasDecorators(member) && legacyDecorators)) { + // The names are used more than once when the property has a decorator. + if (legacyDecorators && isComputedPropertyName(name) && hasDecorators(member)) { const expression = visitNode(name.expression, visitor, isExpression); Debug.assert(expression); const innerExpression = skipPartiallyEmittedExpressions(expression); @@ -1689,7 +1683,7 @@ export function transformTypeScript(context: TransformationContext) { } function visitParenthesizedExpression(node: ParenthesizedExpression): Expression { - const innerExpression = skipOuterExpressions(node.expression, ~OuterExpressionKinds.Assertions); + const innerExpression = skipOuterExpressions(node.expression, ~(OuterExpressionKinds.Assertions | OuterExpressionKinds.ExpressionsWithTypeArguments)); if (isAssertionExpression(innerExpression) || isSatisfiesExpression(innerExpression)) { // Make sure we consider all nested cast expressions, e.g.: // (-A).x; diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index abb6c83e309..74ec7be5322 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -25,6 +25,7 @@ export enum UpToDateStatusType { OutOfDateOptions, OutOfDateRoots, UpstreamOutOfDate, + UpstreamBlocked, ComputingUpstream, TsVersionOutputOfDate, UpToDateWithInputFileText, @@ -47,6 +48,7 @@ export type UpToDateStatus = | Status.OutOfDateBuildInfo | Status.OutOfDateRoots | Status.UpstreamOutOfDate + | Status.UpstreamBlocked | Status.ComputingUpstream | Status.TsVersionOutOfDate | Status.ContainerOnly @@ -135,6 +137,15 @@ export namespace Status { upstreamProjectName: string; } + /** + * This project depends an upstream project with build errors + */ + export interface UpstreamBlocked { + type: UpToDateStatusType.UpstreamBlocked; + upstreamProjectName: string; + upstreamProjectBlocked: boolean; + } + /** * Computing status of upstream projects referenced */ diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index 7b9b398cf2d..3230699eba3 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -135,6 +135,7 @@ export interface BuildOptions { dry?: boolean; force?: boolean; verbose?: boolean; + stopBuildOnErrors?: boolean; /** @internal */ clean?: boolean; /** @internal */ watch?: boolean; @@ -1254,6 +1255,23 @@ function getNextInvalidatedProjectCreateInfo( } } + if (status.type === UpToDateStatusType.UpstreamBlocked) { + verboseReportProjectStatus(state, project, status); + reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); + projectPendingBuild.delete(projectPath); + if (options.verbose) { + reportStatus( + state, + status.upstreamProjectBlocked ? + Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built : + Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors, + project, + status.upstreamProjectName, + ); + } + continue; + } + if (status.type === UpToDateStatusType.ContainerOnly) { verboseReportProjectStatus(state, project, status); reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config)); @@ -1455,6 +1473,20 @@ function getUpToDateStatusWorker(state: SolutionBuilde continue; } + // An upstream project is blocked + if ( + state.options.stopBuildOnErrors && ( + refStatus.type === UpToDateStatusType.Unbuildable || + refStatus.type === UpToDateStatusType.UpstreamBlocked + ) + ) { + return { + type: UpToDateStatusType.UpstreamBlocked, + upstreamProjectName: ref.path, + upstreamProjectBlocked: refStatus.type === UpToDateStatusType.UpstreamBlocked, + }; + } + if (!force) (referenceStatuses ||= []).push({ ref, refStatus, resolvedRefPath, resolvedConfig }); } } @@ -1848,6 +1880,8 @@ function queueReferencingProjects( buildOrder: readonly ResolvedConfigFileName[], buildResult: BuildResultFlags, ) { + // Queue only if there are no errors + if (state.options.stopBuildOnErrors && (buildResult & BuildResultFlags.AnyErrors)) return; // Only composite projects can be referenced by other projects if (!config.options.composite) return; // Always use build order to queue projects @@ -1883,6 +1917,12 @@ function queueReferencingProjects( }); } break; + + case UpToDateStatusType.UpstreamBlocked: + if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) { + clearProjectStatus(state, nextProjectPath); + } + break; } } addProjToQueue(state, nextProjectPath, ProgramUpdateLevel.Update); @@ -2386,6 +2426,15 @@ function reportUpToDateStatus(state: SolutionBuilderSt relName(state, configFileName), relName(state, status.upstreamProjectName), ); + case UpToDateStatusType.UpstreamBlocked: + return reportStatus( + state, + status.upstreamProjectBlocked ? + Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : + Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors, + relName(state, configFileName), + relName(state, status.upstreamProjectName), + ); case UpToDateStatusType.Unbuildable: return reportStatus( state, diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 18064995d1d..5d83ba90049 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -5051,7 +5051,26 @@ export interface TypeChecker { getWidenedLiteralType(type: Type): Type; /** @internal */ getPromisedTypeOfPromise(promise: Type, errorNode?: Node): Type | undefined; - /** @internal */ + /** + * Gets the "awaited type" of a type. + * + * If an expression has a Promise-like type, the "awaited type" of the expression is + * derived from the type of the first argument of the fulfillment callback for that + * Promise's `then` method. If the "awaited type" is itself a Promise-like, it is + * recursively unwrapped in the same manner until a non-promise type is found. + * + * If an expression does not have a Promise-like type, its "awaited type" is the type + * of the expression. + * + * If the resulting "awaited type" is a generic object type, then it is wrapped in + * an `Awaited`. + * + * In the event the "awaited type" circularly references itself, or is a non-Promise + * object-type with a callable `then()` method, an "awaited type" cannot be determined + * and the value `undefined` will be returned. + * + * This is used to reflect the runtime behavior of the `await` keyword. + */ getAwaitedType(type: Type): Type | undefined; /** @internal */ isEmptyAnonymousObjectType(type: Type): boolean; @@ -5073,13 +5092,14 @@ export interface TypeChecker { // TODO: GH#18217 `xToDeclaration` calls are frequently asserted as defined. /** Note that the resulting nodes cannot be checked. */ typeToTypeNode(type: Type, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): TypeNode | undefined; - /** @internal */ typeToTypeNode(type: Type, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, tracker?: SymbolTracker): TypeNode | undefined; // eslint-disable-line @typescript-eslint/unified-signatures + /** @internal */ typeToTypeNode(type: Type, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags?: InternalNodeBuilderFlags | undefined, tracker?: SymbolTracker): TypeNode | undefined; // eslint-disable-line @typescript-eslint/unified-signatures + /** @internal */ typePredicateToTypePredicateNode(typePredicate: TypePredicate, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags?: InternalNodeBuilderFlags | undefined, tracker?: SymbolTracker): TypePredicateNode | undefined; /** Note that the resulting nodes cannot be checked. */ signatureToSignatureDeclaration(signature: Signature, kind: SyntaxKind, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): SignatureDeclaration & { typeArguments?: NodeArray; } | undefined; - /** @internal */ signatureToSignatureDeclaration(signature: Signature, kind: SyntaxKind, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, tracker?: SymbolTracker): SignatureDeclaration & { typeArguments?: NodeArray; } | undefined; // eslint-disable-line @typescript-eslint/unified-signatures + /** @internal */ signatureToSignatureDeclaration(signature: Signature, kind: SyntaxKind, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags?: InternalNodeBuilderFlags | undefined, tracker?: SymbolTracker): SignatureDeclaration & { typeArguments?: NodeArray; } | undefined; // eslint-disable-line @typescript-eslint/unified-signatures /** Note that the resulting nodes cannot be checked. */ indexInfoToIndexSignatureDeclaration(indexInfo: IndexInfo, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): IndexSignatureDeclaration | undefined; - /** @internal */ indexInfoToIndexSignatureDeclaration(indexInfo: IndexInfo, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, tracker?: SymbolTracker): IndexSignatureDeclaration | undefined; // eslint-disable-line @typescript-eslint/unified-signatures + /** @internal */ indexInfoToIndexSignatureDeclaration(indexInfo: IndexInfo, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags?: InternalNodeBuilderFlags | undefined, tracker?: SymbolTracker): IndexSignatureDeclaration | undefined; // eslint-disable-line @typescript-eslint/unified-signatures /** Note that the resulting nodes cannot be checked. */ symbolToEntityName(symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): EntityName | undefined; /** Note that the resulting nodes cannot be checked. */ @@ -5089,7 +5109,7 @@ export interface TypeChecker { * * @internal */ - symbolToNode(symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): Node | undefined; + symbolToNode(symbol: Symbol, meaning: SymbolFlags, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined, internalFlags: InternalNodeBuilderFlags | undefined): Node | undefined; /** Note that the resulting nodes cannot be checked. */ symbolToTypeParameterDeclarations(symbol: Symbol, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): NodeArray | undefined; /** Note that the resulting nodes cannot be checked. */ @@ -5292,7 +5312,7 @@ export interface TypeChecker { /** @internal */ getDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken, nodesToCheck?: Node[]): Diagnostic[]; /** @internal */ getGlobalDiagnostics(): Diagnostic[]; /** @internal */ getEmitResolver(sourceFile?: SourceFile, cancellationToken?: CancellationToken, forceDts?: boolean): EmitResolver; - /** @internal */ requiresAddingImplicitUndefined(parameter: ParameterDeclaration | JSDocParameterTag): boolean; + /** @internal */ requiresAddingImplicitUndefined(parameter: ParameterDeclaration | JSDocParameterTag, enclosingDeclaration: Node | undefined): boolean; /** @internal */ getNodeCount(): number; /** @internal */ getIdentifierCount(): number; @@ -5458,12 +5478,9 @@ export const enum NodeBuilderFlags { AllowEmptyTuple = 1 << 19, AllowUniqueESSymbolType = 1 << 20, AllowEmptyIndexInfoType = 1 << 21, - /** @internal */ WriteComputedProps = 1 << 30, // { [E.A]: 1 } - /** @internal */ NoSyntacticPrinter = 1 << 31, // Errors (cont.) AllowNodeModulesRelativePaths = 1 << 26, - /** @internal */ DoNotIncludeSymbolChain = 1 << 27, // Skip looking up and printing an accessible symbol chain - /** @internal */ AllowUnresolvedNames = 1 << 32, + IgnoreErrors = AllowThisInObjectLiteral | AllowQualifiedNameInPlaceOfIdentifier | AllowAnonymousIdentifier | AllowEmptyUnionOrIntersection | AllowEmptyTuple | AllowEmptyIndexInfoType | AllowNodeModulesRelativePaths, @@ -5473,6 +5490,16 @@ export const enum NodeBuilderFlags { InInitialEntityName = 1 << 24, // Set when writing the LHS of an entity name or entity name expression } +/** @internal */ +// dprint-ignore +export const enum InternalNodeBuilderFlags { + None = 0, + WriteComputedProps = 1 << 0, // { [E.A]: 1 } + NoSyntacticPrinter = 1 << 1, + DoNotIncludeSymbolChain = 1 << 2, // Skip looking up and printing an accessible symbol chain + AllowUnresolvedNames = 1 << 3, +} + // Ensure the shared flags between this and `NodeBuilderFlags` stay in alignment // dprint-ignore export const enum TypeFormatFlags { @@ -5806,12 +5833,12 @@ export interface EmitResolver { collectLinkedAliases(node: ModuleExportName, setVisibility?: boolean): Node[] | undefined; markLinkedReferences(node: Node): void; isImplementationOfOverload(node: SignatureDeclaration): boolean | undefined; - requiresAddingImplicitUndefined(node: ParameterDeclaration): boolean; + requiresAddingImplicitUndefined(node: ParameterDeclaration, enclosingDeclaration: Node | undefined): boolean; isExpandoFunctionDeclaration(node: FunctionDeclaration | VariableDeclaration): boolean; getPropertiesOfContainerFunction(node: Declaration): Symbol[]; - createTypeOfDeclaration(declaration: AccessorDeclaration | VariableLikeDeclaration | PropertyAccessExpression | ElementAccessExpression | BinaryExpression, enclosingDeclaration: Node, flags: NodeBuilderFlags, tracker: SymbolTracker): TypeNode | undefined; - createReturnTypeOfSignatureDeclaration(signatureDeclaration: SignatureDeclaration, enclosingDeclaration: Node, flags: NodeBuilderFlags, tracker: SymbolTracker): TypeNode | undefined; - createTypeOfExpression(expr: Expression, enclosingDeclaration: Node, flags: NodeBuilderFlags, tracker: SymbolTracker): TypeNode | undefined; + createTypeOfDeclaration(declaration: AccessorDeclaration | VariableLikeDeclaration | PropertyAccessExpression | ElementAccessExpression | BinaryExpression, enclosingDeclaration: Node, flags: NodeBuilderFlags, internalFlags: InternalNodeBuilderFlags, tracker: SymbolTracker): TypeNode | undefined; + createReturnTypeOfSignatureDeclaration(signatureDeclaration: SignatureDeclaration, enclosingDeclaration: Node, flags: NodeBuilderFlags, internalFlags: InternalNodeBuilderFlags, tracker: SymbolTracker): TypeNode | undefined; + createTypeOfExpression(expr: Expression, enclosingDeclaration: Node, flags: NodeBuilderFlags, internalFlags: InternalNodeBuilderFlags, tracker: SymbolTracker): TypeNode | undefined; createLiteralConstValue(node: VariableDeclaration | PropertyDeclaration | PropertySignature | ParameterDeclaration, tracker: SymbolTracker): Expression; isSymbolAccessible(symbol: Symbol, enclosingDeclaration: Node | undefined, meaning: SymbolFlags | undefined, shouldComputeAliasToMarkVisible: boolean): SymbolAccessibilityResult; isEntityNameVisible(entityName: EntityNameOrEntityNameExpression, enclosingDeclaration: Node): SymbolVisibilityResult; @@ -5828,7 +5855,7 @@ export interface EmitResolver { getJsxFactoryEntity(location?: Node): EntityName | undefined; getJsxFragmentFactoryEntity(location?: Node): EntityName | undefined; isBindingCapturedByNode(node: Node, decl: VariableDeclaration | BindingElement): boolean; - getDeclarationStatementsForSourceFile(node: SourceFile, flags: NodeBuilderFlags, tracker: SymbolTracker): Statement[] | undefined; + getDeclarationStatementsForSourceFile(node: SourceFile, flags: NodeBuilderFlags, internalFlags: InternalNodeBuilderFlags, tracker: SymbolTracker): Statement[] | undefined; isImportRequiredByAugmentation(decl: ImportDeclaration): boolean; isDefinitelyReferenceToGlobalSymbolObject(node: Node): boolean; } @@ -8475,11 +8502,12 @@ export const enum OuterExpressionKinds { TypeAssertions = 1 << 1, NonNullAssertions = 1 << 2, PartiallyEmittedExpressions = 1 << 3, + ExpressionsWithTypeArguments = 1 << 4, Assertions = TypeAssertions | NonNullAssertions, - All = Parentheses | Assertions | PartiallyEmittedExpressions, + All = Parentheses | Assertions | PartiallyEmittedExpressions | ExpressionsWithTypeArguments, - ExcludeJSDocTypeAssertion = 1 << 4, + ExcludeJSDocTypeAssertion = 1 << 31, } /** @internal */ @@ -8489,6 +8517,7 @@ export type OuterExpression = | SatisfiesExpression | AsExpression | NonNullExpression + | ExpressionWithTypeArguments | PartiallyEmittedExpression; /** @internal */ @@ -9845,6 +9874,7 @@ export interface ModulePath { export interface ResolvedModuleSpecifierInfo { kind: "node_modules" | "paths" | "redirect" | "relative" | "ambient" | undefined; modulePaths: readonly ModulePath[] | undefined; + packageName: string | undefined; moduleSpecifiers: readonly string[] | undefined; isBlockedByPackageJsonDependencies: boolean | undefined; } @@ -9858,7 +9888,7 @@ export interface ModuleSpecifierOptions { export interface ModuleSpecifierCache { get(fromFileName: Path, toFileName: Path, preferences: UserPreferences, options: ModuleSpecifierOptions): Readonly | undefined; set(fromFileName: Path, toFileName: Path, preferences: UserPreferences, options: ModuleSpecifierOptions, kind: ResolvedModuleSpecifierInfo["kind"], modulePaths: readonly ModulePath[], moduleSpecifiers: readonly string[]): void; - setBlockedByPackageJsonDependencies(fromFileName: Path, toFileName: Path, preferences: UserPreferences, options: ModuleSpecifierOptions, isBlockedByPackageJsonDependencies: boolean): void; + setBlockedByPackageJsonDependencies(fromFileName: Path, toFileName: Path, preferences: UserPreferences, options: ModuleSpecifierOptions, packageName: string | undefined, isBlockedByPackageJsonDependencies: boolean): void; setModulePaths(fromFileName: Path, toFileName: Path, preferences: UserPreferences, options: ModuleSpecifierOptions, modulePaths: readonly ModulePath[]): void; clear(): void; count(): number; @@ -10250,6 +10280,7 @@ export interface UserPreferences { readonly interactiveInlayHints?: boolean; readonly allowRenameOfImportPath?: boolean; readonly autoImportFileExcludePatterns?: string[]; + readonly autoImportSpecifierExcludeRegexes?: string[]; readonly preferTypeOnlyAutoImports?: boolean; /** * Indicates whether imports should be organized in a case-insensitive manner. @@ -10367,6 +10398,6 @@ export interface SyntacticTypeNodeBuilderResolver { isExpandoFunctionDeclaration(name: FunctionDeclaration | VariableDeclaration): boolean; getAllAccessorDeclarations(declaration: AccessorDeclaration): AllAccessorDeclarations; isEntityNameVisible(entityName: EntityNameOrEntityNameExpression, enclosingDeclaration: Node, shouldComputeAliasToMakeVisible?: boolean): SymbolVisibilityResult; - requiresAddingImplicitUndefined(parameter: ParameterDeclaration | JSDocParameterTag): boolean; + requiresAddingImplicitUndefined(parameter: ParameterDeclaration | JSDocParameterTag, enclosingDeclaration: Node | undefined): boolean; isDefinitelyReferenceToGlobalSymbolObject(node: Node): boolean; } diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index a1ef5bb08d8..76849b84703 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -265,6 +265,7 @@ import { isConstructorDeclaration, isConstTypeReference, isDeclaration, + isDeclarationFileName, isDecorator, isElementAccessExpression, isEnumDeclaration, @@ -2621,12 +2622,12 @@ export function getJSDocCommentRanges(node: Node, text: string) { text.charCodeAt(comment.pos + 3) !== CharacterCodes.slash); } -const fullTripleSlashReferencePathRegEx = /^(\/\/\/\s*/; -const fullTripleSlashReferenceTypeReferenceDirectiveRegEx = /^(\/\/\/\s*/; -const fullTripleSlashLibReferenceRegEx = /^(\/\/\/\s*/; -const fullTripleSlashAMDReferencePathRegEx = /^(\/\/\/\s*/; -const fullTripleSlashAMDModuleRegEx = /^\/\/\/\s*/; -const defaultLibReferenceRegEx = /^(\/\/\/\s*/; +const fullTripleSlashReferencePathRegEx = /^\/\/\/\s*/; +const fullTripleSlashReferenceTypeReferenceDirectiveRegEx = /^\/\/\/\s*/; +const fullTripleSlashLibReferenceRegEx = /^\/\/\/\s*/; +const fullTripleSlashAMDReferencePathRegEx = /^\/\/\/\s*/; +const fullTripleSlashAMDModuleRegEx = /^\/\/\/\s*/; +const defaultLibReferenceRegEx = /^\/\/\/\s*/; export function isPartOfTypeNode(node: Node): boolean { if (SyntaxKind.FirstTypeNode <= node.kind && node.kind <= SyntaxKind.LastTypeNode) { @@ -5987,10 +5988,10 @@ export function hasInvalidEscape(template: TemplateLiteral): boolean { // the language service. These characters should be escaped when printing, and if any characters are added, // the map below must be updated. Note that this regexp *does not* include the 'delete' character. // There is no reason for this other than that JSON.stringify does not handle it either. -const doubleQuoteEscapedCharsRegExp = /[\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g; -const singleQuoteEscapedCharsRegExp = /[\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g; +const doubleQuoteEscapedCharsRegExp = /[\\"\u0000-\u001f\u2028\u2029\u0085]/g; +const singleQuoteEscapedCharsRegExp = /[\\'\u0000-\u001f\u2028\u2029\u0085]/g; // Template strings preserve simple LF newlines, still encode CRLF (or CR) -const backtickQuoteEscapedCharsRegExp = /\r\n|[\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g; +const backtickQuoteEscapedCharsRegExp = /\r\n|[\\`\u0000-\u001f\u2028\u2029\u0085]/g; const escapedCharsMap = new Map(Object.entries({ "\t": "\\t", "\v": "\\v", @@ -8364,7 +8365,7 @@ export function setObjectAllocator(alloc: ObjectAllocator) { /** @internal */ export function formatStringFromArgs(text: string, args: DiagnosticArguments): string { - return text.replace(/{(\d+)}/g, (_match, index: string) => "" + Debug.checkDefined(args[+index])); + return text.replace(/\{(\d+)\}/g, (_match, index: string) => "" + Debug.checkDefined(args[+index])); } let localizedDiagnosticMessages: MapLike | undefined; @@ -9164,10 +9165,16 @@ export function getJSXTransformEnabled(options: CompilerOptions): boolean { export function getJSXImplicitImportBase(compilerOptions: CompilerOptions, file?: SourceFile): string | undefined { const jsxImportSourcePragmas = file?.pragmas.get("jsximportsource"); const jsxImportSourcePragma = isArray(jsxImportSourcePragmas) ? jsxImportSourcePragmas[jsxImportSourcePragmas.length - 1] : jsxImportSourcePragmas; + const jsxRuntimePragmas = file?.pragmas.get("jsxruntime"); + const jsxRuntimePragma = isArray(jsxRuntimePragmas) ? jsxRuntimePragmas[jsxRuntimePragmas.length - 1] : jsxRuntimePragmas; + if (jsxRuntimePragma?.arguments.factory === "classic") { + return undefined; + } return compilerOptions.jsx === JsxEmit.ReactJSX || compilerOptions.jsx === JsxEmit.ReactJSXDev || compilerOptions.jsxImportSource || - jsxImportSourcePragma ? + jsxImportSourcePragma || + jsxRuntimePragma?.arguments.factory === "automatic" ? jsxImportSourcePragma?.arguments.factory || compilerOptions.jsxImportSource || "react" : undefined; } @@ -9779,6 +9786,12 @@ export function hasTSFileExtension(fileName: string): boolean { return some(supportedTSExtensionsFlat, extension => fileExtensionIs(fileName, extension)); } +/** @internal */ +export function hasImplementationTSFileExtension(fileName: string): boolean { + return some(supportedTSImplementationExtensions, extension => fileExtensionIs(fileName, extension)) + && !isDeclarationFileName(fileName); +} + /** * @internal * Corresponds to UserPreferences#importPathEnding @@ -10610,7 +10623,7 @@ export function isFunctionExpressionOrArrowFunction(node: Node): node is Functio /** @internal */ export function escapeSnippetText(text: string): string { - return text.replace(/\$/gm, () => "\\$"); + return text.replace(/\$/g, () => "\\$"); } /** @internal */ diff --git a/src/compiler/utilitiesPublic.ts b/src/compiler/utilitiesPublic.ts index dfc3f2d069b..325f9739c56 100644 --- a/src/compiler/utilitiesPublic.ts +++ b/src/compiler/utilitiesPublic.ts @@ -681,7 +681,7 @@ export function validateLocaleAndSetLanguage( errors?: Diagnostic[], ) { const lowerCaseLocale = locale.toLowerCase(); - const matchResult = /^([a-z]+)([_-]([a-z]+))?$/.exec(lowerCaseLocale); + const matchResult = /^([a-z]+)(?:[_-]([a-z]+))?$/.exec(lowerCaseLocale); if (!matchResult) { if (errors) { @@ -691,7 +691,7 @@ export function validateLocaleAndSetLanguage( } const language = matchResult[1]; - const territory = matchResult[3]; + const territory = matchResult[2]; // First try the entire locale, then fall back to just language if that's all we have. // Either ways do not fail, and fallback to the English diagnostic strings. @@ -723,7 +723,7 @@ export function validateLocaleAndSetLanguage( try { fileContents = sys.readFile(filePath); } - catch (e) { + catch { if (errors) { errors.push(createCompilerDiagnostic(Diagnostics.Unable_to_open_file_0, filePath)); } diff --git a/src/compiler/watchUtilities.ts b/src/compiler/watchUtilities.ts index 433c34ad96d..cbeceed07fd 100644 --- a/src/compiler/watchUtilities.ts +++ b/src/compiler/watchUtilities.ts @@ -21,6 +21,7 @@ import { FileWatcherCallback, FileWatcherEventKind, find, + forEachAncestorDirectory, getAllowJSCompilerOption, getBaseFileName, getDirectoryPath, @@ -198,7 +199,7 @@ export function createCachedDirectoryStructureHost(host: DirectoryStructureHost, try { return createCachedFileSystemEntries(rootDir, rootDirPath); } - catch (_e) { + catch { // If there is exception to read directories, dont cache the result and direct the calls to host Debug.assert(!cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(rootDirPath))); return undefined; @@ -291,6 +292,13 @@ export function createCachedDirectoryStructureHost(host: DirectoryStructureHost, return host.realpath ? host.realpath(s) : s; } + function clearFirstAncestorEntry(fileOrDirectoryPath: Path) { + forEachAncestorDirectory( + getDirectoryPath(fileOrDirectoryPath), + ancestor => cachedReadDirectoryResult.delete(ensureTrailingDirectorySeparator(ancestor)) ? true : undefined, + ); + } + function addOrDeleteFileOrDirectory(fileOrDirectory: string, fileOrDirectoryPath: Path) { const existingResult = getCachedFileSystemEntries(fileOrDirectoryPath); if (existingResult !== undefined) { @@ -302,6 +310,7 @@ export function createCachedDirectoryStructureHost(host: DirectoryStructureHost, const parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath); if (!parentResult) { + clearFirstAncestorEntry(fileOrDirectoryPath); return undefined; } @@ -339,6 +348,9 @@ export function createCachedDirectoryStructureHost(host: DirectoryStructureHost, if (parentResult) { updateFilesOfFileSystemEntry(parentResult, getBaseNameOfFileName(fileName), eventKind === FileWatcherEventKind.Created); } + else { + clearFirstAncestorEntry(filePath); + } } function updateFilesOfFileSystemEntry(parentResult: SortedAndCanonicalizedMutableFileSystemEntries, baseName: string, fileExists: boolean): void { @@ -486,8 +498,8 @@ export function updateMissingFilePathsWatch( } /** @internal */ -export interface WildcardDirectoryWatcher { - watcher: FileWatcher; +export interface WildcardDirectoryWatcher { + watcher: T; flags: WatchDirectoryFlags; } @@ -499,10 +511,10 @@ export interface WildcardDirectoryWatcher { * * @internal */ -export function updateWatchingWildcardDirectories( - existingWatchedForWildcards: Map, +export function updateWatchingWildcardDirectories( + existingWatchedForWildcards: Map>, wildcardDirectories: MapLike | undefined, - watchDirectory: (directory: string, flags: WatchDirectoryFlags) => FileWatcher, + watchDirectory: (directory: string, flags: WatchDirectoryFlags) => T, ) { if (wildcardDirectories) { mutateMap( @@ -522,7 +534,7 @@ export function updateWatchingWildcardDirectories( clearMap(existingWatchedForWildcards, closeFileWatcherOf); } - function createWildcardDirectoryWatcher(directory: string, flags: WatchDirectoryFlags): WildcardDirectoryWatcher { + function createWildcardDirectoryWatcher(directory: string, flags: WatchDirectoryFlags): WildcardDirectoryWatcher { // Create new watch and recursive info return { watcher: watchDirectory(directory, flags), @@ -530,7 +542,7 @@ export function updateWatchingWildcardDirectories( }; } - function updateWildcardDirectoryWatcher(existingWatcher: WildcardDirectoryWatcher, flags: WatchDirectoryFlags, directory: string) { + function updateWildcardDirectoryWatcher(existingWatcher: WildcardDirectoryWatcher, flags: WatchDirectoryFlags, directory: string) { // Watcher needs to be updated if the recursive flags dont match if (existingWatcher.flags === flags) { return; diff --git a/src/harness/compilerImpl.ts b/src/harness/compilerImpl.ts index 90393622d93..4e19b1443ae 100644 --- a/src/harness/compilerImpl.ts +++ b/src/harness/compilerImpl.ts @@ -241,7 +241,7 @@ export class CompilationResult { } } -export function compileFiles(host: fakes.CompilerHost, rootFiles: string[] | undefined, compilerOptions: ts.CompilerOptions, typeScriptVersion?: string): CompilationResult { +export function compileFiles(host: fakes.CompilerHost, rootFiles: string[] | undefined, compilerOptions: ts.CompilerOptions, typeScriptVersion?: string, captureSuggestions?: boolean): CompilationResult { if (compilerOptions.project || !rootFiles || rootFiles.length === 0) { const project = readProject(host.parseConfigHost, compilerOptions.project, compilerOptions); if (project) { @@ -265,11 +265,17 @@ export function compileFiles(host: fakes.CompilerHost, rootFiles: string[] | und // and if the test is running `skipLibCheck` - an indicator that we want the tets to run quickly - skip the before/after error comparison, too const skipErrorComparison = ts.length(rootFiles) >= 100 || (!!compilerOptions.skipLibCheck && !!compilerOptions.declaration); const preProgram = !skipErrorComparison ? ts.createProgram({ rootNames: rootFiles || [], options: { ...compilerOptions, configFile: compilerOptions.configFile, traceResolution: false }, host, typeScriptVersion }) : undefined; - const preErrors = preProgram && ts.getPreEmitDiagnostics(preProgram); + let preErrors = preProgram && ts.getPreEmitDiagnostics(preProgram); + if (preProgram && captureSuggestions) { + preErrors = ts.concatenate(preErrors, ts.flatMap(preProgram.getSourceFiles(), f => preProgram.getSuggestionDiagnostics(f))); + } const program = ts.createProgram({ rootNames: rootFiles || [], options: compilerOptions, host, typeScriptVersion }); const emitResult = program.emit(); - const postErrors = ts.getPreEmitDiagnostics(program); + let postErrors = ts.getPreEmitDiagnostics(program); + if (captureSuggestions) { + postErrors = ts.concatenate(postErrors, ts.flatMap(program.getSourceFiles(), f => program.getSuggestionDiagnostics(f))); + } const longerErrors = ts.length(preErrors) > postErrors.length ? preErrors : postErrors; const shorterErrors = longerErrors === preErrors ? postErrors : preErrors; const errors = preErrors && (preErrors.length !== postErrors.length) ? [ diff --git a/src/harness/documentsUtil.ts b/src/harness/documentsUtil.ts index 8a96d4d290f..cf3d7c7f081 100644 --- a/src/harness/documentsUtil.ts +++ b/src/harness/documentsUtil.ts @@ -72,8 +72,8 @@ export class SourceMap { public readonly mappings: readonly Mapping[] = []; public readonly names: readonly string[] | undefined; - private static readonly _mappingRegExp = /([A-Za-z0-9+/]+),?|(;)|./g; - private static readonly _sourceMappingURLRegExp = /^\/\/[#@]\s*sourceMappingURL\s*=\s*(.*?)\s*$/mig; + private static readonly _mappingRegExp = /([A-Z0-9+/]+),?|(;)|./gi; + private static readonly _sourceMappingURLRegExp = /^\/\/[#@]\s*sourceMappingURL\s*=\s*(.*?)\s*$/gim; private static readonly _dataURLRegExp = /^data:application\/json;base64,([a-z0-9+/=]+)$/i; private static readonly _base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; diff --git a/src/harness/evaluatorImpl.ts b/src/harness/evaluatorImpl.ts index 9fdeed5b6cd..706e613aa5d 100644 --- a/src/harness/evaluatorImpl.ts +++ b/src/harness/evaluatorImpl.ts @@ -10,7 +10,7 @@ const sourceFileJs = vpath.combine(vfs.srcFolder, "source.js"); // Define a custom "Symbol" constructor to attach missing built-in symbols without // modifying the global "Symbol" constructor -const FakeSymbol: SymbolConstructor = ((description?: string) => Symbol(description)) as any; +export const FakeSymbol: SymbolConstructor = ((description?: string) => Symbol(description)) as any; (FakeSymbol as any).prototype = Symbol.prototype; for (const key of Object.getOwnPropertyNames(Symbol)) { Object.defineProperty(FakeSymbol, key, Object.getOwnPropertyDescriptor(Symbol, key)!); diff --git a/src/harness/fourslashImpl.ts b/src/harness/fourslashImpl.ts index 4d3d6cea32e..33e0f84a744 100644 --- a/src/harness/fourslashImpl.ts +++ b/src/harness/fourslashImpl.ts @@ -963,10 +963,10 @@ export class TestState { const fileName = this.activeFile.fileName; const hints = this.languageService.provideInlayHints(fileName, span, preferences); - const annotations = ts.map(hints.sort(sortHints), hint => { + const annotations = ts.map(hints.slice().sort(sortHints), hint => { if (hint.displayParts) { hint.displayParts = ts.map(hint.displayParts, part => { - if (part.file && /lib(?:.*)\.d\.ts$/.test(part.file)) { + if (part.file && /lib.*\.d\.ts$/.test(part.file)) { part.span!.start = -1; } return part; @@ -1547,7 +1547,7 @@ export class TestState { }: BaselineDocumentSpansWithFileContentsOptions, spanToContextId: Map, ) { - const isLibFile = /lib(?:.*)\.d\.ts$/.test(fileName); + const isLibFile = /lib.*\.d\.ts$/.test(fileName); let readableContents = `// === ${fileName} ===`; let newContent = ""; interface Detail { @@ -2514,7 +2514,7 @@ export class TestState { for (const part of tag.text ?? ts.emptyArray) { if (part.kind === "linkName") { const link = part as ts.JSDocLinkDisplayPart; - if (/lib(?:.*)\.d\.ts$/.test(link.target.fileName)) { + if (/lib.*\.d\.ts$/.test(link.target.fileName)) { // The object literal isn't a complete TextSpan, but we're only going to // use these results in the baseline for diffing, so just overwrite. (link.target.textSpan as any) = { start: "--", length: "--" }; @@ -3257,8 +3257,8 @@ export class TestState { allSpanInsets.push({ text: "|]", pos: span.textSpan.start + span.textSpan.length }); }); - const reverseSpans = allSpanInsets.sort((l, r) => r.pos - l.pos); - ts.forEach(reverseSpans, span => { + allSpanInsets.sort((l, r) => r.pos - l.pos); + ts.forEach(allSpanInsets, span => { annotated = annotated.slice(0, span.pos) + span.text + annotated.slice(span.pos); }); Harness.IO.log(`\nMockup:\n${annotated}`); @@ -3783,7 +3783,7 @@ export class TestState { return { baselineContent: baselineContent + activeFile.content + `\n\n--No linked edits found--`, offset }; } - let inlineLinkedEditBaselines: { start: number; end: number; index: number; }[] = []; + const inlineLinkedEditBaselines: { start: number; end: number; index: number; }[] = []; let linkedEditInfoBaseline = ""; for (const edit of linkedEditsByRange) { const [linkedEdit, positions] = edit; @@ -3802,7 +3802,7 @@ export class TestState { offset++; } - inlineLinkedEditBaselines = inlineLinkedEditBaselines.sort((a, b) => a.start - b.start); + inlineLinkedEditBaselines.sort((a, b) => a.start - b.start); const fileText = activeFile.content; baselineContent += fileText.slice(0, inlineLinkedEditBaselines[0].start); for (let i = 0; i < inlineLinkedEditBaselines.length; i++) { @@ -4058,7 +4058,7 @@ export class TestState { public verifyRefactorKindsAvailable(kind: string, expected: string[], preferences = ts.emptyOptions) { const refactors = this.getApplicableRefactorsAtSelection("invoked", kind, preferences); const availableKinds = ts.flatMap(refactors, refactor => refactor.actions).map(action => action.kind); - assert.deepEqual(availableKinds.sort(), expected.sort(), `Expected kinds to be equal`); + assert.deepEqual(availableKinds.slice().sort(), expected.slice().sort(), `Expected kinds to be equal`); } public verifyRefactorsAvailable(names: readonly string[]): void { @@ -4938,7 +4938,7 @@ function parseFileContent(content: string, fileName: string, markerMap: Map a.pos < b.pos ? -1 : a.pos === b.pos && a.end > b.end ? -1 : 1); + localRanges.sort((a, b) => a.pos < b.pos ? -1 : a.pos === b.pos && a.end > b.end ? -1 : 1); localRanges.forEach(r => ranges.push(r)); return { diff --git a/src/harness/harnessIO.ts b/src/harness/harnessIO.ts index d73092a297a..32b5c1e4281 100644 --- a/src/harness/harnessIO.ts +++ b/src/harness/harnessIO.ts @@ -282,6 +282,7 @@ export namespace Compiler { baselineFile?: string; libFiles?: string; noTypesAndSymbols?: boolean; + captureSuggestions?: boolean; } // Additional options not already in ts.optionDeclarations @@ -303,6 +304,7 @@ export namespace Compiler { { name: "fullEmitPaths", type: "boolean", defaultValueDescription: false }, { name: "noCheck", type: "boolean", defaultValueDescription: false }, { name: "reportDiagnostics", type: "boolean", defaultValueDescription: false }, // used to enable error collection in `transpile` baselines + { name: "captureSuggestions", type: "boolean", defaultValueDescription: false }, // Adds suggestion diagnostics to error baselines ]; let optionsIndex: Map; @@ -428,7 +430,7 @@ export namespace Compiler { ts.assign(options, ts.convertToOptionsWithAbsolutePaths(options, path => ts.getNormalizedAbsolutePath(path, currentDirectory))); const host = new fakes.CompilerHost(fs, options); - const result = compiler.compileFiles(host, programFileNames, options, typeScriptVersion); + const result = compiler.compileFiles(host, programFileNames, options, typeScriptVersion, harnessSettings?.captureSuggestions === "true"); result.symlinks = symlinks; (result as CompileFilesResult).repeat = newOptions => compileFiles(inputFiles, otherFiles, { ...harnessSettings, ...newOptions }, compilerOptions, originalCurrentDirectory, symlinks); return result as CompileFilesResult; @@ -582,7 +584,7 @@ export namespace Compiler { let location = info.file ? " " + ts.formatLocation(info.file, info.start!, formatDiagnsoticHost, ts.identity) : ""; location = Utils.removeTestPathPrefixes(location); if (location && isDefaultLibraryFile(info.file!.fileName)) { - location = location.replace(/(lib(?:.*)\.d\.ts):\d+:\d+/i, "$1:--:--"); + location = location.replace(/(lib.*\.d\.ts):\d+:\d+/i, "$1:--:--"); } errLines.push(`!!! related TS${info.code}${location}: ${ts.flattenDiagnosticMessageText(info.messageText, IO.newLine())}`); } @@ -603,7 +605,7 @@ export namespace Compiler { let topDiagnostics = minimalDiagnosticsToString(diagnostics, options && options.pretty); topDiagnostics = Utils.removeTestPathPrefixes(topDiagnostics); - topDiagnostics = topDiagnostics.replace(/^(lib(?:.*)\.d\.ts)\(\d+,\d+\)/igm, "$1(--,--)"); + topDiagnostics = topDiagnostics.replace(/^(lib.*\.d\.ts)\(\d+,\d+\)/gim, "$1(--,--)"); yield [diagnosticSummaryMarker, topDiagnostics + IO.newLine() + IO.newLine(), diagnostics.length]; @@ -666,7 +668,7 @@ export namespace Compiler { // Calculate the start of the squiggle const squiggleStart = Math.max(0, relativeOffset); // TODO/REVIEW: this doesn't work quite right in the browser if a multi file test has files whose names are just the right length relative to one another - outputLines += newLine() + " " + line.substr(0, squiggleStart).replace(/[^\s]/g, " ") + new Array(Math.min(length, line.length - squiggleStart) + 1).join("~"); + outputLines += newLine() + " " + line.substr(0, squiggleStart).replace(/\S/g, " ") + new Array(Math.min(length, line.length - squiggleStart) + 1).join("~"); // If the error ended here, or we're at the end of the file, emit its message if ((lineIndex === lines.length - 1) || nextLineStart > end) { @@ -862,7 +864,7 @@ export namespace Compiler { for (const file of allFiles) { const { unitName } = file; let typeLines = "=== " + unitName + " ===\r\n"; - const codeLines = ts.flatMap(file.content.split(/\r?\n/g), e => e.split(/[\r\u2028\u2029]/g)); + const codeLines = ts.flatMap(file.content.split(/\r?\n/), e => e.split(/[\r\u2028\u2029]/)); const gen: IterableIterator = isSymbolBaseline ? fullWalker.getSymbols(unitName) : fullWalker.getTypes(unitName); let lastIndexWritten: number | undefined; for (const result of gen) { @@ -1103,7 +1105,7 @@ function splitVaryBySettingValue(text: string, varyBy: string): string[] | undef let star = false; const includes: string[] = []; const excludes: string[] = []; - for (let s of text.split(/,/g)) { + for (let s of text.split(/,/)) { s = s.trim().toLowerCase(); if (s.length === 0) continue; if (s === "*") { @@ -1247,8 +1249,8 @@ export namespace TestCaseParser { } // Regex for parsing options in the format "@Alpha: Value of any sort" - const optionRegex = /^[/]{2}\s*@(\w+)\s*:\s*([^\r\n]*)/gm; // multiple matches on multiple lines - const linkRegex = /^[/]{2}\s*@link\s*:\s*([^\r\n]*)\s*->\s*([^\r\n]*)/gm; // multiple matches on multiple lines + const optionRegex = /^\/{2}\s*@(\w+)\s*:\s*([^\r\n]*)/gm; // multiple matches on multiple lines + const linkRegex = /^\/{2}\s*@link\s*:\s*([^\r\n]*)\s*->\s*([^\r\n]*)/gm; // multiple matches on multiple lines export function parseSymlinkFromTest(line: string, symlinks: vfs.FileSet | undefined, absoluteRootDir?: string) { const linkMetaData = linkRegex.exec(line); diff --git a/src/harness/harnessUtils.ts b/src/harness/harnessUtils.ts index b049c51d5f4..372202d08e4 100644 --- a/src/harness/harnessUtils.ts +++ b/src/harness/harnessUtils.ts @@ -41,7 +41,7 @@ export function readTestFile(path: string) { try { content = Harness.IO.readFile(Harness.userSpecifiedRoot + path); } - catch (err) { + catch { return undefined; } @@ -333,7 +333,7 @@ const maxHarnessFrames = 1; export function filterStack(error: Error, stackTraceLimit = Infinity) { const stack = (error as any).stack as string; if (stack) { - const lines = stack.split(/\r\n?|\n/g); + const lines = stack.split(/\r\n?|\n/); const filtered: string[] = []; let frameCount = 0; let harnessFrameCount = 0; @@ -355,7 +355,7 @@ export function filterStack(error: Error, stackTraceLimit = Infinity) { harnessFrameCount++; } - line = line.replace(/\bfile:\/\/\/(.*?)(?=(:\d+)*($|\)))/, (_, path) => ts.sys.resolvePath(path)); + line = line.replace(/\bfile:\/\/\/(.*?)(?=(?::\d+)*(?:$|\)))/, (_, path) => ts.sys.resolvePath(path)); frameCount++; } @@ -373,11 +373,11 @@ function isStackFrame(line: string) { } function isMocha(line: string) { - return /[\\/](node_modules|components)[\\/]mocha(js)?[\\/]|[\\/]mocha\.js/.test(line); + return /[\\/](?:node_modules|components)[\\/]mocha(?:js)?[\\/]|[\\/]mocha\.js/.test(line); } function isNode(line: string) { - return /\((timers|events|node|module)\.js:/.test(line); + return /\((?:timers|events|node|module)\.js:/.test(line); } function isHarness(line: string) { diff --git a/src/harness/incrementalUtils.ts b/src/harness/incrementalUtils.ts index 72df2718621..42464ceb4c1 100644 --- a/src/harness/incrementalUtils.ts +++ b/src/harness/incrementalUtils.ts @@ -159,7 +159,7 @@ function getProgramStructure(program: ts.Program | undefined) { const baseline: string[] = []; program?.getSourceFiles().slice().sort((f1, f2) => ts.comparePathsCaseSensitive(f1.path, f2.path)).forEach(f => { baseline.push(` File: ${f.fileName} Path: ${f.path} ResolvedPath: ${f.resolvedPath} impliedNodeFormat: ${f.impliedNodeFormat}`); - baseline.push(f.text.split(/\r?\n/g).map(l => l ? " " + l : "").join("\n")); + baseline.push(f.text.split(/\r?\n/).map(l => l ? " " + l : "").join("\n")); getResolutionCacheDetails( baseline, "Modules", diff --git a/src/harness/projectServiceStateLogger.ts b/src/harness/projectServiceStateLogger.ts index 599769b8e73..42f64fde7f3 100644 --- a/src/harness/projectServiceStateLogger.ts +++ b/src/harness/projectServiceStateLogger.ts @@ -9,6 +9,7 @@ import { isString, noop, SourceMapper, + toSorted, } from "./_namespaces/ts.js"; import { AutoImportProviderProject, @@ -93,7 +94,7 @@ export function patchServiceForStateBaseline(service: ProjectService) { function sendLogsToLogger(title: string, logs: StateItemLog[] | undefined) { if (!logs) return; logger.log(title); - logs.sort((a, b) => compareStringsCaseSensitive(a[0], b[0])) + toSorted(logs, (a, b) => compareStringsCaseSensitive(a[0], b[0])) .forEach(([title, propertyLogs]) => { logger.log(title); propertyLogs.forEach(p => isString(p) ? logger.log(p) : p.forEach(s => logger.log(s))); diff --git a/src/harness/runnerbase.ts b/src/harness/runnerbase.ts index 17c6e5cb556..7173eb3ab4f 100644 --- a/src/harness/runnerbase.ts +++ b/src/harness/runnerbase.ts @@ -55,7 +55,7 @@ export abstract class RunnerBase { /** Replaces instances of full paths with fileNames only */ static removeFullPaths(path: string) { // If its a full path (starts with "C:" or "/") replace with just the filename - let fixedPath = /^(\w:|\/)/.test(path) ? ts.getBaseFileName(path) : path; + let fixedPath = /^(?:\w:|\/)/.test(path) ? ts.getBaseFileName(path) : path; // when running in the browser the 'full path' is the host name, shows up in error baselines const localHost = /http:\/localhost:\d+/g; diff --git a/src/harness/typeWriter.ts b/src/harness/typeWriter.ts index e09f8bd56a2..6bee2b5fe9f 100644 --- a/src/harness/typeWriter.ts +++ b/src/harness/typeWriter.ts @@ -279,7 +279,7 @@ export class TypeWriterWalker { } else { const typeFormatFlags = ts.TypeFormatFlags.NoTruncation | ts.TypeFormatFlags.AllowUniqueESSymbolType | ts.TypeFormatFlags.GenerateNamesForShadowedTypeParams; - let typeNode = this.checker.typeToTypeNode(type, node.parent, (typeFormatFlags & ts.TypeFormatFlags.NodeBuilderFlagsMask) | ts.NodeBuilderFlags.IgnoreErrors)!; + let typeNode = this.checker.typeToTypeNode(type, node.parent, (typeFormatFlags & ts.TypeFormatFlags.NodeBuilderFlagsMask) | ts.NodeBuilderFlags.IgnoreErrors, ts.InternalNodeBuilderFlags.AllowUnresolvedNames)!; if (ts.isIdentifier(node) && ts.isTypeAliasDeclaration(node.parent) && node.parent.name === node && ts.isIdentifier(typeNode) && ts.idText(typeNode) === ts.idText(node)) { // for a complex type alias `type T = ...`, showing "T : T" isn't very helpful for type tests. When the type produced is the same as // the name of the type alias, recreate the type string without reusing the alias name @@ -321,7 +321,7 @@ export class TypeWriterWalker { const declSourceFile = declaration.getSourceFile(); const declLineAndCharacter = declSourceFile.getLineAndCharacterOfPosition(declaration.pos); const fileName = ts.getBaseFileName(declSourceFile.fileName); - const isLibFile = /lib(.*)\.d\.ts/i.test(fileName); + const isLibFile = /lib.*\.d\.ts/i.test(fileName); const declText = `Decl(${fileName}, ${isLibFile ? "--" : declLineAndCharacter.line}, ${isLibFile ? "--" : declLineAndCharacter.character})`; symbolString += declText; (declaration as any).__symbolTestOutputCache = declText; diff --git a/src/harness/util.ts b/src/harness/util.ts index 4b0f7e28b9a..a31a60ada18 100644 --- a/src/harness/util.ts +++ b/src/harness/util.ts @@ -4,13 +4,13 @@ import * as ts from "./_namespaces/ts.js"; * Common utilities */ -const testPathPrefixRegExp = /(?:(file:\/{3})|\/)\.(ts|lib|src)\//g; +const testPathPrefixRegExp = /(?:(file:\/{3})|\/)\.(?:ts|lib|src)\//g; export function removeTestPathPrefixes(text: string, retainTrailingDirectorySeparator?: boolean): string { return text !== undefined ? text.replace(testPathPrefixRegExp, (_, scheme) => scheme || (retainTrailingDirectorySeparator ? "/" : "")) : undefined!; // TODO: GH#18217 } function createDiagnosticMessageReplacer string[]>(diagnosticMessage: ts.DiagnosticMessage, replacer: R) { - const messageParts = diagnosticMessage.message.split(/{\d+}/g); + const messageParts = diagnosticMessage.message.split(/\{\d+\}/); const regExp = new RegExp(`^(?:${messageParts.map(ts.regExpEscape).join("(.*?)")})$`); type Args = R extends (messageArgs: string[], ...args: infer A) => string[] ? A : []; return (text: string, ...args: Args) => text.replace(regExp, (_, ...fixedArgs) => ts.formatStringFromArgs(diagnosticMessage.message, replacer(fixedArgs, ...args))); diff --git a/src/harness/vpathUtil.ts b/src/harness/vpathUtil.ts index c7c1ef4ce47..fa26c4a7fd1 100644 --- a/src/harness/vpathUtil.ts +++ b/src/harness/vpathUtil.ts @@ -26,7 +26,7 @@ export import changeExtension = ts.changeAnyExtension; export import isTypeScript = ts.hasTSFileExtension; export import isJavaScript = ts.hasJSFileExtension; -const invalidRootComponentRegExp = /^(?!(\/|\/\/\w+\/|[a-zA-Z]:\/?|)$)/; +const invalidRootComponentRegExp = /^(?!(?:\/|\/\/\w+\/|[a-z]:\/?)?$)/i; const invalidNavigableComponentRegExp = /[:*?"<>|]/; const invalidNavigableComponentWithWildcardsRegExp = /[:"<>|]/; const invalidNonNavigableComponentRegExp = /^\.{1,2}$|[:*?"<>|]/; diff --git a/src/lib/dom.asynciterable.generated.d.ts b/src/lib/dom.asynciterable.generated.d.ts index f9b5ee37473..9668532471f 100644 --- a/src/lib/dom.asynciterable.generated.d.ts +++ b/src/lib/dom.asynciterable.generated.d.ts @@ -2,14 +2,22 @@ /// Window Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): BuiltinAsyncIterator<[string, FileSystemHandle], BuiltinIteratorReturn>; - entries(): BuiltinAsyncIterator<[string, FileSystemHandle], BuiltinIteratorReturn>; - keys(): BuiltinAsyncIterator; - values(): BuiltinAsyncIterator; + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; } interface ReadableStream { - [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): BuiltinAsyncIterator; - values(options?: ReadableStreamIteratorOptions): BuiltinAsyncIterator; + [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; + values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; } diff --git a/src/lib/dom.iterable.d.ts b/src/lib/dom.iterable.d.ts index da56ceae7a6..d6d9975ddbd 100644 --- a/src/lib/dom.iterable.d.ts +++ b/src/lib/dom.iterable.d.ts @@ -1,30 +1,34 @@ /// interface DOMTokenList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + [Symbol.iterator](): HeadersIterator<[string, string]>; /** * Returns an iterator allowing to go through all key/value pairs contained in this object. */ - entries(): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + entries(): HeadersIterator<[string, string]>; /** * Returns an iterator allowing to go through all keys f the key/value pairs contained in this object. */ - keys(): BuiltinIterator; + keys(): HeadersIterator; /** * Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */ - values(): BuiltinIterator; + values(): HeadersIterator; } interface NodeList { /** * Returns an array of key, value pairs for every entry in the list */ - entries(): BuiltinIterator<[number, Node], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, Node]>; /** * Performs the specified action for each node in an list. * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list. @@ -34,21 +38,21 @@ interface NodeList { /** * Returns an list of keys in the list */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the list */ - values(): BuiltinIterator; + values(): ArrayIterator; - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface NodeListOf { /** * Returns an array of key, value pairs for every entry in the list */ - entries(): BuiltinIterator<[number, TNode], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, TNode]>; /** * Performs the specified action for each node in an list. @@ -59,55 +63,63 @@ interface NodeListOf { /** * Returns an list of keys in the list */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the list */ - values(): BuiltinIterator; + values(): ArrayIterator; - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface FormDataIterator extends IteratorObject { + [Symbol.iterator](): FormDataIterator; } interface FormData { /** * Returns an array of key, value pairs for every entry in the list */ - entries(): BuiltinIterator<[string, string | File], BuiltinIteratorReturn>; + entries(): FormDataIterator<[string, string | File]>; /** * Returns a list of keys in the list */ - keys(): BuiltinIterator; + keys(): FormDataIterator; /** * Returns a list of values in the list */ - values(): BuiltinIterator; + values(): FormDataIterator; - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): FormDataIterator; +} + +interface URLSearchParamsIterator extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { /** * Returns an array of key, value pairs for every entry in the search params */ - entries(): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + entries(): URLSearchParamsIterator<[string, string]>; /** * Returns a list of keys in the search params */ - keys(): BuiltinIterator; + keys(): URLSearchParamsIterator; /** * Returns a list of values in the search params */ - values(): BuiltinIterator; + values(): URLSearchParamsIterator; /** * iterate over key/value pairs */ - [Symbol.iterator](): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; } diff --git a/src/lib/dom.iterable.generated.d.ts b/src/lib/dom.iterable.generated.d.ts index f23e1534c46..70c0039ce0d 100644 --- a/src/lib/dom.iterable.generated.d.ts +++ b/src/lib/dom.iterable.generated.d.ts @@ -23,36 +23,36 @@ interface BaseAudioContext { } interface CSSKeyframesRule { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSNumericArray { - [Symbol.iterator](): BuiltinIterator; - entries(): BuiltinIterator<[number, CSSNumericValue], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSNumericValue]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSRuleList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSStyleDeclaration { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): BuiltinIterator; - entries(): BuiltinIterator<[number, CSSTransformComponent], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSTransformComponent]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): BuiltinIterator; - entries(): BuiltinIterator<[number, CSSUnparsedSegment], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSUnparsedSegment]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -74,72 +74,80 @@ interface CustomStateSet extends Set { } interface DOMRectList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMStringList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface DOMTokenList { - [Symbol.iterator](): BuiltinIterator; - entries(): BuiltinIterator<[number, string], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, string]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface DataTransferItemList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface EventCounts extends ReadonlyMap { } interface FileList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set { } +interface FormDataIterator extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): BuiltinIterator<[string, FormDataEntryValue], BuiltinIteratorReturn>; + [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): BuiltinIterator<[string, FormDataEntryValue], BuiltinIteratorReturn>; + entries(): FormDataIterator<[string, FormDataEntryValue]>; /** Returns a list of keys in the list. */ - keys(): BuiltinIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): BuiltinIterator; + values(): FormDataIterator; } interface HTMLAllCollection { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionBase { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLCollectionOf { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLFormElement { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface HTMLSelectElement { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface HeadersIterator extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + [Symbol.iterator](): HeadersIterator<[string, string]>; /** Returns an iterator allowing to go through all key/value pairs contained in this object. */ - entries(): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + entries(): HeadersIterator<[string, string]>; /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */ - keys(): BuiltinIterator; + keys(): HeadersIterator; /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */ - values(): BuiltinIterator; + values(): HeadersIterator; } interface Highlight extends Set { @@ -179,15 +187,19 @@ interface MIDIOutput { interface MIDIOutputMap extends ReadonlyMap { } +interface MediaKeyStatusMapIterator extends IteratorObject { + [Symbol.iterator](): MediaKeyStatusMapIterator; +} + interface MediaKeyStatusMap { - [Symbol.iterator](): BuiltinIterator<[BufferSource, MediaKeyStatus], BuiltinIteratorReturn>; - entries(): BuiltinIterator<[BufferSource, MediaKeyStatus], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator; + [Symbol.iterator](): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>; + entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>; + keys(): MediaKeyStatusMapIterator; + values(): MediaKeyStatusMapIterator; } interface MediaList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface MessageEvent { @@ -196,11 +208,11 @@ interface MessageEvent { } interface MimeTypeArray { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface NamedNodeMap { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface Navigator { @@ -215,31 +227,31 @@ interface Navigator { } interface NodeList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): BuiltinIterator<[number, Node], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, Node]>; /** Returns an list of keys in the list. */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface NodeListOf { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): BuiltinIterator<[number, TNode], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, TNode]>; /** Returns an list of keys in the list. */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** Returns an list of values in the list. */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Plugin { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface PluginArray { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface RTCRtpTransceiver { @@ -251,46 +263,50 @@ interface RTCStatsReport extends ReadonlyMap { } interface SVGLengthList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGNumberList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGPointList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGStringList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface SVGTransformList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface SourceBufferList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResult { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface SpeechRecognitionResultList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface StylePropertyMapReadOnlyIterator extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; } interface StylePropertyMapReadOnly { - [Symbol.iterator](): BuiltinIterator<[string, Iterable], BuiltinIteratorReturn>; - entries(): BuiltinIterator<[string, Iterable], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator, BuiltinIteratorReturn>; + [Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable]>; + entries(): StylePropertyMapReadOnlyIterator<[string, Iterable]>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface StyleSheetList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface SubtleCrypto { @@ -309,25 +325,29 @@ interface SubtleCrypto { } interface TextTrackCueList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface TextTrackList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface TouchList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface URLSearchParamsIterator extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; } interface URLSearchParams { - [Symbol.iterator](): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + entries(): URLSearchParamsIterator<[string, string]>; /** Returns a list of keys in the search params. */ - keys(): BuiltinIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): BuiltinIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/src/lib/es2015.generator.d.ts b/src/lib/es2015.generator.d.ts index 2397d79dddb..435806e925f 100644 --- a/src/lib/es2015.generator.d.ts +++ b/src/lib/es2015.generator.d.ts @@ -1,6 +1,6 @@ /// -interface Generator extends BuiltinIterator { +interface Generator extends IteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next(...[value]: [] | [TNext]): IteratorResult; return(value: TReturn): IteratorResult; diff --git a/src/lib/es2015.iterable.d.ts b/src/lib/es2015.iterable.d.ts index 00a0ff820ca..50e2277c533 100644 --- a/src/lib/es2015.iterable.d.ts +++ b/src/lib/es2015.iterable.d.ts @@ -31,34 +31,48 @@ interface Iterable { [Symbol.iterator](): Iterator; } +/** + * Describes a user-defined {@link Iterator} that is also iterable. + */ interface IterableIterator extends Iterator { [Symbol.iterator](): IterableIterator; } -interface BuiltinIterator extends Iterator { - [Symbol.iterator](): BuiltinIterator; +/** + * Describes an {@link Iterator} produced by the runtime that inherits from the intrinsic `Iterator.prototype`. + */ +interface IteratorObject extends Iterator { + [Symbol.iterator](): IteratorObject; } +/** + * Defines the `TReturn` type used for built-in iterators produced by `Array`, `Map`, `Set`, and others. + * This is `undefined` when `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`. + */ type BuiltinIteratorReturn = intrinsic; +interface ArrayIterator extends IteratorObject { + [Symbol.iterator](): ArrayIterator; +} + interface Array { /** Iterator */ - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an iterable of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, T], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, T]>; /** * Returns an iterable of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an iterable of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface ArrayConstructor { @@ -79,67 +93,71 @@ interface ArrayConstructor { interface ReadonlyArray { /** Iterator of values in the array. */ - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an iterable of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, T], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, T]>; /** * Returns an iterable of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an iterable of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface IArguments { /** Iterator */ - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; +} + +interface MapIterator extends IteratorObject { + [Symbol.iterator](): MapIterator; } interface Map { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): BuiltinIterator<[K, V], BuiltinIteratorReturn>; + [Symbol.iterator](): MapIterator<[K, V]>; /** * Returns an iterable of key, value pairs for every entry in the map. */ - entries(): BuiltinIterator<[K, V], BuiltinIteratorReturn>; + entries(): MapIterator<[K, V]>; /** * Returns an iterable of keys in the map */ - keys(): BuiltinIterator; + keys(): MapIterator; /** * Returns an iterable of values in the map */ - values(): BuiltinIterator; + values(): MapIterator; } interface ReadonlyMap { /** Returns an iterable of entries in the map. */ - [Symbol.iterator](): BuiltinIterator<[K, V], BuiltinIteratorReturn>; + [Symbol.iterator](): MapIterator<[K, V]>; /** * Returns an iterable of key, value pairs for every entry in the map. */ - entries(): BuiltinIterator<[K, V], BuiltinIteratorReturn>; + entries(): MapIterator<[K, V]>; /** * Returns an iterable of keys in the map */ - keys(): BuiltinIterator; + keys(): MapIterator; /** * Returns an iterable of values in the map */ - values(): BuiltinIterator; + values(): MapIterator; } interface MapConstructor { @@ -153,42 +171,46 @@ interface WeakMapConstructor { new (iterable: Iterable): WeakMap; } +interface SetIterator extends IteratorObject { + [Symbol.iterator](): SetIterator; +} + interface Set { /** Iterates over values in the set. */ - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): SetIterator; /** * Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): BuiltinIterator<[T, T], BuiltinIteratorReturn>; + entries(): SetIterator<[T, T]>; /** * Despite its name, returns an iterable of the values in the set. */ - keys(): BuiltinIterator; + keys(): SetIterator; /** * Returns an iterable of values in the set. */ - values(): BuiltinIterator; + values(): SetIterator; } interface ReadonlySet { /** Iterates over values in the set. */ - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): SetIterator; /** * Returns an iterable of [v,v] pairs for every value `v` in the set. */ - entries(): BuiltinIterator<[T, T], BuiltinIteratorReturn>; + entries(): SetIterator<[T, T]>; /** * Despite its name, returns an iterable of the values in the set. */ - keys(): BuiltinIterator; + keys(): SetIterator; /** * Returns an iterable of values in the set. */ - values(): BuiltinIterator; + values(): SetIterator; } interface SetConstructor { @@ -221,25 +243,29 @@ interface PromiseConstructor { race(values: Iterable>): Promise>; } +interface StringIterator extends IteratorObject { + [Symbol.iterator](): StringIterator; +} + interface String { /** Iterator */ - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): StringIterator; } interface Int8Array { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Int8ArrayConstructor { @@ -255,19 +281,19 @@ interface Int8ArrayConstructor { } interface Uint8Array { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Uint8ArrayConstructor { @@ -283,21 +309,21 @@ interface Uint8ArrayConstructor { } interface Uint8ClampedArray { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Uint8ClampedArrayConstructor { @@ -313,21 +339,21 @@ interface Uint8ClampedArrayConstructor { } interface Int16Array { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Int16ArrayConstructor { @@ -343,19 +369,19 @@ interface Int16ArrayConstructor { } interface Uint16Array { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Uint16ArrayConstructor { @@ -371,19 +397,19 @@ interface Uint16ArrayConstructor { } interface Int32Array { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Int32ArrayConstructor { @@ -399,19 +425,19 @@ interface Int32ArrayConstructor { } interface Uint32Array { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Uint32ArrayConstructor { @@ -427,19 +453,19 @@ interface Uint32ArrayConstructor { } interface Float32Array { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Float32ArrayConstructor { @@ -455,19 +481,19 @@ interface Float32ArrayConstructor { } interface Float64Array { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; /** * Returns an array of key, value pairs for every entry in the array */ - entries(): BuiltinIterator<[number, number], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, number]>; /** * Returns an list of keys in the array */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns an list of values in the array */ - values(): BuiltinIterator; + values(): ArrayIterator; } interface Float64ArrayConstructor { diff --git a/src/lib/es2018.asyncgenerator.d.ts b/src/lib/es2018.asyncgenerator.d.ts index e5397a9e7af..543cf3a0798 100644 --- a/src/lib/es2018.asyncgenerator.d.ts +++ b/src/lib/es2018.asyncgenerator.d.ts @@ -1,6 +1,6 @@ /// -interface AsyncGenerator extends BuiltinAsyncIterator { +interface AsyncGenerator extends AsyncIteratorObject { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next(...[value]: [] | [TNext]): Promise>; return(value: TReturn | PromiseLike): Promise>; diff --git a/src/lib/es2018.asynciterable.d.ts b/src/lib/es2018.asynciterable.d.ts index d5a587aef27..9db5d98290a 100644 --- a/src/lib/es2018.asynciterable.d.ts +++ b/src/lib/es2018.asynciterable.d.ts @@ -20,10 +20,16 @@ interface AsyncIterable { [Symbol.asyncIterator](): AsyncIterator; } +/** + * Describes a user-defined {@link AsyncIterator} that is also async iterable. + */ interface AsyncIterableIterator extends AsyncIterator { [Symbol.asyncIterator](): AsyncIterableIterator; } -interface BuiltinAsyncIterator extends AsyncIterator { - [Symbol.asyncIterator](): BuiltinAsyncIterator; +/** + * Describes an {@link AsyncIterator} produced by the runtime that inherits from the intrinsic `AsyncIterator.prototype`. + */ +interface AsyncIteratorObject extends AsyncIterator { + [Symbol.asyncIterator](): AsyncIteratorObject; } diff --git a/src/lib/es2020.bigint.d.ts b/src/lib/es2020.bigint.d.ts index c6ee094a332..95d2ff24589 100644 --- a/src/lib/es2020.bigint.d.ts +++ b/src/lib/es2020.bigint.d.ts @@ -153,7 +153,7 @@ interface BigInt64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): BuiltinIterator<[number, bigint], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, bigint]>; /** * Determines whether all the members of an array satisfy the specified test. @@ -238,7 +238,7 @@ interface BigInt64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -360,9 +360,9 @@ interface BigInt64Array { valueOf(): BigInt64Array; /** Yields each value in the array. */ - values(): BuiltinIterator; + values(): ArrayIterator; - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: "BigInt64Array"; @@ -425,7 +425,7 @@ interface BigUint64Array { copyWithin(target: number, start: number, end?: number): this; /** Yields index, value pairs for every entry in the array. */ - entries(): BuiltinIterator<[number, bigint], BuiltinIteratorReturn>; + entries(): ArrayIterator<[number, bigint]>; /** * Determines whether all the members of an array satisfy the specified test. @@ -510,7 +510,7 @@ interface BigUint64Array { join(separator?: string): string; /** Yields each index in the array. */ - keys(): BuiltinIterator; + keys(): ArrayIterator; /** * Returns the index of the last occurrence of a value in an array. @@ -632,9 +632,9 @@ interface BigUint64Array { valueOf(): BigUint64Array; /** Yields each value in the array. */ - values(): BuiltinIterator; + values(): ArrayIterator; - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; readonly [Symbol.toStringTag]: "BigUint64Array"; diff --git a/src/lib/es2020.string.d.ts b/src/lib/es2020.string.d.ts index 4d23b7f3194..19c8f5ebb7d 100644 --- a/src/lib/es2020.string.d.ts +++ b/src/lib/es2020.string.d.ts @@ -1,4 +1,4 @@ -/// +/// interface String { /** @@ -6,7 +6,7 @@ interface String { * containing the results of that search. * @param regexp A variable name or string literal containing the regular expression pattern and flags. */ - matchAll(regexp: RegExp): BuiltinIterator; + matchAll(regexp: RegExp): RegExpStringIterator; /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */ toLocaleLowerCase(locales?: Intl.LocalesArgument): string; diff --git a/src/lib/es2020.symbol.wellknown.d.ts b/src/lib/es2020.symbol.wellknown.d.ts index 07aab68a092..cdf0349f9b4 100644 --- a/src/lib/es2020.symbol.wellknown.d.ts +++ b/src/lib/es2020.symbol.wellknown.d.ts @@ -9,11 +9,15 @@ interface SymbolConstructor { readonly matchAll: unique symbol; } +interface RegExpStringIterator extends IteratorObject { + [Symbol.iterator](): RegExpStringIterator; +} + interface RegExp { /** * Matches a string with this regular expression, and returns an iterable of matches * containing the results of that search. * @param string A string to search within. */ - [Symbol.matchAll](str: string): BuiltinIterator; + [Symbol.matchAll](str: string): RegExpStringIterator; } diff --git a/src/lib/es2022.intl.d.ts b/src/lib/es2022.intl.d.ts index 115e15a5282..e3b1d1d1a8c 100644 --- a/src/lib/es2022.intl.d.ts +++ b/src/lib/es2022.intl.d.ts @@ -28,6 +28,10 @@ declare namespace Intl { granularity: "grapheme" | "word" | "sentence"; } + interface SegmentIterator extends IteratorObject { + [Symbol.iterator](): SegmentIterator; + } + interface Segments { /** * Returns an object describing the segment in the original string that includes the code unit at a specified index. @@ -37,7 +41,7 @@ declare namespace Intl { containing(codeUnitIndex?: number): SegmentData; /** Returns an iterator to iterate over the segments. */ - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): SegmentIterator; } interface SegmentData { diff --git a/src/lib/esnext.disposable.d.ts b/src/lib/esnext.disposable.d.ts index 75a596a5502..0f1a00bfc83 100644 --- a/src/lib/esnext.disposable.d.ts +++ b/src/lib/esnext.disposable.d.ts @@ -1,4 +1,6 @@ /// +/// +/// interface SymbolConstructor { /** @@ -165,3 +167,9 @@ interface AsyncDisposableStackConstructor { readonly prototype: AsyncDisposableStack; } declare var AsyncDisposableStack: AsyncDisposableStackConstructor; + +interface IteratorObject extends Disposable { +} + +interface AsyncIteratorObject extends AsyncDisposable { +} diff --git a/src/lib/esnext.iterator.d.ts b/src/lib/esnext.iterator.d.ts index 6a8a85eea87..fe929f59c22 100644 --- a/src/lib/esnext.iterator.d.ts +++ b/src/lib/esnext.iterator.d.ts @@ -7,59 +7,59 @@ export {}; // Abstract type that allows us to mark `next` as `abstract` -declare abstract class Iterator { // eslint-disable-line @typescript-eslint/no-unsafe-declaration-merging - abstract next(value?: unknown): IteratorResult; +declare abstract class Iterator { // eslint-disable-line @typescript-eslint/no-unsafe-declaration-merging + abstract next(value?: TNext): IteratorResult; } -// Merge all members of `BuiltinIterator` into `Iterator` -interface Iterator extends globalThis.BuiltinIterator {} +// Merge all members of `IteratorObject` into `Iterator` +interface Iterator extends globalThis.IteratorObject {} // Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`. -type BuiltinIteratorConstructor = typeof Iterator; +type IteratorObjectConstructor = typeof Iterator; declare global { - // Global `BuiltinIterator` interface that can be augmented by polyfills - interface BuiltinIterator { + // Global `IteratorObject` interface that can be augmented by polyfills + interface IteratorObject { /** * Returns this iterator. */ - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): IteratorObject; /** * Creates an iterator whose values are the result of applying the callback to the values from this iterator. * @param callbackfn A function that accepts up to two arguments to be used to transform values from the underlying iterator. */ - map(callbackfn: (value: T, index: number) => U): BuiltinIterator; + map(callbackfn: (value: T, index: number) => U): IteratorObject; /** * Creates an iterator whose values are those from this iterator for which the provided predicate returns true. * @param predicate A function that accepts up to two arguments to be used to test values from the underlying iterator. */ - filter(predicate: (value: T, index: number) => value is S): BuiltinIterator; + filter(predicate: (value: T, index: number) => value is S): IteratorObject; /** * Creates an iterator whose values are those from this iterator for which the provided predicate returns true. * @param predicate A function that accepts up to two arguments to be used to test values from the underlying iterator. */ - filter(predicate: (value: T, index: number) => unknown): BuiltinIterator; + filter(predicate: (value: T, index: number) => unknown): IteratorObject; /** * Creates an iterator whose values are the values from this iterator, stopping once the provided limit is reached. * @param limit The maximum number of values to yield. */ - take(limit: number): BuiltinIterator; + take(limit: number): IteratorObject; /** * Creates an iterator whose values are the values from this iterator after skipping the provided count. * @param count The number of values to drop. */ - drop(count: number): BuiltinIterator; + drop(count: number): IteratorObject; /** * Creates an iterator whose values are the result of applying the callback to the values from this iterator and then flattening the resulting iterators or iterables. * @param callback A function that accepts up to two arguments to be used to transform values from the underlying iterator into new iterators or iterables to be flattened into the result. */ - flatMap(callback: (value: T, index: number) => Iterator | Iterable): BuiltinIterator; + flatMap(callback: (value: T, index: number) => Iterator | Iterable): IteratorObject; /** * Calls the specified callback function for all the elements in this iterator. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. @@ -117,13 +117,13 @@ declare global { } // Global `IteratorConstructor` interface that can be augmented by polyfills - interface IteratorConstructor extends BuiltinIteratorConstructor { + interface IteratorConstructor extends IteratorObjectConstructor { /** * Creates a native iterator from an iterator or iterable object. * Returns its input if the input already inherits from the built-in Iterator class. * @param value An iterator or iterable object to convert a native iterator. */ - from(value: Iterator | Iterable): BuiltinIterator; + from(value: Iterator | Iterable): IteratorObject; } var Iterator: IteratorConstructor; diff --git a/src/lib/webworker.asynciterable.generated.d.ts b/src/lib/webworker.asynciterable.generated.d.ts index cd2b63eb5d7..d446d4f089b 100644 --- a/src/lib/webworker.asynciterable.generated.d.ts +++ b/src/lib/webworker.asynciterable.generated.d.ts @@ -2,14 +2,22 @@ /// Worker Async Iterable APIs ///////////////////////////// +interface FileSystemDirectoryHandleAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator; +} + interface FileSystemDirectoryHandle { - [Symbol.asyncIterator](): BuiltinAsyncIterator<[string, FileSystemHandle], BuiltinIteratorReturn>; - entries(): BuiltinAsyncIterator<[string, FileSystemHandle], BuiltinIteratorReturn>; - keys(): BuiltinAsyncIterator; - values(): BuiltinAsyncIterator; + [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>; + keys(): FileSystemDirectoryHandleAsyncIterator; + values(): FileSystemDirectoryHandleAsyncIterator; +} + +interface ReadableStreamAsyncIterator extends AsyncIteratorObject { + [Symbol.asyncIterator](): ReadableStreamAsyncIterator; } interface ReadableStream { - [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): BuiltinAsyncIterator; - values(options?: ReadableStreamIteratorOptions): BuiltinAsyncIterator; + [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; + values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator; } diff --git a/src/lib/webworker.iterable.generated.d.ts b/src/lib/webworker.iterable.generated.d.ts index 46628a75b82..ad811e2b8b1 100644 --- a/src/lib/webworker.iterable.generated.d.ts +++ b/src/lib/webworker.iterable.generated.d.ts @@ -8,24 +8,24 @@ interface AbortSignal { } interface CSSNumericArray { - [Symbol.iterator](): BuiltinIterator; - entries(): BuiltinIterator<[number, CSSNumericValue], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSNumericValue]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSTransformValue { - [Symbol.iterator](): BuiltinIterator; - entries(): BuiltinIterator<[number, CSSTransformComponent], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSTransformComponent]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface CSSUnparsedValue { - [Symbol.iterator](): BuiltinIterator; - entries(): BuiltinIterator<[number, CSSUnparsedSegment], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; + entries(): ArrayIterator<[number, CSSUnparsedSegment]>; + keys(): ArrayIterator; + values(): ArrayIterator; } interface Cache { @@ -44,34 +44,42 @@ interface CanvasPathDrawingStyles { } interface DOMStringList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface FileList { - [Symbol.iterator](): BuiltinIterator; + [Symbol.iterator](): ArrayIterator; } interface FontFaceSet extends Set { } +interface FormDataIterator extends IteratorObject { + [Symbol.iterator](): FormDataIterator; +} + interface FormData { - [Symbol.iterator](): BuiltinIterator<[string, FormDataEntryValue], BuiltinIteratorReturn>; + [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>; /** Returns an array of key, value pairs for every entry in the list. */ - entries(): BuiltinIterator<[string, FormDataEntryValue], BuiltinIteratorReturn>; + entries(): FormDataIterator<[string, FormDataEntryValue]>; /** Returns a list of keys in the list. */ - keys(): BuiltinIterator; + keys(): FormDataIterator; /** Returns a list of values in the list. */ - values(): BuiltinIterator; + values(): FormDataIterator; +} + +interface HeadersIterator extends IteratorObject { + [Symbol.iterator](): HeadersIterator; } interface Headers { - [Symbol.iterator](): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + [Symbol.iterator](): HeadersIterator<[string, string]>; /** Returns an iterator allowing to go through all key/value pairs contained in this object. */ - entries(): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + entries(): HeadersIterator<[string, string]>; /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */ - keys(): BuiltinIterator; + keys(): HeadersIterator; /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */ - values(): BuiltinIterator; + values(): HeadersIterator; } interface IDBDatabase { @@ -99,11 +107,15 @@ interface MessageEvent { initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable): void; } +interface StylePropertyMapReadOnlyIterator extends IteratorObject { + [Symbol.iterator](): StylePropertyMapReadOnlyIterator; +} + interface StylePropertyMapReadOnly { - [Symbol.iterator](): BuiltinIterator<[string, Iterable], BuiltinIteratorReturn>; - entries(): BuiltinIterator<[string, Iterable], BuiltinIteratorReturn>; - keys(): BuiltinIterator; - values(): BuiltinIterator, BuiltinIteratorReturn>; + [Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable]>; + entries(): StylePropertyMapReadOnlyIterator<[string, Iterable]>; + keys(): StylePropertyMapReadOnlyIterator; + values(): StylePropertyMapReadOnlyIterator>; } interface SubtleCrypto { @@ -121,14 +133,18 @@ interface SubtleCrypto { unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable): Promise; } +interface URLSearchParamsIterator extends IteratorObject { + [Symbol.iterator](): URLSearchParamsIterator; +} + interface URLSearchParams { - [Symbol.iterator](): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + [Symbol.iterator](): URLSearchParamsIterator<[string, string]>; /** Returns an array of key, value pairs for every entry in the search params. */ - entries(): BuiltinIterator<[string, string], BuiltinIteratorReturn>; + entries(): URLSearchParamsIterator<[string, string]>; /** Returns a list of keys in the search params. */ - keys(): BuiltinIterator; + keys(): URLSearchParamsIterator; /** Returns a list of values in the search params. */ - values(): BuiltinIterator; + values(): URLSearchParamsIterator; } interface WEBGL_draw_buffers { diff --git a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl index 10158c5a673..448ee387b89 100644 --- a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -48,6 +48,15 @@ + + + + + + + + + @@ -57,6 +66,15 @@ + + + + + + + + + @@ -102,6 +120,24 @@ + + + + + + + + + + + + + + + + + + @@ -120,6 +156,24 @@ + + + + + + + + + + + + + + + + + + @@ -279,6 +333,15 @@ + + + + + + + + + @@ -342,15 +405,12 @@ - + - + - + - - - @@ -393,11 +453,11 @@ - + - + - + @@ -546,6 +606,15 @@ + + + + + + + + + @@ -564,15 +633,6 @@ - - - - - - - - - @@ -882,6 +942,15 @@ + + + + + + + + + @@ -1017,6 +1086,15 @@ + + + + + + + + + @@ -1071,6 +1149,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1134,6 +1284,15 @@ + + + + + + + + + @@ -1161,6 +1320,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1326,6 +1512,15 @@ + + + + + + + + + @@ -1362,6 +1557,24 @@ + + + + + + + + + + + + + + + + + + @@ -1401,6 +1614,24 @@ + + + + + + + + + + + + + + + + + + @@ -1437,6 +1668,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1662,6 +1920,15 @@ + + + + + + + + + @@ -1797,15 +2064,12 @@ - + - + - + - - - @@ -1938,6 +2202,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1995,6 +2295,15 @@ + + + + + + + + + @@ -2031,11 +2340,11 @@ - + - + - + @@ -2157,11 +2466,11 @@ - + - + - + @@ -2229,6 +2538,15 @@ + + + + + + + + + @@ -2283,6 +2601,15 @@ + + + + + + + + + @@ -2301,6 +2628,24 @@ + + + + + + + + + + + + + + + + + + @@ -2376,6 +2721,15 @@ + + + + + + + + + @@ -2394,6 +2748,15 @@ + + + + + + + + + @@ -2403,6 +2766,15 @@ + + + + + + + + + @@ -2430,15 +2802,6 @@ - - - - - - - - - @@ -2520,6 +2883,15 @@ + + + + + + + + + @@ -2577,6 +2949,15 @@ + + + + + + + + + @@ -2643,15 +3024,6 @@ - - - - - - - - - @@ -2679,11 +3051,11 @@ - + - + - + @@ -2697,11 +3069,20 @@ - + - + - + + + + + + + + + + @@ -2946,11 +3327,11 @@ - + - + - + @@ -3033,6 +3414,24 @@ + + + + + + + + + + + + + + + + + + @@ -3213,11 +3612,20 @@ - + - + - + + + + + + + + + + @@ -3282,15 +3690,6 @@ - - - - - - - - - @@ -3300,11 +3699,11 @@ - + - + - + @@ -3462,6 +3861,15 @@ + + + + + + + + + @@ -3621,6 +4029,15 @@ + + + + + + + + + @@ -3705,6 +4122,15 @@ + + + + + + + + + @@ -3828,6 +4254,15 @@ + + + + + + + + + @@ -3837,6 +4272,15 @@ + + + + + + + + + @@ -3855,11 +4299,11 @@ - + - + - + @@ -4035,15 +4479,6 @@ - - - - - - - - - @@ -4107,6 +4542,15 @@ + + + + + + + + + @@ -4323,11 +4767,11 @@ - + - + - + @@ -4458,6 +4902,15 @@ + + + + + + + + + @@ -4515,6 +4968,24 @@ + + + + + + + + + + + + + + + + + + @@ -4524,6 +4995,15 @@ + + + + + + + + + @@ -4542,6 +5022,15 @@ + + + + + + + + + @@ -4571,10 +5060,13 @@ - + + + + @@ -4689,6 +5181,15 @@ + + + + + + + + + @@ -4707,11 +5208,11 @@ - + - + - + @@ -4743,6 +5244,15 @@ + + + + + + + + + @@ -5037,6 +5547,15 @@ + + + + + + + + + @@ -5301,6 +5820,15 @@ + + + + + + + + + @@ -5430,6 +5958,15 @@ + + + + + + + + + @@ -5451,20 +5988,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5715,11 +6279,20 @@ - + - + - + + + + + + + + + + @@ -5895,6 +6468,15 @@ + + + + + + + + + @@ -5967,6 +6549,24 @@ + + + + + + + + + + + + + + + + + + @@ -5988,15 +6588,6 @@ - - - - - - - - - @@ -6006,6 +6597,15 @@ + + + + + + + + + @@ -6015,6 +6615,15 @@ + + + + + + + + + @@ -6024,6 +6633,15 @@ + + + + + + + + + @@ -6078,6 +6696,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6123,18 +6786,6 @@ - - - - - - - - - - - - @@ -6282,6 +6933,15 @@ + + + + + + + + + @@ -6336,6 +6996,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6345,6 +7050,15 @@ + + + + + + + + + @@ -6408,6 +7122,15 @@ + + + + + + + + + @@ -6435,11 +7158,20 @@ - + - + - + + + + + + + + + + @@ -6471,15 +7203,6 @@ - - - - - - - - - @@ -6489,6 +7212,15 @@ + + + + + + + + + @@ -6498,15 +7230,6 @@ - - - - - - - - - @@ -6561,6 +7284,15 @@ + + + + + + + + + @@ -6735,6 +7467,15 @@ + + + + + + + + + @@ -6819,11 +7560,11 @@ - + - + - + @@ -6882,11 +7623,11 @@ - + - + - + @@ -6900,29 +7641,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6972,6 +7722,15 @@ + + + + + + + + + @@ -7293,6 +8052,15 @@ + + + + + + + + + @@ -7398,6 +8166,24 @@ + + + + + + + + + + + + + + + + + + @@ -7416,20 +8202,20 @@ - + - + - + - + - + - + @@ -7452,6 +8238,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7665,6 +8487,15 @@ + + + + + + + + + @@ -7743,6 +8574,15 @@ + + + + + + + + + @@ -7785,15 +8625,6 @@ - - - - - - - - - @@ -7812,6 +8643,15 @@ + + + + + + + + + @@ -7959,6 +8799,15 @@ + + + + + + + + + @@ -7986,6 +8835,15 @@ + + + + + + + + + @@ -8049,6 +8907,15 @@ + + + + + + + + + @@ -8094,6 +8961,15 @@ + + + + + + + + + @@ -8103,6 +8979,15 @@ + + + + + + + + + @@ -8376,20 +9261,20 @@ - + - + - + - + - + - + @@ -8478,6 +9363,15 @@ + + + + + + + + + @@ -8577,6 +9471,15 @@ + + + + + + + + + @@ -8718,15 +9621,6 @@ - - - - - - - - - @@ -8736,6 +9630,15 @@ + + + + + + + + + @@ -8838,6 +9741,15 @@ + + + + + + + + + @@ -8847,6 +9759,15 @@ + + + + + + + + + @@ -8883,6 +9804,24 @@ + + + + + + + + + + + + + + + + + + @@ -8919,6 +9858,24 @@ + + + + + + + + + + + + + + + + + + @@ -9020,9 +9977,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9036,6 +10014,24 @@ + + + + + + + + + + + + + + + + + + @@ -9090,6 +10086,15 @@ + + + + + + + + + @@ -9171,6 +10176,24 @@ + + + + + + + + + + + + + + + + + + @@ -9180,38 +10203,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9261,6 +10284,15 @@ + + + + + + + + + @@ -9270,24 +10302,6 @@ - - - - - - - - - - - - - - - - - - @@ -9324,6 +10338,15 @@ + + + + + + + + + @@ -9333,6 +10356,24 @@ + + + + + + + + + + + + + + + + + + @@ -9351,6 +10392,15 @@ + + + + + + + + + @@ -9360,6 +10410,24 @@ + + + + + + + + + + + + + + + + + + @@ -9369,15 +10437,6 @@ - - - - - - - - - @@ -9405,6 +10464,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9435,20 +10530,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9462,20 +10566,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9525,15 +10647,6 @@ - - - - - - - - - @@ -9912,6 +11025,15 @@ + + + + + + + + + @@ -10146,6 +11268,15 @@ + + + + + + + + + @@ -10203,24 +11334,6 @@ - - - - - - - - - - - - - - - - - - @@ -10230,6 +11343,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10239,6 +11379,15 @@ + + + + + + + + + @@ -10275,15 +11424,6 @@ - - - - - - - - - @@ -10659,11 +11799,11 @@ - + - + - + @@ -10731,6 +11871,15 @@ + + + + + + + + + @@ -10749,11 +11898,11 @@ - + - + - + @@ -10905,11 +12054,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10959,27 +12126,21 @@ - + - + - + - - - - + - + - + - - - @@ -11289,6 +12450,15 @@ + + + + + + + + + @@ -11325,6 +12495,24 @@ + + + + + + + + + + + + + + + + + + @@ -11334,6 +12522,15 @@ + + + + + + + + + @@ -11418,6 +12615,15 @@ + + + + + + + + + @@ -11823,6 +13029,15 @@ + + + + + + + + + @@ -11877,6 +13092,24 @@ + + + + + + + + + + + + + + + + + + @@ -11994,6 +13227,15 @@ + + + + + + + + + @@ -12021,20 +13263,11 @@ - + - + - - - - - - - - - - + @@ -12243,15 +13476,6 @@ - - - - - - - - - @@ -12612,6 +13836,15 @@ + + + + + + + + + @@ -12633,6 +13866,15 @@ + + + + + + + + + @@ -12798,6 +14040,15 @@ + + + + + + + + + @@ -12852,20 +14103,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13110,6 +14370,24 @@ + + + + + + + + + + + + + + + + + + @@ -13173,6 +14451,24 @@ + + + + + + + + + + + + + + + + + + @@ -13272,6 +14568,15 @@ + + + + + + + + + @@ -13398,15 +14703,6 @@ - - - - - - - - - @@ -13434,6 +14730,15 @@ + + + type.]]> + + 类型。]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13461,11 +14766,20 @@ - + - + - + + + + + + + + + + @@ -13479,6 +14793,24 @@ + + + + + + + + + + + + + + + + + + @@ -13590,15 +14922,6 @@ - - - - - - - - - @@ -13680,6 +15003,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13698,6 +15057,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13752,6 +15147,15 @@ + + + + + + + + + @@ -13788,15 +15192,6 @@ - - - - - - - - - @@ -13806,6 +15201,24 @@ + + + + + + + + + + + + + + + + + + @@ -13914,6 +15327,15 @@ + + + + + + + + + @@ -13950,6 +15372,24 @@ + + + + + + + + + + + + + + + + + + @@ -14060,9 +15500,21 @@ - + - + + + + + + + + + + + + + @@ -14078,10 +15530,13 @@ - + - + + + + @@ -14133,15 +15588,6 @@ - - - - - - - - - @@ -14250,6 +15696,15 @@ + + + + + + + + + @@ -14277,11 +15732,11 @@ - + - + - + @@ -14358,6 +15813,15 @@ + + + + + + + + + @@ -14535,15 +15999,6 @@ - - - - - - - - - @@ -14580,6 +16035,15 @@ + + + + + + + + + @@ -14607,6 +16071,15 @@ + + + + + + + + + @@ -15015,6 +16488,24 @@ + + + + + + + + + + + + + + + + + + @@ -15087,6 +16578,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15141,6 +16686,15 @@ + + + + + + + + + @@ -15267,11 +16821,11 @@ - + - + - + @@ -15303,6 +16857,15 @@ + + + + + + + + + @@ -15330,6 +16893,15 @@ + + + + + + + + + @@ -15339,6 +16911,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15474,6 +17073,24 @@ + + + + + + + + + + + + + + + + + + @@ -15594,6 +17211,15 @@ + + + + + + + + + @@ -15621,6 +17247,15 @@ + + + + + + + + + @@ -15729,6 +17364,24 @@ + + + + + + + + + + + + + + + + + + @@ -15783,15 +17436,6 @@ - - - - - - - - - @@ -15837,6 +17481,15 @@ + + + + + + + + + @@ -15846,6 +17499,24 @@ + + + + + + + + + + + + + + + + + + @@ -15855,6 +17526,15 @@ + + + + + + + + + @@ -15927,11 +17607,11 @@ - + - + - + @@ -16137,6 +17817,15 @@ + + + + + + + + + @@ -16182,6 +17871,24 @@ + + + + + + + + + + + + + + + + + + @@ -16248,6 +17955,15 @@ + + + + + + + + + @@ -16314,20 +18030,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16443,6 +18195,15 @@ + + + + + + + + + @@ -16479,6 +18240,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16491,6 +18279,15 @@ + + + + + + + + + @@ -16518,27 +18315,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16557,11 +18333,11 @@ - + - + - + @@ -16731,6 +18507,15 @@ + + + + + + + + + @@ -16785,11 +18570,11 @@ - + - + - + @@ -16920,6 +18705,15 @@ + + + + + + + + + @@ -16983,6 +18777,24 @@ + + + + + + + + + + + + + + + + + + @@ -17010,24 +18822,6 @@ - - - - - - - - - - - - - - - - - - @@ -17046,6 +18840,15 @@ + + + + + + + + + @@ -17184,15 +18987,6 @@ - - - - - - - - - @@ -17229,6 +19023,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl index 052c89527e7..5bf23fca031 100644 --- a/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -48,6 +48,15 @@ + + + + + + + + + @@ -57,6 +66,15 @@ + + + + + + + + + @@ -102,6 +120,24 @@ + + + + + + + + + + + + + + + + + + @@ -120,6 +156,24 @@ + + + + + + + + + + + + + + + + + + @@ -279,6 +333,15 @@ + + + + + + + + + @@ -342,15 +405,12 @@ - + - + - + - - - @@ -393,11 +453,11 @@ - + - + - + @@ -546,6 +606,15 @@ + + + + + + + + + @@ -564,15 +633,6 @@ - - - - - - - - - @@ -882,6 +942,15 @@ + + + + + + + + + @@ -1017,6 +1086,15 @@ + + + + + + + + + @@ -1071,6 +1149,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1134,6 +1284,15 @@ + + + + + + + + + @@ -1161,6 +1320,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1326,6 +1512,15 @@ + + + + + + + + + @@ -1362,6 +1557,24 @@ + + + + + + + + + + + + + + + + + + @@ -1401,6 +1614,24 @@ + + + + + + + + + + + + + + + + + + @@ -1437,6 +1668,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1662,6 +1920,15 @@ + + + + + + + + + @@ -1797,15 +2064,12 @@ - + - + - + - - - @@ -1938,6 +2202,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1995,6 +2295,15 @@ + + + + + + + + + @@ -2031,11 +2340,11 @@ - + - + - + @@ -2157,11 +2466,11 @@ - + - + - + @@ -2229,6 +2538,15 @@ + + + + + + + + + @@ -2283,6 +2601,15 @@ + + + + + + + + + @@ -2301,6 +2628,24 @@ + + + + + + + + + + + + + + + + + + @@ -2376,6 +2721,15 @@ + + + + + + + + + @@ -2394,6 +2748,15 @@ + + + + + + + + + @@ -2403,6 +2766,15 @@ + + + + + + + + + @@ -2430,15 +2802,6 @@ - - - - - - - - - @@ -2520,6 +2883,15 @@ + + + + + + + + + @@ -2577,6 +2949,15 @@ + + + + + + + + + @@ -2643,15 +3024,6 @@ - - - - - - - - - @@ -2679,11 +3051,11 @@ - + - + - + @@ -2697,11 +3069,20 @@ - + - + - + + + + + + + + + + @@ -2946,11 +3327,11 @@ - + - + - + @@ -3033,6 +3414,24 @@ + + + + + + + + + + + + + + + + + + @@ -3213,11 +3612,20 @@ - + - + - + + + + + + + + + + @@ -3282,15 +3690,6 @@ - - - - - - - - - @@ -3300,11 +3699,11 @@ - + - + - + @@ -3462,6 +3861,15 @@ + + + + + + + + + @@ -3621,6 +4029,15 @@ + + + + + + + + + @@ -3705,6 +4122,15 @@ + + + + + + + + + @@ -3828,6 +4254,15 @@ + + + + + + + + + @@ -3837,6 +4272,15 @@ + + + + + + + + + @@ -3855,11 +4299,11 @@ - + - + - + @@ -4035,15 +4479,6 @@ - - - - - - - - - @@ -4107,6 +4542,15 @@ + + + + + + + + + @@ -4323,11 +4767,11 @@ - + - + - + @@ -4458,6 +4902,15 @@ + + + + + + + + + @@ -4515,6 +4968,24 @@ + + + + + + + + + + + + + + + + + + @@ -4524,6 +4995,15 @@ + + + + + + + + + @@ -4542,6 +5022,15 @@ + + + + + + + + + @@ -4571,10 +5060,13 @@ - + + + + @@ -4689,6 +5181,15 @@ + + + + + + + + + @@ -4707,11 +5208,11 @@ - + - + - + @@ -4743,6 +5244,15 @@ + + + + + + + + + @@ -5037,6 +5547,15 @@ + + + + + + + + + @@ -5301,6 +5820,15 @@ + + + + + + + + + @@ -5430,6 +5958,15 @@ + + + + + + + + + @@ -5451,20 +5988,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5715,11 +6279,20 @@ - + - + - + + + + + + + + + + @@ -5895,6 +6468,15 @@ + + + + + + + + + @@ -5967,6 +6549,24 @@ + + + + + + + + + + + + + + + + + + @@ -5988,15 +6588,6 @@ - - - - - - - - - @@ -6006,6 +6597,15 @@ + + + + + + + + + @@ -6015,6 +6615,15 @@ + + + + + + + + + @@ -6024,6 +6633,15 @@ + + + + + + + + + @@ -6078,6 +6696,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6123,18 +6786,6 @@ - - - - - - - - - - - - @@ -6282,6 +6933,15 @@ + + + + + + + + + @@ -6336,6 +6996,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6345,6 +7050,15 @@ + + + + + + + + + @@ -6408,6 +7122,15 @@ + + + + + + + + + @@ -6435,11 +7158,20 @@ - + - + - + + + + + + + + + + @@ -6471,15 +7203,6 @@ - - - - - - - - - @@ -6489,6 +7212,15 @@ + + + + + + + + + @@ -6498,15 +7230,6 @@ - - - - - - - - - @@ -6561,6 +7284,15 @@ + + + + + + + + + @@ -6735,6 +7467,15 @@ + + + + + + + + + @@ -6819,11 +7560,11 @@ - + - + - + @@ -6882,11 +7623,11 @@ - + - + - + @@ -6900,29 +7641,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6972,6 +7722,15 @@ + + + + + + + + + @@ -7293,6 +8052,15 @@ + + + + + + + + + @@ -7398,6 +8166,24 @@ + + + + + + + + + + + + + + + + + + @@ -7416,20 +8202,20 @@ - + - + - + - + - + - + @@ -7452,6 +8238,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7665,6 +8487,15 @@ + + + + + + + + + @@ -7743,6 +8574,15 @@ + + + + + + + + + @@ -7785,15 +8625,6 @@ - - - - - - - - - @@ -7812,6 +8643,15 @@ + + + + + + + + + @@ -7959,6 +8799,15 @@ + + + + + + + + + @@ -7986,6 +8835,15 @@ + + + + + + + + + @@ -8049,6 +8907,15 @@ + + + + + + + + + @@ -8094,6 +8961,15 @@ + + + + + + + + + @@ -8103,6 +8979,15 @@ + + + + + + + + + @@ -8376,20 +9261,20 @@ - + - + - + - + - + - + @@ -8478,6 +9363,15 @@ + + + + + + + + + @@ -8577,6 +9471,15 @@ + + + + + + + + + @@ -8718,15 +9621,6 @@ - - - - - - - - - @@ -8736,6 +9630,15 @@ + + + + + + + + + @@ -8838,6 +9741,15 @@ + + + + + + + + + @@ -8847,6 +9759,15 @@ + + + + + + + + + @@ -8883,6 +9804,24 @@ + + + + + + + + + + + + + + + + + + @@ -8919,6 +9858,24 @@ + + + + + + + + + + + + + + + + + + @@ -9020,10 +9977,31 @@ - + + + + + + + + + + + + + + + + + + + + + + @@ -9036,6 +10014,24 @@ + + + + + + + + + + + + + + + + + + @@ -9090,6 +10086,15 @@ + + + + + + + + + @@ -9171,6 +10176,24 @@ + + + + + + + + + + + + + + + + + + @@ -9180,38 +10203,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9261,6 +10284,15 @@ + + + + + + + + + @@ -9270,24 +10302,6 @@ - - - - - - - - - - - - - - - - - - @@ -9324,6 +10338,15 @@ + + + + + + + + + @@ -9333,6 +10356,24 @@ + + + + + + + + + + + + + + + + + + @@ -9351,6 +10392,15 @@ + + + + + + + + + @@ -9360,6 +10410,24 @@ + + + + + + + + + + + + + + + + + + @@ -9369,15 +10437,6 @@ - - - - - - - - - @@ -9405,6 +10464,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9435,20 +10530,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9462,20 +10566,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9525,15 +10647,6 @@ - - - - - - - - - @@ -9912,6 +11025,15 @@ + + + + + + + + + @@ -10146,6 +11268,15 @@ + + + + + + + + + @@ -10203,24 +11334,6 @@ - - - - - - - - - - - - - - - - - - @@ -10230,6 +11343,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10239,6 +11379,15 @@ + + + + + + + + + @@ -10275,15 +11424,6 @@ - - - - - - - - - @@ -10659,11 +11799,11 @@ - + - + - + @@ -10731,6 +11871,15 @@ + + + + + + + + + @@ -10749,11 +11898,11 @@ - + - + - + @@ -10905,11 +12054,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10959,27 +12126,21 @@ - + - + - + - - - - + - + - + - - - @@ -11289,6 +12450,15 @@ + + + + + + + + + @@ -11325,6 +12495,24 @@ + + + + + + + + + + + + + + + + + + @@ -11334,6 +12522,15 @@ + + + + + + + + + @@ -11418,6 +12615,15 @@ + + + + + + + + + @@ -11823,6 +13029,15 @@ + + + + + + + + + @@ -11877,6 +13092,24 @@ + + + + + + + + + + + + + + + + + + @@ -11994,6 +13227,15 @@ + + + + + + + + + @@ -12021,20 +13263,11 @@ - + - + - - - - - - - - - - + @@ -12243,15 +13476,6 @@ - - - - - - - - - @@ -12612,6 +13836,15 @@ + + + + + + + + + @@ -12633,6 +13866,15 @@ + + + + + + + + + @@ -12798,6 +14040,15 @@ + + + + + + + + + @@ -12852,20 +14103,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13110,6 +14370,24 @@ + + + + + + + + + + + + + + + + + + @@ -13173,6 +14451,24 @@ + + + + + + + + + + + + + + + + + + @@ -13272,6 +14568,15 @@ + + + + + + + + + @@ -13398,15 +14703,6 @@ - - - - - - - - - @@ -13434,6 +14730,15 @@ + + + type.]]> + + 類型。]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13461,11 +14766,20 @@ - + - + - + + + + + + + + + + @@ -13479,6 +14793,24 @@ + + + + + + + + + + + + + + + + + + @@ -13590,15 +14922,6 @@ - - - - - - - - - @@ -13680,6 +15003,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13698,6 +15057,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13752,6 +15147,15 @@ + + + + + + + + + @@ -13788,15 +15192,6 @@ - - - - - - - - - @@ -13806,6 +15201,24 @@ + + + + + + + + + + + + + + + + + + @@ -13914,6 +15327,15 @@ + + + + + + + + + @@ -13950,6 +15372,24 @@ + + + + + + + + + + + + + + + + + + @@ -14060,9 +15500,21 @@ - + - + + + + + + + + + + + + + @@ -14078,10 +15530,13 @@ - + - + + + + @@ -14133,15 +15588,6 @@ - - - - - - - - - @@ -14250,6 +15696,15 @@ + + + + + + + + + @@ -14277,11 +15732,11 @@ - + - + - + @@ -14358,6 +15813,15 @@ + + + + + + + + + @@ -14535,15 +15999,6 @@ - - - - - - - - - @@ -14580,6 +16035,15 @@ + + + + + + + + + @@ -14607,6 +16071,15 @@ + + + + + + + + + @@ -15015,6 +16488,24 @@ + + + + + + + + + + + + + + + + + + @@ -15087,6 +16578,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15141,6 +16686,15 @@ + + + + + + + + + @@ -15267,11 +16821,11 @@ - + - + - + @@ -15303,6 +16857,15 @@ + + + + + + + + + @@ -15330,6 +16893,15 @@ + + + + + + + + + @@ -15339,6 +16911,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15474,6 +17073,24 @@ + + + + + + + + + + + + + + + + + + @@ -15594,6 +17211,15 @@ + + + + + + + + + @@ -15621,6 +17247,15 @@ + + + + + + + + + @@ -15729,6 +17364,24 @@ + + + + + + + + + + + + + + + + + + @@ -15783,15 +17436,6 @@ - - - - - - - - - @@ -15837,6 +17481,15 @@ + + + + + + + + + @@ -15846,6 +17499,24 @@ + + + + + + + + + + + + + + + + + + @@ -15855,6 +17526,15 @@ + + + + + + + + + @@ -15927,11 +17607,11 @@ - + - + - + @@ -16137,6 +17817,15 @@ + + + + + + + + + @@ -16182,6 +17871,24 @@ + + + + + + + + + + + + + + + + + + @@ -16248,6 +17955,15 @@ + + + + + + + + + @@ -16314,20 +18030,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16443,6 +18195,15 @@ + + + + + + + + + @@ -16479,6 +18240,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16491,6 +18279,15 @@ + + + + + + + + + @@ -16518,27 +18315,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16557,11 +18333,11 @@ - + - + - + @@ -16731,6 +18507,15 @@ + + + + + + + + + @@ -16785,11 +18570,11 @@ - + - + - + @@ -16920,6 +18705,15 @@ + + + + + + + + + @@ -16983,6 +18777,24 @@ + + + + + + + + + + + + + + + + + + @@ -17010,24 +18822,6 @@ - - - - - - - - - - - - - - - - - - @@ -17046,6 +18840,15 @@ + + + + + + + + + @@ -17184,15 +18987,6 @@ - - - - - - - - - @@ -17229,6 +19023,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl index 5662c6c06c2..6ba67d48ffa 100644 --- a/src/loc/lcl/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -57,6 +57,15 @@ + + + + + + + + + @@ -66,6 +75,15 @@ + + + + + + + + + @@ -111,6 +129,24 @@ + + + + + + + + + + + + + + + + + + @@ -129,6 +165,24 @@ + + + + + + + + + + + + + + + + + + @@ -288,6 +342,15 @@ + + + + + + + + + @@ -351,15 +414,12 @@ - + - + - + - - - @@ -402,11 +462,11 @@ - + - + - + @@ -555,6 +615,15 @@ + + + + + + + + + @@ -573,15 +642,6 @@ - - - - - - - - - @@ -891,6 +951,15 @@ + + + + + + + + + @@ -1026,6 +1095,15 @@ + + + + + + + + + @@ -1080,6 +1158,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1143,6 +1293,15 @@ + + + + + + + + + @@ -1170,6 +1329,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1335,6 +1521,15 @@ + + + + + + + + + @@ -1371,6 +1566,24 @@ + + + + + + + + + + + + + + + + + + @@ -1410,6 +1623,24 @@ + + + + + + + + + + + + + + + + + + @@ -1446,6 +1677,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1671,6 +1929,15 @@ + + + + + + + + + @@ -1806,15 +2073,12 @@ - + - + - + - - - @@ -1947,6 +2211,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2004,6 +2304,15 @@ + + + + + + + + + @@ -2040,11 +2349,11 @@ - + - + - + @@ -2166,11 +2475,11 @@ - + - + - + @@ -2238,6 +2547,15 @@ + + + + + + + + + @@ -2292,6 +2610,15 @@ + + + + + + + + + @@ -2310,6 +2637,24 @@ + + + + + + + + + + + + + + + + + + @@ -2385,6 +2730,15 @@ + + + + + + + + + @@ -2403,6 +2757,15 @@ + + + + + + + + + @@ -2412,6 +2775,15 @@ + + + + + + + + + @@ -2439,15 +2811,6 @@ - - - - - - - - - @@ -2529,6 +2892,15 @@ + + + + + + + + + @@ -2586,6 +2958,15 @@ + + + + + + + + + @@ -2652,15 +3033,6 @@ - - - - - - - - - @@ -2688,11 +3060,11 @@ - + - + - + @@ -2706,11 +3078,20 @@ - + - + - + + + + + + + + + + @@ -2955,11 +3336,11 @@ - + - + - + @@ -3042,6 +3423,24 @@ + + + + + + + + + + + + + + + + + + @@ -3222,11 +3621,20 @@ - + - + - + + + + + + + + + + @@ -3291,15 +3699,6 @@ - - - - - - - - - @@ -3309,11 +3708,11 @@ - + - + - + @@ -3471,6 +3870,15 @@ + + + + + + + + + @@ -3630,6 +4038,15 @@ + + + + + + + + + @@ -3714,6 +4131,15 @@ + + + + + + + + + @@ -3837,6 +4263,15 @@ + + + + + + + + + @@ -3846,6 +4281,15 @@ + + + + + + + + + @@ -3864,11 +4308,11 @@ - + - + - + @@ -4044,15 +4488,6 @@ - - - - - - - - - @@ -4116,6 +4551,15 @@ + + + + + + + + + @@ -4332,11 +4776,11 @@ - + - + - + @@ -4467,6 +4911,15 @@ + + + + + + + + + @@ -4524,6 +4977,24 @@ + + + + + + + + + + + + + + + + + + @@ -4533,6 +5004,15 @@ + + + + + + + + + @@ -4551,6 +5031,15 @@ + + + + + + + + + @@ -4580,10 +5069,13 @@ - + - + + + + @@ -4698,6 +5190,15 @@ + + + + + + + + + @@ -4716,11 +5217,11 @@ - + - + - + @@ -4752,6 +5253,15 @@ + + + + + + + + + @@ -5046,6 +5556,15 @@ + + + + + + + + + @@ -5310,6 +5829,15 @@ + + + + + + + + + @@ -5439,6 +5967,15 @@ + + + + + + + + + @@ -5460,20 +5997,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5724,11 +6288,20 @@ - + - + - + + + + + + + + + + @@ -5904,6 +6477,15 @@ + + + + + + + + + @@ -5976,6 +6558,24 @@ + + + + + + + + + + + + + + + + + + @@ -5997,15 +6597,6 @@ - - - - - - - - - @@ -6015,6 +6606,15 @@ + + + + + + + + + @@ -6024,6 +6624,15 @@ + + + + + + + + + @@ -6033,6 +6642,15 @@ + + + + + + + + + @@ -6087,6 +6705,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6132,18 +6795,6 @@ - - - - - - - - - - - - @@ -6291,6 +6942,15 @@ + + + + + + + + + @@ -6345,6 +7005,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6354,6 +7059,15 @@ + + + + + + + + + @@ -6417,6 +7131,15 @@ + + + + + + + + + @@ -6444,11 +7167,20 @@ - + - + - + + + + + + + + + + @@ -6480,15 +7212,6 @@ - - - - - - - - - @@ -6498,6 +7221,15 @@ + + + + + + + + + @@ -6507,15 +7239,6 @@ - - - - - - - - - @@ -6570,6 +7293,15 @@ + + + + + + + + + @@ -6744,6 +7476,15 @@ + + + + + + + + + @@ -6828,11 +7569,11 @@ - + - + - + @@ -6891,11 +7632,11 @@ - + - + - + @@ -6909,29 +7650,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6981,6 +7731,15 @@ + + + + + + + + + @@ -7302,6 +8061,15 @@ + + + + + + + + + @@ -7407,6 +8175,24 @@ + + + + + + + + + + + + + + + + + + @@ -7425,20 +8211,20 @@ - + - + - + - + - + - + @@ -7461,6 +8247,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7674,6 +8496,15 @@ + + + + + + + + + @@ -7752,6 +8583,15 @@ + + + + + + + + + @@ -7794,15 +8634,6 @@ - - - - - - - - - @@ -7821,6 +8652,15 @@ + + + + + + + + + @@ -7968,6 +8808,15 @@ + + + + + + + + + @@ -7995,6 +8844,15 @@ + + + + + + + + + @@ -8058,6 +8916,15 @@ + + + + + + + + + @@ -8103,6 +8970,15 @@ + + + + + + + + + @@ -8112,6 +8988,15 @@ + + + + + + + + + @@ -8385,20 +9270,20 @@ - + - + - + - + - + - + @@ -8487,6 +9372,15 @@ + + + + + + + + + @@ -8586,6 +9480,15 @@ + + + + + + + + + @@ -8727,15 +9630,6 @@ - - - - - - - - - @@ -8745,6 +9639,15 @@ + + + + + + + + + @@ -8847,6 +9750,15 @@ + + + + + + + + + @@ -8856,6 +9768,15 @@ + + + + + + + + + @@ -8892,6 +9813,24 @@ + + + + + + + + + + + + + + + + + + @@ -8928,6 +9867,24 @@ + + + + + + + + + + + + + + + + + + @@ -9029,9 +9986,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9045,6 +10023,24 @@ + + + + + + + + + + + + + + + + + + @@ -9099,6 +10095,15 @@ + + + + + + + + + @@ -9180,6 +10185,24 @@ + + + + + + + + + + + + + + + + + + @@ -9189,38 +10212,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9270,6 +10293,15 @@ + + + + + + + + + @@ -9279,24 +10311,6 @@ - - - - - - - - - - - - - - - - - - @@ -9333,6 +10347,15 @@ + + + + + + + + + @@ -9342,6 +10365,24 @@ + + + + + + + + + + + + + + + + + + @@ -9360,6 +10401,15 @@ + + + + + + + + + @@ -9369,6 +10419,24 @@ + + + + + + + + + + + + + + + + + + @@ -9378,15 +10446,6 @@ - - - - - - - - - @@ -9414,6 +10473,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9444,20 +10539,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9471,20 +10575,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9534,15 +10656,6 @@ - - - - - - - - - @@ -9921,6 +11034,15 @@ + + + + + + + + + @@ -10155,6 +11277,15 @@ + + + + + + + + + @@ -10212,24 +11343,6 @@ - - - - - - - - - - - - - - - - - - @@ -10239,6 +11352,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10248,6 +11388,15 @@ + + + + + + + + + @@ -10284,15 +11433,6 @@ - - - - - - - - - @@ -10668,11 +11808,11 @@ - + - + - + @@ -10740,6 +11880,15 @@ + + + + + + + + + @@ -10758,11 +11907,11 @@ - + - + - + @@ -10914,11 +12063,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10968,27 +12135,21 @@ - + - + - + - - - - + - + - + - - - @@ -11298,6 +12459,15 @@ + + + + + + + + + @@ -11334,6 +12504,24 @@ + + + + + + + + + + + + + + + + + + @@ -11343,6 +12531,15 @@ + + + + + + + + + @@ -11427,6 +12624,15 @@ + + + + + + + + + @@ -11832,6 +13038,15 @@ + + + + + + + + + @@ -11886,6 +13101,24 @@ + + + + + + + + + + + + + + + + + + @@ -12003,6 +13236,15 @@ + + + + + + + + + @@ -12030,20 +13272,11 @@ - + - + - - - - - - - - - - + @@ -12252,15 +13485,6 @@ - - - - - - - - - @@ -12621,6 +13845,15 @@ + + + + + + + + + @@ -12642,6 +13875,15 @@ + + + + + + + + + @@ -12807,6 +14049,15 @@ + + + + + + + + + @@ -12861,20 +14112,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13119,6 +14379,24 @@ + + + + + + + + + + + + + + + + + + @@ -13182,6 +14460,24 @@ + + + + + + + + + + + + + + + + + + @@ -13281,6 +14577,15 @@ + + + + + + + + + @@ -13407,15 +14712,6 @@ - - - - - - - - - @@ -13443,6 +14739,15 @@ + + + type.]]> + + .]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13470,11 +14775,20 @@ - + - + - + + + + + + + + + + @@ -13488,6 +14802,24 @@ + + + + + + + + + + + + + + + + + + @@ -13599,15 +14931,6 @@ - - - - - - - - - @@ -13689,6 +15012,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13707,6 +15066,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13761,6 +15156,15 @@ + + + + + + + + + @@ -13797,15 +15201,6 @@ - - - - - - - - - @@ -13815,6 +15210,24 @@ + + + + + + + + + + + + + + + + + + @@ -13923,6 +15336,15 @@ + + + + + + + + + @@ -13959,6 +15381,24 @@ + + + + + + + + + + + + + + + + + + @@ -14069,9 +15509,21 @@ - + - + + + + + + + + + + + + + @@ -14087,10 +15539,13 @@ - + - + + + + @@ -14142,15 +15597,6 @@ - - - - - - - - - @@ -14259,6 +15705,15 @@ + + + + + + + + + @@ -14286,11 +15741,11 @@ - + - + - + @@ -14367,6 +15822,15 @@ + + + + + + + + + @@ -14544,15 +16008,6 @@ - - - - - - - - - @@ -14589,6 +16044,15 @@ + + + + + + + + + @@ -14616,6 +16080,15 @@ + + + + + + + + + @@ -15024,6 +16497,24 @@ + + + + + + + + + + + + + + + + + + @@ -15096,6 +16587,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15150,6 +16695,15 @@ + + + + + + + + + @@ -15276,11 +16830,11 @@ - + - + - + @@ -15312,6 +16866,15 @@ + + + + + + + + + @@ -15339,6 +16902,15 @@ + + + + + + + + + @@ -15348,6 +16920,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15483,6 +17082,24 @@ + + + + + + + + + + + + + + + + + + @@ -15603,6 +17220,15 @@ + + + + + + + + + @@ -15630,6 +17256,15 @@ + + + + + + + + + @@ -15738,6 +17373,24 @@ + + + + + + + + + + + + + + + + + + @@ -15792,15 +17445,6 @@ - - - - - - - - - @@ -15846,6 +17490,15 @@ + + + + + + + + + @@ -15855,6 +17508,24 @@ + + + + + + + + + + + + + + + + + + @@ -15864,6 +17535,15 @@ + + + + + + + + + @@ -15936,11 +17616,11 @@ - + - + - + @@ -16146,6 +17826,15 @@ + + + + + + + + + @@ -16191,6 +17880,24 @@ + + + + + + + + + + + + + + + + + + @@ -16257,6 +17964,15 @@ + + + + + + + + + @@ -16323,20 +18039,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16452,6 +18204,15 @@ + + + + + + + + + @@ -16488,6 +18249,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16500,6 +18288,15 @@ + + + + + + + + + @@ -16527,27 +18324,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16566,11 +18342,11 @@ - + - + - + @@ -16740,6 +18516,15 @@ + + + + + + + + + @@ -16794,11 +18579,11 @@ - + - + - + @@ -16929,6 +18714,15 @@ + + + + + + + + + @@ -16992,6 +18786,24 @@ + + + + + + + + + + + + + + + + + + @@ -17019,24 +18831,6 @@ - - - - - - - - - - - - - - - - - - @@ -17055,6 +18849,15 @@ + + + + + + + + + @@ -17193,15 +18996,6 @@ - - - - - - - - - @@ -17238,6 +19032,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/deu/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/deu/diagnosticMessages/diagnosticMessages.generated.json.lcl index b4b100d057a..73406c7390c 100644 --- a/src/loc/lcl/deu/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/deu/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -48,6 +48,15 @@ + + + + + + + + + @@ -57,6 +66,15 @@ + + + + + + + + + @@ -102,6 +120,24 @@ + + + + + + + + + + + + + + + + + + @@ -120,6 +156,24 @@ + + + + + + + + + + + + + + + + + + @@ -279,6 +333,15 @@ + + + + + + + + + @@ -342,15 +405,12 @@ - + - + - + - - - @@ -393,9 +453,9 @@ - + - + @@ -546,6 +606,15 @@ + + + + + + + + + @@ -564,15 +633,6 @@ - - - - - - - - - @@ -879,6 +939,15 @@ + + + + + + + + + @@ -1014,6 +1083,15 @@ + + + + + + + + + @@ -1068,6 +1146,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1131,6 +1281,15 @@ + + + + + + + + + @@ -1158,6 +1317,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1323,6 +1509,15 @@ + + + + + + + + + @@ -1359,6 +1554,24 @@ + + + + + + + + + + + + + + + + + + @@ -1398,6 +1611,24 @@ + + + + + + + + + + + + + + + + + + @@ -1434,6 +1665,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1659,6 +1917,15 @@ + + + + + + + + + @@ -1794,15 +2061,12 @@ - + - + - + - - - @@ -1935,6 +2199,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1992,6 +2292,15 @@ + + + + + + + + + @@ -2028,11 +2337,11 @@ - + - + - + @@ -2154,11 +2463,11 @@ - + - + - + @@ -2226,6 +2535,15 @@ + + + + + + + + + @@ -2280,6 +2598,15 @@ + + + + + + + + + @@ -2298,6 +2625,24 @@ + + + + + + + + + + + + + + + + + + @@ -2373,6 +2718,15 @@ + + + + + + + + + @@ -2391,6 +2745,15 @@ + + + + + + + + + @@ -2400,6 +2763,15 @@ + + + + + + + + + @@ -2427,15 +2799,6 @@ - - - - - - - - - @@ -2517,6 +2880,15 @@ + + + + + + + + + @@ -2574,6 +2946,15 @@ + + + + + + + + + @@ -2640,15 +3021,6 @@ - - - - - - - - - @@ -2676,11 +3048,11 @@ - + - + - + @@ -2694,11 +3066,20 @@ - + - + - + + + + + + + + + + @@ -2943,11 +3324,11 @@ - + - + - + @@ -3030,6 +3411,24 @@ + + + + + + + + + + + + + + + + + + @@ -3210,11 +3609,20 @@ - + - + - + + + + + + + + + + @@ -3279,15 +3687,6 @@ - - - - - - - - - @@ -3297,11 +3696,11 @@ - + - + - + @@ -3459,6 +3858,15 @@ + + + + + + + + + @@ -3618,6 +4026,15 @@ + + + + + + + + + @@ -3702,6 +4119,15 @@ + + + + + + + + + @@ -3825,6 +4251,15 @@ + + + + + + + + + @@ -3834,6 +4269,15 @@ + + + + + + + + + @@ -3852,11 +4296,11 @@ - + - + - + @@ -4032,15 +4476,6 @@ - - - - - - - - - @@ -4104,6 +4539,15 @@ + + + + + + + + + @@ -4320,11 +4764,11 @@ - + - + - + @@ -4455,6 +4899,15 @@ + + + + + + + + + @@ -4512,6 +4965,24 @@ + + + + + + + + + + + + + + + + + + @@ -4521,6 +4992,15 @@ + + + + + + + + + @@ -4539,6 +5019,15 @@ + + + + + + + + + @@ -4568,10 +5057,13 @@ - + - + + + + @@ -4686,6 +5178,15 @@ + + + + + + + + + @@ -4704,11 +5205,11 @@ - + - + - + @@ -4740,6 +5241,15 @@ + + + + + + + + + @@ -5034,6 +5544,15 @@ + + + + + + + + + @@ -5298,6 +5817,15 @@ + + + + + + + + + @@ -5427,6 +5955,15 @@ + + + + + + + + + @@ -5448,20 +5985,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5712,11 +6276,20 @@ - + - + - + + + + + + + + + + @@ -5892,6 +6465,15 @@ + + + + + + + + + @@ -5964,6 +6546,24 @@ + + + + + + + + + + + + + + + + + + @@ -5985,15 +6585,6 @@ - - - - - - - - - @@ -6003,6 +6594,15 @@ + + + + + + + + + @@ -6012,6 +6612,15 @@ + + + + + + + + + @@ -6021,6 +6630,15 @@ + + + + + + + + + @@ -6075,6 +6693,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6120,18 +6783,6 @@ - - - - - - - - - - - - @@ -6279,6 +6930,15 @@ + + + + + + + + + @@ -6333,6 +6993,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6342,6 +7047,15 @@ + + + + + + + + + @@ -6405,6 +7119,15 @@ + + + + + + + + + @@ -6432,11 +7155,20 @@ - + - + - + + + + + + + + + + @@ -6468,15 +7200,6 @@ - - - - - - - - - @@ -6486,6 +7209,15 @@ + + + + + + + + + @@ -6495,15 +7227,6 @@ - - - - - - - - - @@ -6558,6 +7281,15 @@ + + + + + + + + + @@ -6732,6 +7464,15 @@ + + + + + + + + + @@ -6816,11 +7557,11 @@ - + - + - + @@ -6879,11 +7620,11 @@ - + - + - + @@ -6897,29 +7638,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6969,6 +7719,15 @@ + + + + + + + + + @@ -7290,6 +8049,15 @@ + + + + + + + + + @@ -7395,6 +8163,24 @@ + + + + + + + + + + + + + + + + + + @@ -7413,20 +8199,20 @@ - + - + - + - + - + - + @@ -7449,6 +8235,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7662,6 +8484,15 @@ + + + + + + + + + @@ -7740,6 +8571,15 @@ + + + + + + + + + @@ -7782,15 +8622,6 @@ - - - - - - - - - @@ -7809,6 +8640,15 @@ + + + + + + + + + @@ -7956,6 +8796,15 @@ + + + + + + + + + @@ -7983,6 +8832,15 @@ + + + + + + + + + @@ -8046,6 +8904,15 @@ + + + + + + + + + @@ -8091,6 +8958,15 @@ + + + + + + + + + @@ -8100,6 +8976,15 @@ + + + + + + + + + @@ -8373,20 +9258,20 @@ - + - + - + - + - + - + @@ -8475,6 +9360,15 @@ + + + + + + + + + @@ -8574,6 +9468,15 @@ + + + + + + + + + @@ -8715,15 +9618,6 @@ - - - - - - - - - @@ -8733,6 +9627,15 @@ + + + + + + + + + @@ -8835,6 +9738,15 @@ + + + + + + + + + @@ -8844,6 +9756,15 @@ + + + + + + + + + @@ -8880,6 +9801,24 @@ + + + + + + + + + + + + + + + + + + @@ -8916,6 +9855,24 @@ + + + + + + + + + + + + + + + + + + @@ -9017,9 +9974,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9033,6 +10011,24 @@ + + + + + + + + + + + + + + + + + + @@ -9087,6 +10083,15 @@ + + + + + + + + + @@ -9168,6 +10173,24 @@ + + + + + + + + + + + + + + + + + + @@ -9177,38 +10200,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9258,6 +10281,15 @@ + + + + + + + + + @@ -9267,24 +10299,6 @@ - - - - - - - - - - - - - - - - - - @@ -9321,6 +10335,15 @@ + + + + + + + + + @@ -9330,6 +10353,24 @@ + + + + + + + + + + + + + + + + + + @@ -9348,6 +10389,15 @@ + + + + + + + + + @@ -9357,6 +10407,24 @@ + + + + + + + + + + + + + + + + + + @@ -9366,15 +10434,6 @@ - - - - - - - - - @@ -9402,6 +10461,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9432,20 +10527,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9459,20 +10563,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9522,15 +10644,6 @@ - - - - - - - - - @@ -9909,6 +11022,15 @@ + + + + + + + + + @@ -10140,6 +11262,15 @@ + + + + + + + + + @@ -10197,24 +11328,6 @@ - - - - - - - - - - - - - - - - - - @@ -10224,6 +11337,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10233,6 +11373,15 @@ + + + + + + + + + @@ -10269,15 +11418,6 @@ - - - - - - - - - @@ -10653,11 +11793,11 @@ - + - + - + @@ -10725,6 +11865,15 @@ + + + + + + + + + @@ -10743,11 +11892,11 @@ - + - + - + @@ -10899,11 +12048,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10953,27 +12120,21 @@ - + - + - + - - - - + - + - + - - - @@ -11283,6 +12444,15 @@ + + + + + + + + + @@ -11319,6 +12489,24 @@ + + + + + + + + + + + + + + + + + + @@ -11328,6 +12516,15 @@ + + + + + + + + + @@ -11412,6 +12609,15 @@ + + + + + + + + + @@ -11817,6 +13023,15 @@ + + + + + + + + + @@ -11871,6 +13086,24 @@ + + + + + + + + + + + + + + + + + + @@ -11988,6 +13221,15 @@ + + + + + + + + + @@ -12015,20 +13257,11 @@ - + - + - - - - - - - - - - + @@ -12237,15 +13470,6 @@ - - - - - - - - - @@ -12606,6 +13830,15 @@ + + + + + + + + + @@ -12627,6 +13860,15 @@ + + + + + + + + + @@ -12792,6 +14034,15 @@ + + + + + + + + + @@ -12846,20 +14097,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13104,6 +14364,24 @@ + + + + + + + + + + + + + + + + + + @@ -13167,6 +14445,24 @@ + + + + + + + + + + + + + + + + + + @@ -13266,6 +14562,15 @@ + + + + + + + + + @@ -13392,15 +14697,6 @@ - - - - - - - - - @@ -13428,6 +14724,15 @@ + + + type.]]> + + " sein.]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13455,11 +14760,20 @@ - + - + - + + + + + + + + + + @@ -13473,6 +14787,24 @@ + + + + + + + + + + + + + + + + + + @@ -13584,15 +14916,6 @@ - - - - - - - - - @@ -13674,6 +14997,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13692,6 +15051,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13746,6 +15141,15 @@ + + + + + + + + + @@ -13782,15 +15186,6 @@ - - - - - - - - - @@ -13800,6 +15195,24 @@ + + + + + + + + + + + + + + + + + + @@ -13908,6 +15321,15 @@ + + + + + + + + + @@ -13944,6 +15366,24 @@ + + + + + + + + + + + + + + + + + + @@ -14054,9 +15494,21 @@ - + - + + + + + + + + + + + + + @@ -14072,10 +15524,13 @@ - + - + + + + @@ -14127,15 +15582,6 @@ - - - - - - - - - @@ -14244,6 +15690,15 @@ + + + + + + + + + @@ -14271,11 +15726,11 @@ - + - + - + @@ -14352,6 +15807,15 @@ + + + + + + + + + @@ -14529,15 +15993,6 @@ - - - - - - - - - @@ -14574,6 +16029,15 @@ + + + + + + + + + @@ -14601,6 +16065,15 @@ + + + + + + + + + @@ -15009,6 +16482,24 @@ + + + + + + + + + + + + + + + + + + @@ -15081,6 +16572,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15135,6 +16680,15 @@ + + + + + + + + + @@ -15261,11 +16815,11 @@ - + - + - + @@ -15297,6 +16851,15 @@ + + + + + + + + + @@ -15324,6 +16887,15 @@ + + + + + + + + + @@ -15333,6 +16905,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15468,6 +17067,24 @@ + + + + + + + + + + + + + + + + + + @@ -15588,6 +17205,15 @@ + + + + + + + + + @@ -15615,6 +17241,15 @@ + + + + + + + + + @@ -15723,6 +17358,24 @@ + + + + + + + + + + + + + + + + + + @@ -15777,15 +17430,6 @@ - - - - - - - - - @@ -15831,6 +17475,15 @@ + + + + + + + + + @@ -15840,6 +17493,24 @@ + + + + + + + + + + + + + + + + + + @@ -15849,6 +17520,15 @@ + + + + + + + + + @@ -15921,11 +17601,11 @@ - + - + - + @@ -16131,6 +17811,15 @@ + + + + + + + + + @@ -16176,6 +17865,24 @@ + + + + + + + + + + + + + + + + + + @@ -16242,6 +17949,15 @@ + + + + + + + + + @@ -16308,20 +18024,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16437,6 +18189,15 @@ + + + + + + + + + @@ -16473,6 +18234,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16485,6 +18273,15 @@ + + + + + + + + + @@ -16512,27 +18309,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16551,11 +18327,11 @@ - + - + - + @@ -16725,6 +18501,15 @@ + + + + + + + + + @@ -16779,11 +18564,11 @@ - + - + - + @@ -16914,6 +18699,15 @@ + + + + + + + + + @@ -16977,6 +18771,24 @@ + + + + + + + + + + + + + + + + + + @@ -17004,24 +18816,6 @@ - - - - - - - - - - - - - - - - - - @@ -17040,6 +18834,15 @@ + + + + + + + + + @@ -17178,15 +18981,6 @@ - - - - - - - - - @@ -17223,6 +19017,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl index 3b7e833f5d1..9ce7a3e0dd6 100644 --- a/src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -57,6 +57,15 @@ + + + + + + + + + @@ -66,6 +75,15 @@ + + + + + + + + + @@ -111,6 +129,24 @@ + + + + + + + + + + + + + + + + + + @@ -129,6 +165,24 @@ + + + + + + + + + + + + + + + + + + @@ -288,6 +342,15 @@ + + + + + + + + + @@ -351,15 +414,12 @@ - + - + - + - - - @@ -402,11 +462,11 @@ - + - + - + @@ -555,6 +615,15 @@ + + + + + + + + + @@ -573,15 +642,6 @@ - - - - - - - - - @@ -891,6 +951,15 @@ + + + + + + + + + @@ -1026,6 +1095,15 @@ + + + + + + + + + @@ -1080,6 +1158,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1143,6 +1293,15 @@ + + + + + + + + + @@ -1170,6 +1329,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1335,6 +1521,15 @@ + + + + + + + + + @@ -1371,6 +1566,24 @@ + + + + + + + + + + + + + + + + + + @@ -1413,6 +1626,24 @@ + + + + + + + + + + + + + + + + + + @@ -1449,6 +1680,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1674,6 +1932,15 @@ + + + + + + + + + @@ -1809,15 +2076,12 @@ - + - + - + - - - @@ -1950,6 +2214,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2007,6 +2307,15 @@ + + + + + + + + + @@ -2043,11 +2352,11 @@ - + - + - + @@ -2169,11 +2478,11 @@ - + - + - + @@ -2241,6 +2550,15 @@ + + + + + + + + + @@ -2295,6 +2613,15 @@ + + + + + + + + + @@ -2313,6 +2640,24 @@ + + + + + + + + + + + + + + + + + + @@ -2388,6 +2733,15 @@ + + + + + + + + + @@ -2406,6 +2760,15 @@ + + + + + + + + + @@ -2415,6 +2778,15 @@ + + + + + + + + + @@ -2442,15 +2814,6 @@ - - - - - - - - - @@ -2532,6 +2895,15 @@ + + + + + + + + + @@ -2589,6 +2961,15 @@ + + + + + + + + + @@ -2655,15 +3036,6 @@ - - - - - - - - - @@ -2691,11 +3063,11 @@ - + - + - + @@ -2709,11 +3081,20 @@ - + - + - + + + + + + + + + + @@ -2958,11 +3339,11 @@ - + - + - + @@ -3045,6 +3426,24 @@ + + + + + + + + + + + + + + + + + + @@ -3225,11 +3624,20 @@ - + - + - + + + + + + + + + + @@ -3294,15 +3702,6 @@ - - - - - - - - - @@ -3312,11 +3711,11 @@ - + - + - + @@ -3474,6 +3873,15 @@ + + + + + + + + + @@ -3633,6 +4041,15 @@ + + + + + + + + + @@ -3717,6 +4134,15 @@ + + + + + + + + + @@ -3840,6 +4266,15 @@ + + + + + + + + + @@ -3849,6 +4284,15 @@ + + + + + + + + + @@ -3867,11 +4311,11 @@ - + - + - + @@ -4047,15 +4491,6 @@ - - - - - - - - - @@ -4119,6 +4554,15 @@ + + + + + + + + + @@ -4335,11 +4779,11 @@ - + - + - + @@ -4470,6 +4914,15 @@ + + + + + + + + + @@ -4527,6 +4980,24 @@ + + + + + + + + + + + + + + + + + + @@ -4536,6 +5007,15 @@ + + + + + + + + + @@ -4554,6 +5034,15 @@ + + + + + + + + + @@ -4583,10 +5072,13 @@ - + + + + @@ -4701,6 +5193,15 @@ + + + + + + + + + @@ -4719,11 +5220,11 @@ - + - + - + @@ -4755,6 +5256,15 @@ + + + + + + + + + @@ -5049,6 +5559,15 @@ + + + + + + + + + @@ -5313,6 +5832,15 @@ + + + + + + + + + @@ -5442,6 +5970,15 @@ + + + + + + + + + @@ -5463,20 +6000,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5727,11 +6291,20 @@ - + - + - + + + + + + + + + + @@ -5907,6 +6480,15 @@ + + + + + + + + + @@ -5979,6 +6561,24 @@ + + + + + + + + + + + + + + + + + + @@ -6000,15 +6600,6 @@ - - - - - - - - - @@ -6018,6 +6609,15 @@ + + + + + + + + + @@ -6027,6 +6627,15 @@ + + + + + + + + + @@ -6036,6 +6645,15 @@ + + + + + + + + + @@ -6090,6 +6708,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6135,18 +6798,6 @@ - - - - - - - - - - - - @@ -6294,6 +6945,15 @@ + + + + + + + + + @@ -6348,6 +7008,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6357,6 +7062,15 @@ + + + + + + + + + @@ -6420,6 +7134,15 @@ + + + + + + + + + @@ -6447,11 +7170,20 @@ - + - + - + + + + + + + + + + @@ -6483,15 +7215,6 @@ - - - - - - - - - @@ -6501,6 +7224,15 @@ + + + + + + + + + @@ -6510,15 +7242,6 @@ - - - - - - - - - @@ -6573,6 +7296,15 @@ + + + + + + + + + @@ -6747,6 +7479,15 @@ + + + + + + + + + @@ -6831,11 +7572,11 @@ - + - + - + @@ -6894,11 +7635,11 @@ - + - + - + @@ -6912,29 +7653,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6984,6 +7734,15 @@ + + + + + + + + + @@ -7305,6 +8064,15 @@ + + + + + + + + + @@ -7410,6 +8178,24 @@ + + + + + + + + + + + + + + + + + + @@ -7428,20 +8214,20 @@ - + - + - + - + - + - + @@ -7464,6 +8250,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7677,6 +8499,15 @@ + + + + + + + + + @@ -7755,6 +8586,15 @@ + + + + + + + + + @@ -7797,15 +8637,6 @@ - - - - - - - - - @@ -7824,6 +8655,15 @@ + + + + + + + + + @@ -7971,6 +8811,15 @@ + + + + + + + + + @@ -7998,6 +8847,15 @@ + + + + + + + + + @@ -8061,6 +8919,15 @@ + + + + + + + + + @@ -8106,6 +8973,15 @@ + + + + + + + + + @@ -8115,6 +8991,15 @@ + + + + + + + + + @@ -8388,20 +9273,20 @@ - + - + - + - + - + - + @@ -8490,6 +9375,15 @@ + + + + + + + + + @@ -8589,6 +9483,15 @@ + + + + + + + + + @@ -8730,15 +9633,6 @@ - - - - - - - - - @@ -8748,6 +9642,15 @@ + + + + + + + + + @@ -8850,6 +9753,15 @@ + + + + + + + + + @@ -8859,6 +9771,15 @@ + + + + + + + + + @@ -8895,6 +9816,24 @@ + + + + + + + + + + + + + + + + + + @@ -8931,6 +9870,24 @@ + + + + + + + + + + + + + + + + + + @@ -9032,10 +9989,31 @@ - + + + + + + + + + + + + + + + + + + + + + + @@ -9048,6 +10026,24 @@ + + + + + + + + + + + + + + + + + + @@ -9102,6 +10098,15 @@ + + + + + + + + + @@ -9183,6 +10188,24 @@ + + + + + + + + + + + + + + + + + + @@ -9192,38 +10215,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9273,6 +10296,15 @@ + + + + + + + + + @@ -9282,24 +10314,6 @@ - - - - - - - - - - - - - - - - - - @@ -9336,6 +10350,15 @@ + + + + + + + + + @@ -9345,6 +10368,24 @@ + + + + + + + + + + + + + + + + + + @@ -9363,6 +10404,15 @@ + + + + + + + + + @@ -9372,6 +10422,24 @@ + + + + + + + + + + + + + + + + + + @@ -9381,15 +10449,6 @@ - - - - - - - - - @@ -9417,6 +10476,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9447,20 +10542,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9474,20 +10578,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9537,15 +10659,6 @@ - - - - - - - - - @@ -9924,6 +11037,15 @@ + + + + + + + + + @@ -10158,6 +11280,15 @@ + + + + + + + + + @@ -10215,24 +11346,6 @@ - - - - - - - - - - - - - - - - - - @@ -10242,6 +11355,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10251,6 +11391,15 @@ + + + + + + + + + @@ -10287,15 +11436,6 @@ - - - - - - - - - @@ -10671,11 +11811,11 @@ - + - + - + @@ -10743,6 +11883,15 @@ + + + + + + + + + @@ -10761,11 +11910,11 @@ - + - + - + @@ -10917,11 +12066,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10971,27 +12138,21 @@ - + - + - + - - - - + - + - + - - - @@ -11301,6 +12462,15 @@ + + + + + + + + + @@ -11337,6 +12507,24 @@ + + + + + + + + + + + + + + + + + + @@ -11346,6 +12534,15 @@ + + + + + + + + + @@ -11430,6 +12627,15 @@ + + + + + + + + + @@ -11835,6 +13041,15 @@ + + + + + + + + + @@ -11889,6 +13104,24 @@ + + + + + + + + + + + + + + + + + + @@ -12006,6 +13239,15 @@ + + + + + + + + + @@ -12033,20 +13275,11 @@ - + - + - - - - - - - - - - + @@ -12255,15 +13488,6 @@ - - - - - - - - - @@ -12624,6 +13848,15 @@ + + + + + + + + + @@ -12645,6 +13878,15 @@ + + + + + + + + + @@ -12810,6 +14052,15 @@ + + + + + + + + + @@ -12864,20 +14115,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13122,6 +14382,24 @@ + + + + + + + + + + + + + + + + + + @@ -13185,6 +14463,24 @@ + + + + + + + + + + + + + + + + + + @@ -13284,6 +14580,15 @@ + + + + + + + + + @@ -13410,15 +14715,6 @@ - - - - - - - - - @@ -13446,6 +14742,15 @@ + + + type.]]> + + global.]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13473,11 +14778,20 @@ - + - + - + + + + + + + + + + @@ -13491,6 +14805,24 @@ + + + + + + + + + + + + + + + + + + @@ -13602,15 +14934,6 @@ - - - - - - - - - @@ -13692,6 +15015,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13710,6 +15069,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13764,6 +15159,15 @@ + + + + + + + + + @@ -13800,15 +15204,6 @@ - - - - - - - - - @@ -13818,6 +15213,24 @@ + + + + + + + + + + + + + + + + + + @@ -13926,6 +15339,15 @@ + + + + + + + + + @@ -13962,6 +15384,24 @@ + + + + + + + + + + + + + + + + + + @@ -14072,9 +15512,21 @@ - + - + + + + + + + + + + + + + @@ -14090,10 +15542,13 @@ - + - + + + + @@ -14145,15 +15600,6 @@ - - - - - - - - - @@ -14262,6 +15708,15 @@ + + + + + + + + + @@ -14289,11 +15744,11 @@ - + - + - + @@ -14370,6 +15825,15 @@ + + + + + + + + + @@ -14547,15 +16011,6 @@ - - - - - - - - - @@ -14592,6 +16047,15 @@ + + + + + + + + + @@ -14619,6 +16083,15 @@ + + + + + + + + + @@ -15027,6 +16500,24 @@ + + + + + + + + + + + + + + + + + + @@ -15099,6 +16590,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15153,6 +16698,15 @@ + + + + + + + + + @@ -15279,11 +16833,11 @@ - + - + - + @@ -15315,6 +16869,15 @@ + + + + + + + + + @@ -15342,6 +16905,15 @@ + + + + + + + + + @@ -15351,6 +16923,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15486,6 +17085,24 @@ + + + + + + + + + + + + + + + + + + @@ -15606,6 +17223,15 @@ + + + + + + + + + @@ -15633,6 +17259,15 @@ + + + + + + + + + @@ -15741,6 +17376,24 @@ + + + + + + + + + + + + + + + + + + @@ -15795,15 +17448,6 @@ - - - - - - - - - @@ -15849,6 +17493,15 @@ + + + + + + + + + @@ -15858,6 +17511,24 @@ + + + + + + + + + + + + + + + + + + @@ -15867,6 +17538,15 @@ + + + + + + + + + @@ -15939,11 +17619,11 @@ - + - + - + @@ -16149,6 +17829,15 @@ + + + + + + + + + @@ -16194,6 +17883,24 @@ + + + + + + + + + + + + + + + + + + @@ -16260,6 +17967,15 @@ + + + + + + + + + @@ -16326,20 +18042,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16455,6 +18207,15 @@ + + + + + + + + + @@ -16491,6 +18252,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16503,6 +18291,15 @@ + + + + + + + + + @@ -16530,27 +18327,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16569,11 +18345,11 @@ - + - + - + @@ -16743,6 +18519,15 @@ + + + + + + + + + @@ -16797,11 +18582,11 @@ - + - + - + @@ -16932,6 +18717,15 @@ + + + + + + + + + @@ -16995,6 +18789,24 @@ + + + + + + + + + + + + + + + + + + @@ -17022,24 +18834,6 @@ - - - - - - - - - - - - - - - - - - @@ -17058,6 +18852,15 @@ + + + + + + + + + @@ -17196,15 +18999,6 @@ - - - - - - - - - @@ -17241,6 +19035,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl index e38f7afba52..4c8476e717a 100644 --- a/src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -57,6 +57,15 @@ + + + + + + + + + @@ -66,6 +75,15 @@ + + + + + + + + + @@ -111,6 +129,24 @@ + + + + + + + + + + + + + + + + + + @@ -129,6 +165,24 @@ + + + + + + + + + + + + + + + + + + @@ -288,6 +342,15 @@ + + + + + + + + + @@ -351,15 +414,12 @@ - + - + - + - - - @@ -402,11 +462,11 @@ - + - + - + @@ -555,6 +615,15 @@ + + + + + + + + + @@ -573,15 +642,6 @@ - - - - - - - - - @@ -891,6 +951,15 @@ + + + + + + + + + @@ -1026,6 +1095,15 @@ + + + + + + + + + @@ -1080,6 +1158,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1143,6 +1293,15 @@ + + + + + + + + + @@ -1170,6 +1329,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1335,6 +1521,15 @@ + + + + + + + + + @@ -1371,6 +1566,24 @@ + + + + + + + + + + + + + + + + + + @@ -1413,6 +1626,24 @@ + + + + + + + + + + + + + + + + + + @@ -1449,6 +1680,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1674,6 +1932,15 @@ + + + + + + + + + @@ -1809,15 +2076,12 @@ - + - + - + - - - @@ -1950,6 +2214,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2007,6 +2307,15 @@ + + + + + + + + + @@ -2043,11 +2352,11 @@ - + - + - + @@ -2169,11 +2478,11 @@ - + - + - + @@ -2241,6 +2550,15 @@ + + + + + + + + + @@ -2295,6 +2613,15 @@ + + + + + + + + + @@ -2313,6 +2640,24 @@ + + + + + + + + + + + + + + + + + + @@ -2388,6 +2733,15 @@ + + + + + + + + + @@ -2406,6 +2760,15 @@ + + + + + + + + + @@ -2415,6 +2778,15 @@ + + + + + + + + + @@ -2442,15 +2814,6 @@ - - - - - - - - - @@ -2532,6 +2895,15 @@ + + + + + + + + + @@ -2589,6 +2961,15 @@ + + + + + + + + + @@ -2655,15 +3036,6 @@ - - - - - - - - - @@ -2691,11 +3063,11 @@ - + - + - + @@ -2709,11 +3081,20 @@ - + - + - + + + + + + + + + + @@ -2958,11 +3339,11 @@ - + - + - + @@ -3045,6 +3426,24 @@ + + + + + + + + + + + + + + + + + + @@ -3225,11 +3624,20 @@ - + - + - + + + + + + + + + + @@ -3294,15 +3702,6 @@ - - - - - - - - - @@ -3312,11 +3711,11 @@ - + - + - + @@ -3474,6 +3873,15 @@ + + + + + + + + + @@ -3633,6 +4041,15 @@ + + + + + + + + + @@ -3717,6 +4134,15 @@ + + + + + + + + + @@ -3840,6 +4266,15 @@ + + + + + + + + + @@ -3849,6 +4284,15 @@ + + + + + + + + + @@ -3867,11 +4311,11 @@ - + - + - + @@ -4047,15 +4491,6 @@ - - - - - - - - - @@ -4119,6 +4554,15 @@ + + + + + + + + + @@ -4335,11 +4779,11 @@ - + - + - + @@ -4470,6 +4914,15 @@ + + + + + + + + + @@ -4527,6 +4980,24 @@ + + + + + + + + + + + + + + + + + + @@ -4536,6 +5007,15 @@ + + + + + + + + + @@ -4554,6 +5034,15 @@ + + + + + + + + + @@ -4583,10 +5072,13 @@ - + - + + + + @@ -4701,6 +5193,15 @@ + + + + + + + + + @@ -4719,11 +5220,11 @@ - + - + - + @@ -4755,6 +5256,15 @@ + + + + + + + + + @@ -5049,6 +5559,15 @@ + + + + + + + + + @@ -5313,6 +5832,15 @@ + + + + + + + + + @@ -5442,6 +5970,15 @@ + + + + + + + + + @@ -5463,20 +6000,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5727,11 +6291,20 @@ - + - + - + + + + + + + + + + @@ -5907,6 +6480,15 @@ + + + + + + + + + @@ -5979,6 +6561,24 @@ + + + + + + + + + + + + + + + + + + @@ -6000,15 +6600,6 @@ - - - - - - - - - @@ -6018,6 +6609,15 @@ + + + + + + + + + @@ -6027,6 +6627,15 @@ + + + + + + + + + @@ -6036,6 +6645,15 @@ + + + + + + + + + @@ -6090,6 +6708,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6135,18 +6798,6 @@ - - - - - - - - - - - - @@ -6294,6 +6945,15 @@ + + + + + + + + + @@ -6348,6 +7008,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6357,6 +7062,15 @@ + + + + + + + + + @@ -6420,6 +7134,15 @@ + + + + + + + + + @@ -6447,11 +7170,20 @@ - + - + - + + + + + + + + + + @@ -6483,15 +7215,6 @@ - - - - - - - - - @@ -6501,6 +7224,15 @@ + + + + + + + + + @@ -6510,15 +7242,6 @@ - - - - - - - - - @@ -6573,6 +7296,15 @@ + + + + + + + + + @@ -6747,6 +7479,15 @@ + + + + + + + + + @@ -6831,11 +7572,11 @@ - + - + - + @@ -6894,11 +7635,11 @@ - + - + - + @@ -6912,29 +7653,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6984,6 +7734,15 @@ + + + + + + + + + @@ -7305,6 +8064,15 @@ + + + + + + + + + @@ -7410,6 +8178,24 @@ + + + + + + + + + + + + + + + + + + @@ -7428,20 +8214,20 @@ - + - + - + - + - + - + @@ -7464,6 +8250,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7677,6 +8499,15 @@ + + + + + + + + + @@ -7755,6 +8586,15 @@ + + + + + + + + + @@ -7797,15 +8637,6 @@ - - - - - - - - - @@ -7824,6 +8655,15 @@ + + + + + + + + + @@ -7971,6 +8811,15 @@ + + + + + + + + + @@ -7998,6 +8847,15 @@ + + + + + + + + + @@ -8061,6 +8919,15 @@ + + + + + + + + + @@ -8106,6 +8973,15 @@ + + + + + + + + + @@ -8115,6 +8991,15 @@ + + + + + + + + + @@ -8388,20 +9273,20 @@ - + - + - + - + - + - + @@ -8490,6 +9375,15 @@ + + + + + + + + + @@ -8589,6 +9483,15 @@ + + + + + + + + + @@ -8730,15 +9633,6 @@ - - - - - - - - - @@ -8748,6 +9642,15 @@ + + + + + + + + + @@ -8850,6 +9753,15 @@ + + + + + + + + + @@ -8859,6 +9771,15 @@ + + + + + + + + + @@ -8895,6 +9816,24 @@ + + + + + + + + + + + + + + + + + + @@ -8931,6 +9870,24 @@ + + + + + + + + + + + + + + + + + + @@ -9032,9 +9989,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9048,6 +10026,24 @@ + + + + + + + + + + + + + + + + + + @@ -9102,6 +10098,15 @@ + + + + + + + + + @@ -9183,6 +10188,24 @@ + + + + + + + + + + + + + + + + + + @@ -9192,38 +10215,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9273,6 +10296,15 @@ + + + + + + + + + @@ -9282,24 +10314,6 @@ - - - - - - - - - - - - - - - - - - @@ -9336,6 +10350,15 @@ + + + + + + + + + @@ -9345,6 +10368,24 @@ + + + + + + + + + + + + + + + + + + @@ -9363,6 +10404,15 @@ + + + + + + + + + @@ -9372,6 +10422,24 @@ + + + + + + + + + + + + + + + + + + @@ -9381,15 +10449,6 @@ - - - - - - - - - @@ -9417,6 +10476,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9447,20 +10542,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9474,20 +10578,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9537,15 +10659,6 @@ - - - - - - - - - @@ -9924,6 +11037,15 @@ + + + + + + + + + @@ -10158,6 +11280,15 @@ + + + + + + + + + @@ -10215,24 +11346,6 @@ - - - - - - - - - - - - - - - - - - @@ -10242,6 +11355,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10251,6 +11391,15 @@ + + + + + + + + + @@ -10287,15 +11436,6 @@ - - - - - - - - - @@ -10671,11 +11811,11 @@ - + - + - + @@ -10743,6 +11883,15 @@ + + + + + + + + + @@ -10761,11 +11910,11 @@ - + - + - + @@ -10917,11 +12066,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10971,27 +12138,21 @@ - + - + - + - - - - + - + - + - - - @@ -11301,6 +12462,15 @@ + + + + + + + + + @@ -11337,6 +12507,24 @@ + + + + + + + + + + + + + + + + + + @@ -11346,6 +12534,15 @@ + + + + + + + + + @@ -11430,6 +12627,15 @@ + + + + + + + + + @@ -11835,6 +13041,15 @@ + + + + + + + + + @@ -11889,6 +13104,24 @@ + + + + + + + + + + + + + + + + + + @@ -12006,6 +13239,15 @@ + + + + + + + + + @@ -12033,20 +13275,11 @@ - + - + - - - - - - - - - - + @@ -12255,15 +13488,6 @@ - - - - - - - - - @@ -12624,6 +13848,15 @@ + + + + + + + + + @@ -12645,6 +13878,15 @@ + + + + + + + + + @@ -12810,6 +14052,15 @@ + + + + + + + + + @@ -12864,20 +14115,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13122,6 +14382,24 @@ + + + + + + + + + + + + + + + + + + @@ -13185,6 +14463,24 @@ + + + + + + + + + + + + + + + + + + @@ -13284,6 +14580,15 @@ + + + + + + + + + @@ -13410,15 +14715,6 @@ - - - - - - - - - @@ -13446,6 +14742,15 @@ + + + type.]]> + + global.]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13473,11 +14778,20 @@ - + - + - + + + + + + + + + + @@ -13491,6 +14805,24 @@ + + + + + + + + + + + + + + + + + + @@ -13602,15 +14934,6 @@ - - - - - - - - - @@ -13692,6 +15015,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13710,6 +15069,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13764,6 +15159,15 @@ + + + + + + + + + @@ -13800,15 +15204,6 @@ - - - - - - - - - @@ -13818,6 +15213,24 @@ + + + + + + + + + + + + + + + + + + @@ -13926,6 +15339,15 @@ + + + + + + + + + @@ -13962,6 +15384,24 @@ + + + + + + + + + + + + + + + + + + @@ -14072,9 +15512,21 @@ - + - + + + + + + + + + + + + + @@ -14090,10 +15542,13 @@ - + - + + + + @@ -14145,15 +15600,6 @@ - - - - - - - - - @@ -14262,6 +15708,15 @@ + + + + + + + + + @@ -14289,11 +15744,11 @@ - + - + - + @@ -14370,6 +15825,15 @@ + + + + + + + + + @@ -14547,15 +16011,6 @@ - - - - - - - - - @@ -14592,6 +16047,15 @@ + + + + + + + + + @@ -14619,6 +16083,15 @@ + + + + + + + + + @@ -15027,6 +16500,24 @@ + + + + + + + + + + + + + + + + + + @@ -15099,6 +16590,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15153,6 +16698,15 @@ + + + + + + + + + @@ -15279,11 +16833,11 @@ - + - + - + @@ -15315,6 +16869,15 @@ + + + + + + + + + @@ -15342,6 +16905,15 @@ + + + + + + + + + @@ -15351,6 +16923,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15486,6 +17085,24 @@ + + + + + + + + + + + + + + + + + + @@ -15606,6 +17223,15 @@ + + + + + + + + + @@ -15633,6 +17259,15 @@ + + + + + + + + + @@ -15741,6 +17376,24 @@ + + + + + + + + + + + + + + + + + + @@ -15795,15 +17448,6 @@ - - - - - - - - - @@ -15849,6 +17493,15 @@ + + + + + + + + + @@ -15858,6 +17511,24 @@ + + + + + + + + + + + + + + + + + + @@ -15867,6 +17538,15 @@ + + + + + + + + + @@ -15939,11 +17619,11 @@ - + - + - + @@ -16149,6 +17829,15 @@ + + + + + + + + + @@ -16194,6 +17883,24 @@ + + + + + + + + + + + + + + + + + + @@ -16260,6 +17967,15 @@ + + + + + + + + + @@ -16326,20 +18042,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16455,6 +18207,15 @@ + + + + + + + + + @@ -16491,6 +18252,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16503,6 +18291,15 @@ + + + + + + + + + @@ -16530,27 +18327,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16569,11 +18345,11 @@ - + - + - + @@ -16743,6 +18519,15 @@ + + + + + + + + + @@ -16797,11 +18582,11 @@ - + - + - + @@ -16932,6 +18717,15 @@ + + + + + + + + + @@ -16995,6 +18789,24 @@ + + + + + + + + + + + + + + + + + + @@ -17022,24 +18834,6 @@ - - - - - - - - - - - - - - - - - - @@ -17058,6 +18852,15 @@ + + + + + + + + + @@ -17196,15 +18999,6 @@ - - - - - - - - - @@ -17241,6 +19035,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl index 1ae0ae5f285..7a9cd653ac6 100644 --- a/src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -48,6 +48,15 @@ + + + + + + + + + @@ -57,6 +66,15 @@ + + + + + + + + + @@ -102,6 +120,24 @@ + + + + + + + + + + + + + + + + + + @@ -120,6 +156,24 @@ + + + + + + + + + + + + + + + + + + @@ -279,6 +333,15 @@ + + + + + + + + + @@ -342,15 +405,12 @@ - + - + - + - - - @@ -393,11 +453,11 @@ - + - + - + @@ -546,6 +606,15 @@ + + + + + + + + + @@ -564,15 +633,6 @@ - - - - - - - - - @@ -882,6 +942,15 @@ + + + + + + + + + @@ -1017,6 +1086,15 @@ + + + + + + + + + @@ -1071,6 +1149,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1134,6 +1284,15 @@ + + + + + + + + + @@ -1161,6 +1320,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1326,6 +1512,15 @@ + + + + + + + + + @@ -1362,6 +1557,24 @@ + + + + + + + + + + + + + + + + + + @@ -1401,6 +1614,24 @@ + + + + + + + + + + + + + + + + + + @@ -1437,6 +1668,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1662,6 +1920,15 @@ + + + + + + + + + @@ -1797,15 +2064,12 @@ - + - + - + - - - @@ -1938,6 +2202,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1995,6 +2295,15 @@ + + + + + + + + + @@ -2031,11 +2340,11 @@ - + - + - + @@ -2157,11 +2466,11 @@ - + - + - + @@ -2229,6 +2538,15 @@ + + + + + + + + + @@ -2283,6 +2601,15 @@ + + + + + + + + + @@ -2301,6 +2628,24 @@ + + + + + + + + + + + + + + + + + + @@ -2376,6 +2721,15 @@ + + + + + + + + + @@ -2394,6 +2748,15 @@ + + + + + + + + + @@ -2403,6 +2766,15 @@ + + + + + + + + + @@ -2430,15 +2802,6 @@ - - - - - - - - - @@ -2520,6 +2883,15 @@ + + + + + + + + + @@ -2577,6 +2949,15 @@ + + + + + + + + + @@ -2643,15 +3024,6 @@ - - - - - - - - - @@ -2679,11 +3051,11 @@ - + - + - + @@ -2697,11 +3069,20 @@ - + - + - + + + + + + + + + + @@ -2946,11 +3327,11 @@ - + - + - + @@ -3033,6 +3414,24 @@ + + + + + + + + + + + + + + + + + + @@ -3213,11 +3612,20 @@ - + - + - + + + + + + + + + + @@ -3282,15 +3690,6 @@ - - - - - - - - - @@ -3300,11 +3699,11 @@ - + - + - + @@ -3462,6 +3861,15 @@ + + + + + + + + + @@ -3621,6 +4029,15 @@ + + + + + + + + + @@ -3705,6 +4122,15 @@ + + + + + + + + + @@ -3828,6 +4254,15 @@ + + + + + + + + + @@ -3837,6 +4272,15 @@ + + + + + + + + + @@ -3855,11 +4299,11 @@ - + - + - + @@ -4035,15 +4479,6 @@ - - - - - - - - - @@ -4107,6 +4542,15 @@ + + + + + + + + + @@ -4323,11 +4767,11 @@ - + - + - + @@ -4458,6 +4902,15 @@ + + + + + + + + + @@ -4515,6 +4968,24 @@ + + + + + + + + + + + + + + + + + + @@ -4524,6 +4995,15 @@ + + + + + + + + + @@ -4542,6 +5022,15 @@ + + + + + + + + + @@ -4571,10 +5060,13 @@ - + + + + @@ -4689,6 +5181,15 @@ + + + + + + + + + @@ -4707,11 +5208,11 @@ - + - + - + @@ -4743,6 +5244,15 @@ + + + + + + + + + @@ -5037,6 +5547,15 @@ + + + + + + + + + @@ -5301,6 +5820,15 @@ + + + + + + + + + @@ -5430,6 +5958,15 @@ + + + + + + + + + @@ -5451,20 +5988,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5715,11 +6279,20 @@ - + - + - + + + + + + + + + + @@ -5895,6 +6468,15 @@ + + + + + + + + + @@ -5967,6 +6549,24 @@ + + + + + + + + + + + + + + + + + + @@ -5988,15 +6588,6 @@ - - - - - - - - - @@ -6006,6 +6597,15 @@ + + + + + + + + + @@ -6015,6 +6615,15 @@ + + + + + + + + + @@ -6024,6 +6633,15 @@ + + + + + + + + + @@ -6078,6 +6696,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6123,18 +6786,6 @@ - - - - - - - - - - - - @@ -6282,6 +6933,15 @@ + + + + + + + + + @@ -6336,6 +6996,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6345,6 +7050,15 @@ + + + + + + + + + @@ -6408,6 +7122,15 @@ + + + + + + + + + @@ -6435,11 +7158,20 @@ - + - + - + + + + + + + + + + @@ -6471,15 +7203,6 @@ - - - - - - - - - @@ -6489,6 +7212,15 @@ + + + + + + + + + @@ -6498,15 +7230,6 @@ - - - - - - - - - @@ -6561,6 +7284,15 @@ + + + + + + + + + @@ -6735,6 +7467,15 @@ + + + + + + + + + @@ -6819,11 +7560,11 @@ - + - + - + @@ -6882,11 +7623,11 @@ - + - + - + @@ -6900,29 +7641,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6972,6 +7722,15 @@ + + + + + + + + + @@ -7293,6 +8052,15 @@ + + + + + + + + + @@ -7398,6 +8166,24 @@ + + + + + + + + + + + + + + + + + + @@ -7416,20 +8202,20 @@ - + - + - + - + - + - + @@ -7452,6 +8238,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7665,6 +8487,15 @@ + + + + + + + + + @@ -7743,6 +8574,15 @@ + + + + + + + + + @@ -7785,15 +8625,6 @@ - - - - - - - - - @@ -7812,6 +8643,15 @@ + + + + + + + + + @@ -7959,6 +8799,15 @@ + + + + + + + + + @@ -7986,6 +8835,15 @@ + + + + + + + + + @@ -8049,6 +8907,15 @@ + + + + + + + + + @@ -8094,6 +8961,15 @@ + + + + + + + + + @@ -8103,6 +8979,15 @@ + + + + + + + + + @@ -8376,20 +9261,20 @@ - + - + - + - + - + - + @@ -8478,6 +9363,15 @@ + + + + + + + + + @@ -8577,6 +9471,15 @@ + + + + + + + + + @@ -8718,15 +9621,6 @@ - - - - - - - - - @@ -8736,6 +9630,15 @@ + + + + + + + + + @@ -8838,6 +9741,15 @@ + + + + + + + + + @@ -8847,6 +9759,15 @@ + + + + + + + + + @@ -8883,6 +9804,24 @@ + + + + + + + + + + + + + + + + + + @@ -8919,6 +9858,24 @@ + + + + + + + + + + + + + + + + + + @@ -9020,9 +9977,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9036,6 +10014,24 @@ + + + + + + + + + + + + + + + + + + @@ -9090,6 +10086,15 @@ + + + + + + + + + @@ -9171,6 +10176,24 @@ + + + + + + + + + + + + + + + + + + @@ -9180,38 +10203,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9261,6 +10284,15 @@ + + + + + + + + + @@ -9270,24 +10302,6 @@ - - - - - - - - - - - - - - - - - - @@ -9324,6 +10338,15 @@ + + + + + + + + + @@ -9333,6 +10356,24 @@ + + + + + + + + + + + + + + + + + + @@ -9351,6 +10392,15 @@ + + + + + + + + + @@ -9360,6 +10410,24 @@ + + + + + + + + + + + + + + + + + + @@ -9369,15 +10437,6 @@ - - - - - - - - - @@ -9405,6 +10464,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9435,20 +10530,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9462,20 +10566,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9525,15 +10647,6 @@ - - - - - - - - - @@ -9912,6 +11025,15 @@ + + + + + + + + + @@ -10146,6 +11268,15 @@ + + + + + + + + + @@ -10203,24 +11334,6 @@ - - - - - - - - - - - - - - - - - - @@ -10230,6 +11343,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10239,6 +11379,15 @@ + + + + + + + + + @@ -10275,15 +11424,6 @@ - - - - - - - - - @@ -10659,11 +11799,11 @@ - + - + - + @@ -10731,6 +11871,15 @@ + + + + + + + + + @@ -10749,11 +11898,11 @@ - + - + - + @@ -10905,11 +12054,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10959,27 +12126,21 @@ - + - + - + - - - - + - + - + - - - @@ -11289,6 +12450,15 @@ + + + + + + + + + @@ -11325,6 +12495,24 @@ + + + + + + + + + + + + + + + + + + @@ -11334,6 +12522,15 @@ + + + + + + + + + @@ -11418,6 +12615,15 @@ + + + + + + + + + @@ -11823,6 +13029,15 @@ + + + + + + + + + @@ -11877,6 +13092,24 @@ + + + + + + + + + + + + + + + + + + @@ -11994,6 +13227,15 @@ + + + + + + + + + @@ -12021,20 +13263,11 @@ - + - + - - - - - - - - - - + @@ -12243,15 +13476,6 @@ - - - - - - - - - @@ -12612,6 +13836,15 @@ + + + + + + + + + @@ -12633,6 +13866,15 @@ + + + + + + + + + @@ -12798,6 +14040,15 @@ + + + + + + + + + @@ -12852,20 +14103,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13110,6 +14370,24 @@ + + + + + + + + + + + + + + + + + + @@ -13173,6 +14451,24 @@ + + + + + + + + + + + + + + + + + + @@ -13272,6 +14568,15 @@ + + + + + + + + + @@ -13398,15 +14703,6 @@ - - - - - - - - - @@ -13434,6 +14730,15 @@ + + + type.]]> + + .]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13461,11 +14766,20 @@ - + - + - + + + + + + + + + + @@ -13479,6 +14793,24 @@ + + + + + + + + + + + + + + + + + + @@ -13590,15 +14922,6 @@ - - - - - - - - - @@ -13680,6 +15003,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13698,6 +15057,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13752,6 +15147,15 @@ + + + + + + + + + @@ -13788,15 +15192,6 @@ - - - - - - - - - @@ -13806,6 +15201,24 @@ + + + + + + + + + + + + + + + + + + @@ -13914,6 +15327,15 @@ + + + + + + + + + @@ -13950,6 +15372,24 @@ + + + + + + + + + + + + + + + + + + @@ -14060,9 +15500,21 @@ - + - + + + + + + + + + + + + + @@ -14078,10 +15530,13 @@ - + - + + + + @@ -14133,15 +15588,6 @@ - - - - - - - - - @@ -14250,6 +15696,15 @@ + + + + + + + + + @@ -14277,11 +15732,11 @@ - + - + - + @@ -14358,6 +15813,15 @@ + + + + + + + + + @@ -14535,15 +15999,6 @@ - - - - - - - - - @@ -14580,6 +16035,15 @@ + + + + + + + + + @@ -14607,6 +16071,15 @@ + + + + + + + + + @@ -15015,6 +16488,24 @@ + + + + + + + + + + + + + + + + + + @@ -15087,6 +16578,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15141,6 +16686,15 @@ + + + + + + + + + @@ -15267,11 +16821,11 @@ - + - + - + @@ -15303,6 +16857,15 @@ + + + + + + + + + @@ -15330,6 +16893,15 @@ + + + + + + + + + @@ -15339,6 +16911,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15474,6 +17073,24 @@ + + + + + + + + + + + + + + + + + + @@ -15594,6 +17211,15 @@ + + + + + + + + + @@ -15621,6 +17247,15 @@ + + + + + + + + + @@ -15729,6 +17364,24 @@ + + + + + + + + + + + + + + + + + + @@ -15783,15 +17436,6 @@ - - - - - - - - - @@ -15837,6 +17481,15 @@ + + + + + + + + + @@ -15846,6 +17499,24 @@ + + + + + + + + + + + + + + + + + + @@ -15855,6 +17526,15 @@ + + + + + + + + + @@ -15927,11 +17607,11 @@ - + - + - + @@ -16137,6 +17817,15 @@ + + + + + + + + + @@ -16182,6 +17871,24 @@ + + + + + + + + + + + + + + + + + + @@ -16248,6 +17955,15 @@ + + + + + + + + + @@ -16314,20 +18030,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16443,6 +18195,15 @@ + + + + + + + + + @@ -16479,6 +18240,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16491,6 +18279,15 @@ + + + + + + + + + @@ -16518,27 +18315,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16557,11 +18333,11 @@ - + - + - + @@ -16731,6 +18507,15 @@ + + + + + + + + + @@ -16785,11 +18570,11 @@ - + - + - + @@ -16920,6 +18705,15 @@ + + + + + + + + + @@ -16983,6 +18777,24 @@ + + + + + + + + + + + + + + + + + + @@ -17010,24 +18822,6 @@ - - - - - - - - - - - - - - - - - - @@ -17046,6 +18840,15 @@ + + + + + + + + + @@ -17184,15 +18987,6 @@ - - - - - - - - - @@ -17229,6 +19023,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/jpn/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/jpn/diagnosticMessages/diagnosticMessages.generated.json.lcl index 1c1c8f2b9c5..cdbb3d06f43 100644 --- a/src/loc/lcl/jpn/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/jpn/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -48,6 +48,15 @@ + + + + + + + + + @@ -57,6 +66,15 @@ + + + + + + + + + @@ -102,6 +120,24 @@ + + + + + + + + + + + + + + + + + + @@ -120,6 +156,24 @@ + + + + + + + + + + + + + + + + + + @@ -279,6 +333,15 @@ + + + + + + + + + @@ -342,15 +405,12 @@ - + - + - + - - - @@ -393,11 +453,11 @@ - + - + - + @@ -546,6 +606,15 @@ + + + + + + + + + @@ -564,15 +633,6 @@ - - - - - - - - - @@ -882,6 +942,15 @@ + + + + + + + + + @@ -1017,6 +1086,15 @@ + + + + + + + + + @@ -1071,6 +1149,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1134,6 +1284,15 @@ + + + + + + + + + @@ -1161,6 +1320,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1326,6 +1512,15 @@ + + + + + + + + + @@ -1362,6 +1557,24 @@ + + + + + + + + + + + + + + + + + + @@ -1401,6 +1614,24 @@ + + + + + + + + + + + + + + + + + + @@ -1437,6 +1668,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1662,6 +1920,15 @@ + + + + + + + + + @@ -1797,15 +2064,12 @@ - + - + - + - - - @@ -1938,6 +2202,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1995,6 +2295,15 @@ + + + + + + + + + @@ -2031,11 +2340,11 @@ - + - + - + @@ -2157,11 +2466,11 @@ - + - + - + @@ -2229,6 +2538,15 @@ + + + + + + + + + @@ -2283,6 +2601,15 @@ + + + + + + + + + @@ -2301,6 +2628,24 @@ + + + + + + + + + + + + + + + + + + @@ -2376,6 +2721,15 @@ + + + + + + + + + @@ -2394,6 +2748,15 @@ + + + + + + + + + @@ -2403,6 +2766,15 @@ + + + + + + + + + @@ -2430,15 +2802,6 @@ - - - - - - - - - @@ -2520,6 +2883,15 @@ + + + + + + + + + @@ -2577,6 +2949,15 @@ + + + + + + + + + @@ -2643,15 +3024,6 @@ - - - - - - - - - @@ -2679,11 +3051,11 @@ - + - + - + @@ -2697,11 +3069,20 @@ - + - + - + + + + + + + + + + @@ -2946,11 +3327,11 @@ - + - + - + @@ -3033,6 +3414,24 @@ + + + + + + + + + + + + + + + + + + @@ -3213,11 +3612,20 @@ - + - + - + + + + + + + + + + @@ -3282,15 +3690,6 @@ - - - - - - - - - @@ -3300,11 +3699,11 @@ - + - + - + @@ -3462,6 +3861,15 @@ + + + + + + + + + @@ -3621,6 +4029,15 @@ + + + + + + + + + @@ -3705,6 +4122,15 @@ + + + + + + + + + @@ -3828,6 +4254,15 @@ + + + + + + + + + @@ -3837,6 +4272,15 @@ + + + + + + + + + @@ -3855,11 +4299,11 @@ - + - + - + @@ -4035,15 +4479,6 @@ - - - - - - - - - @@ -4107,6 +4542,15 @@ + + + + + + + + + @@ -4323,11 +4767,11 @@ - + - + - + @@ -4458,6 +4902,15 @@ + + + + + + + + + @@ -4515,6 +4968,24 @@ + + + + + + + + + + + + + + + + + + @@ -4524,6 +4995,15 @@ + + + + + + + + + @@ -4542,6 +5022,15 @@ + + + + + + + + + @@ -4571,10 +5060,13 @@ - + + + + @@ -4689,6 +5181,15 @@ + + + + + + + + + @@ -4707,11 +5208,11 @@ - + - + - + @@ -4743,6 +5244,15 @@ + + + + + + + + + @@ -5037,6 +5547,15 @@ + + + + + + + + + @@ -5301,6 +5820,15 @@ + + + + + + + + + @@ -5430,6 +5958,15 @@ + + + + + + + + + @@ -5451,20 +5988,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5715,11 +6279,20 @@ - + - + - + + + + + + + + + + @@ -5895,6 +6468,15 @@ + + + + + + + + + @@ -5967,6 +6549,24 @@ + + + + + + + + + + + + + + + + + + @@ -5988,15 +6588,6 @@ - - - - - - - - - @@ -6006,6 +6597,15 @@ + + + + + + + + + @@ -6015,6 +6615,15 @@ + + + + + + + + + @@ -6024,6 +6633,15 @@ + + + + + + + + + @@ -6078,6 +6696,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6123,18 +6786,6 @@ - - - - - - - - - - - - @@ -6282,6 +6933,15 @@ + + + + + + + + + @@ -6336,6 +6996,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6345,6 +7050,15 @@ + + + + + + + + + @@ -6408,6 +7122,15 @@ + + + + + + + + + @@ -6435,11 +7158,20 @@ - + - + - + + + + + + + + + + @@ -6471,15 +7203,6 @@ - - - - - - - - - @@ -6489,6 +7212,15 @@ + + + + + + + + + @@ -6498,15 +7230,6 @@ - - - - - - - - - @@ -6561,6 +7284,15 @@ + + + + + + + + + @@ -6735,6 +7467,15 @@ + + + + + + + + + @@ -6819,11 +7560,11 @@ - + - + - + @@ -6882,11 +7623,11 @@ - + - + - + @@ -6900,29 +7641,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6972,6 +7722,15 @@ + + + + + + + + + @@ -7293,6 +8052,15 @@ + + + + + + + + + @@ -7398,6 +8166,24 @@ + + + + + + + + + + + + + + + + + + @@ -7416,20 +8202,20 @@ - + - + - + - + - + - + @@ -7452,6 +8238,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7665,6 +8487,15 @@ + + + + + + + + + @@ -7743,6 +8574,15 @@ + + + + + + + + + @@ -7785,15 +8625,6 @@ - - - - - - - - - @@ -7812,6 +8643,15 @@ + + + + + + + + + @@ -7959,6 +8799,15 @@ + + + + + + + + + @@ -7986,6 +8835,15 @@ + + + + + + + + + @@ -8049,6 +8907,15 @@ + + + + + + + + + @@ -8094,6 +8961,15 @@ + + + + + + + + + @@ -8103,6 +8979,15 @@ + + + + + + + + + @@ -8376,20 +9261,20 @@ - + - + - + - + - + - + @@ -8478,6 +9363,15 @@ + + + + + + + + + @@ -8577,6 +9471,15 @@ + + + + + + + + + @@ -8718,15 +9621,6 @@ - - - - - - - - - @@ -8736,6 +9630,15 @@ + + + + + + + + + @@ -8838,6 +9741,15 @@ + + + + + + + + + @@ -8847,6 +9759,15 @@ + + + + + + + + + @@ -8883,6 +9804,24 @@ + + + + + + + + + + + + + + + + + + @@ -8919,6 +9858,24 @@ + + + + + + + + + + + + + + + + + + @@ -9020,9 +9977,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9036,6 +10014,24 @@ + + + + + + + + + + + + + + + + + + @@ -9090,6 +10086,15 @@ + + + + + + + + + @@ -9171,6 +10176,24 @@ + + + + + + + + + + + + + + + + + + @@ -9180,38 +10203,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9261,6 +10284,15 @@ + + + + + + + + + @@ -9270,24 +10302,6 @@ - - - - - - - - - - - - - - - - - - @@ -9324,6 +10338,15 @@ + + + + + + + + + @@ -9333,6 +10356,24 @@ + + + + + + + + + + + + + + + + + + @@ -9351,6 +10392,15 @@ + + + + + + + + + @@ -9360,6 +10410,24 @@ + + + + + + + + + + + + + + + + + + @@ -9369,15 +10437,6 @@ - - - - - - - - - @@ -9405,6 +10464,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9435,20 +10530,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9462,20 +10566,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9525,15 +10647,6 @@ - - - - - - - - - @@ -9912,6 +11025,15 @@ + + + + + + + + + @@ -10146,6 +11268,15 @@ + + + + + + + + + @@ -10203,24 +11334,6 @@ - - - - - - - - - - - - - - - - - - @@ -10230,6 +11343,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10239,6 +11379,15 @@ + + + + + + + + + @@ -10275,15 +11424,6 @@ - - - - - - - - - @@ -10659,11 +11799,11 @@ - + - + - + @@ -10731,6 +11871,15 @@ + + + + + + + + + @@ -10749,11 +11898,11 @@ - + - + - + @@ -10905,11 +12054,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10959,27 +12126,21 @@ - + - + - + - - - - + - + - + - - - @@ -11289,6 +12450,15 @@ + + + + + + + + + @@ -11325,6 +12495,24 @@ + + + + + + + + + + + + + + + + + + @@ -11334,6 +12522,15 @@ + + + + + + + + + @@ -11418,6 +12615,15 @@ + + + + + + + + + @@ -11823,6 +13029,15 @@ + + + + + + + + + @@ -11877,6 +13092,24 @@ + + + + + + + + + + + + + + + + + + @@ -11994,6 +13227,15 @@ + + + + + + + + + @@ -12021,20 +13263,11 @@ - + - + - - - - - - - - - - + @@ -12243,15 +13476,6 @@ - - - - - - - - - @@ -12612,6 +13836,15 @@ + + + + + + + + + @@ -12633,6 +13866,15 @@ + + + + + + + + + @@ -12798,6 +14040,15 @@ + + + + + + + + + @@ -12852,20 +14103,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13110,6 +14370,24 @@ + + + + + + + + + + + + + + + + + + @@ -13173,6 +14451,24 @@ + + + + + + + + + + + + + + + + + + @@ -13272,6 +14568,15 @@ + + + + + + + + + @@ -13398,15 +14703,6 @@ - - - - - - - - - @@ -13434,6 +14730,15 @@ + + + type.]]> + + 型である必要があります。]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13461,11 +14766,20 @@ - + - + - + + + + + + + + + + @@ -13479,6 +14793,24 @@ + + + + + + + + + + + + + + + + + + @@ -13590,15 +14922,6 @@ - - - - - - - - - @@ -13680,6 +15003,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13698,6 +15057,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13752,6 +15147,15 @@ + + + + + + + + + @@ -13788,15 +15192,6 @@ - - - - - - - - - @@ -13806,6 +15201,24 @@ + + + + + + + + + + + + + + + + + + @@ -13914,6 +15327,15 @@ + + + + + + + + + @@ -13950,6 +15372,24 @@ + + + + + + + + + + + + + + + + + + @@ -14060,9 +15500,21 @@ - + - + + + + + + + + + + + + + @@ -14078,10 +15530,13 @@ - + - + + + + @@ -14133,15 +15588,6 @@ - - - - - - - - - @@ -14250,6 +15696,15 @@ + + + + + + + + + @@ -14277,11 +15732,11 @@ - + - + - + @@ -14358,6 +15813,15 @@ + + + + + + + + + @@ -14535,15 +15999,6 @@ - - - - - - - - - @@ -14580,6 +16035,15 @@ + + + + + + + + + @@ -14607,6 +16071,15 @@ + + + + + + + + + @@ -15015,6 +16488,24 @@ + + + + + + + + + + + + + + + + + + @@ -15087,6 +16578,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15141,6 +16686,15 @@ + + + + + + + + + @@ -15267,11 +16821,11 @@ - + - + - + @@ -15303,6 +16857,15 @@ + + + + + + + + + @@ -15330,6 +16893,15 @@ + + + + + + + + + @@ -15339,6 +16911,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15474,6 +17073,24 @@ + + + + + + + + + + + + + + + + + + @@ -15594,6 +17211,15 @@ + + + + + + + + + @@ -15621,6 +17247,15 @@ + + + + + + + + + @@ -15729,6 +17364,24 @@ + + + + + + + + + + + + + + + + + + @@ -15783,15 +17436,6 @@ - - - - - - - - - @@ -15837,6 +17481,15 @@ + + + + + + + + + @@ -15846,6 +17499,24 @@ + + + + + + + + + + + + + + + + + + @@ -15855,6 +17526,15 @@ + + + + + + + + + @@ -15927,11 +17607,11 @@ - + - + - + @@ -16137,6 +17817,15 @@ + + + + + + + + + @@ -16182,6 +17871,24 @@ + + + + + + + + + + + + + + + + + + @@ -16248,6 +17955,15 @@ + + + + + + + + + @@ -16314,20 +18030,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16443,6 +18195,15 @@ + + + + + + + + + @@ -16479,6 +18240,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16491,6 +18279,15 @@ + + + + + + + + + @@ -16518,27 +18315,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16557,11 +18333,11 @@ - + - + - + @@ -16731,6 +18507,15 @@ + + + + + + + + + @@ -16785,11 +18570,11 @@ - + - + - + @@ -16920,6 +18705,15 @@ + + + + + + + + + @@ -16983,6 +18777,24 @@ + + + + + + + + + + + + + + + + + + @@ -17010,24 +18822,6 @@ - - - - - - - - - - - - - - - - - - @@ -17046,6 +18840,15 @@ + + + + + + + + + @@ -17184,15 +18987,6 @@ - - - - - - - - - @@ -17229,6 +19023,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/kor/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/kor/diagnosticMessages/diagnosticMessages.generated.json.lcl index bf30af5f1d1..ad11df86a5f 100644 --- a/src/loc/lcl/kor/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/kor/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -48,6 +48,15 @@ + + + + + + + + + @@ -57,6 +66,15 @@ + + + + + + + + + @@ -102,6 +120,24 @@ + + + + + + + + + + + + + + + + + + @@ -120,6 +156,24 @@ + + + + + + + + + + + + + + + + + + @@ -279,6 +333,15 @@ + + + + + + + + + @@ -342,15 +405,12 @@ - + - + - + - - - @@ -393,11 +453,11 @@ - + - + - + @@ -546,6 +606,15 @@ + + + + + + + + + @@ -564,15 +633,6 @@ - - - - - - - - - @@ -882,6 +942,15 @@ + + + + + + + + + @@ -1017,6 +1086,15 @@ + + + + + + + + + @@ -1071,6 +1149,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1134,6 +1284,15 @@ + + + + + + + + + @@ -1161,6 +1320,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1326,6 +1512,15 @@ + + + + + + + + + @@ -1362,6 +1557,24 @@ + + + + + + + + + + + + + + + + + + @@ -1401,6 +1614,24 @@ + + + + + + + + + + + + + + + + + + @@ -1437,6 +1668,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1662,6 +1920,15 @@ + + + + + + + + + @@ -1797,15 +2064,12 @@ - + - + - + - - - @@ -1938,6 +2202,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1995,6 +2295,15 @@ + + + + + + + + + @@ -2031,11 +2340,11 @@ - + - + - + @@ -2157,11 +2466,11 @@ - + - + - + @@ -2229,6 +2538,15 @@ + + + + + + + + + @@ -2283,6 +2601,15 @@ + + + + + + + + + @@ -2301,6 +2628,24 @@ + + + + + + + + + + + + + + + + + + @@ -2376,6 +2721,15 @@ + + + + + + + + + @@ -2394,6 +2748,15 @@ + + + + + + + + + @@ -2403,6 +2766,15 @@ + + + + + + + + + @@ -2430,15 +2802,6 @@ - - - - - - - - - @@ -2520,6 +2883,15 @@ + + + + + + + + + @@ -2577,6 +2949,15 @@ + + + + + + + + + @@ -2643,15 +3024,6 @@ - - - - - - - - - @@ -2679,11 +3051,11 @@ - + - + - + @@ -2697,11 +3069,20 @@ - + - + - + + + + + + + + + + @@ -2946,11 +3327,11 @@ - + - + - + @@ -3033,6 +3414,24 @@ + + + + + + + + + + + + + + + + + + @@ -3213,11 +3612,20 @@ - + - + - + + + + + + + + + + @@ -3282,15 +3690,6 @@ - - - - - - - - - @@ -3300,11 +3699,11 @@ - + - + - + @@ -3462,6 +3861,15 @@ + + + + + + + + + @@ -3621,6 +4029,15 @@ + + + + + + + + + @@ -3705,6 +4122,15 @@ + + + + + + + + + @@ -3828,6 +4254,15 @@ + + + + + + + + + @@ -3837,6 +4272,15 @@ + + + + + + + + + @@ -3855,11 +4299,11 @@ - + - + - + @@ -4035,15 +4479,6 @@ - - - - - - - - - @@ -4107,6 +4542,15 @@ + + + + + + + + + @@ -4323,11 +4767,11 @@ - + - + - + @@ -4458,6 +4902,15 @@ + + + + + + + + + @@ -4515,6 +4968,24 @@ + + + + + + + + + + + + + + + + + + @@ -4524,6 +4995,15 @@ + + + + + + + + + @@ -4542,6 +5022,15 @@ + + + + + + + + + @@ -4571,10 +5060,13 @@ - + + + + @@ -4689,6 +5181,15 @@ + + + + + + + + + @@ -4707,11 +5208,11 @@ - + - + - + @@ -4743,6 +5244,15 @@ + + + + + + + + + @@ -5037,6 +5547,15 @@ + + + + + + + + + @@ -5301,6 +5820,15 @@ + + + + + + + + + @@ -5430,6 +5958,15 @@ + + + + + + + + + @@ -5451,20 +5988,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5715,11 +6279,20 @@ - + - + - + + + + + + + + + + @@ -5895,6 +6468,15 @@ + + + + + + + + + @@ -5967,6 +6549,24 @@ + + + + + + + + + + + + + + + + + + @@ -5988,15 +6588,6 @@ - - - - - - - - - @@ -6006,6 +6597,15 @@ + + + + + + + + + @@ -6015,6 +6615,15 @@ + + + + + + + + + @@ -6024,6 +6633,15 @@ + + + + + + + + + @@ -6078,6 +6696,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6123,18 +6786,6 @@ - - - - - - - - - - - - @@ -6282,6 +6933,15 @@ + + + + + + + + + @@ -6336,6 +6996,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6345,6 +7050,15 @@ + + + + + + + + + @@ -6408,6 +7122,15 @@ + + + + + + + + + @@ -6435,11 +7158,20 @@ - + - + - + + + + + + + + + + @@ -6471,15 +7203,6 @@ - - - - - - - - - @@ -6489,6 +7212,15 @@ + + + + + + + + + @@ -6498,15 +7230,6 @@ - - - - - - - - - @@ -6561,6 +7284,15 @@ + + + + + + + + + @@ -6735,6 +7467,15 @@ + + + + + + + + + @@ -6819,11 +7560,11 @@ - + - + - + @@ -6882,11 +7623,11 @@ - + - + - + @@ -6900,29 +7641,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6972,6 +7722,15 @@ + + + + + + + + + @@ -7293,6 +8052,15 @@ + + + + + + + + + @@ -7398,6 +8166,24 @@ + + + + + + + + + + + + + + + + + + @@ -7416,20 +8202,20 @@ - + - + - + - + - + - + @@ -7452,6 +8238,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7665,6 +8487,15 @@ + + + + + + + + + @@ -7743,6 +8574,15 @@ + + + + + + + + + @@ -7785,15 +8625,6 @@ - - - - - - - - - @@ -7812,6 +8643,15 @@ + + + + + + + + + @@ -7959,6 +8799,15 @@ + + + + + + + + + @@ -7986,6 +8835,15 @@ + + + + + + + + + @@ -8049,6 +8907,15 @@ + + + + + + + + + @@ -8094,6 +8961,15 @@ + + + + + + + + + @@ -8103,6 +8979,15 @@ + + + + + + + + + @@ -8376,18 +9261,18 @@ - + - + - + - + @@ -8478,6 +9363,15 @@ + + + + + + + + + @@ -8577,6 +9471,15 @@ + + + + + + + + + @@ -8718,15 +9621,6 @@ - - - - - - - - - @@ -8736,6 +9630,15 @@ + + + + + + + + + @@ -8838,6 +9741,15 @@ + + + + + + + + + @@ -8847,6 +9759,15 @@ + + + + + + + + + @@ -8883,6 +9804,24 @@ + + + + + + + + + + + + + + + + + + @@ -8919,6 +9858,24 @@ + + + + + + + + + + + + + + + + + + @@ -9020,9 +9977,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9036,6 +10014,24 @@ + + + + + + + + + + + + + + + + + + @@ -9090,6 +10086,15 @@ + + + + + + + + + @@ -9171,6 +10176,24 @@ + + + + + + + + + + + + + + + + + + @@ -9180,38 +10203,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9261,6 +10284,15 @@ + + + + + + + + + @@ -9270,24 +10302,6 @@ - - - - - - - - - - - - - - - - - - @@ -9324,6 +10338,15 @@ + + + + + + + + + @@ -9333,6 +10356,24 @@ + + + + + + + + + + + + + + + + + + @@ -9351,6 +10392,15 @@ + + + + + + + + + @@ -9360,6 +10410,24 @@ + + + + + + + + + + + + + + + + + + @@ -9369,15 +10437,6 @@ - - - - - - - - - @@ -9405,6 +10464,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9435,20 +10530,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9462,20 +10566,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9525,15 +10647,6 @@ - - - - - - - - - @@ -9912,6 +11025,15 @@ + + + + + + + + + @@ -10146,6 +11268,15 @@ + + + + + + + + + @@ -10203,24 +11334,6 @@ - - - - - - - - - - - - - - - - - - @@ -10230,6 +11343,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10239,6 +11379,15 @@ + + + + + + + + + @@ -10275,15 +11424,6 @@ - - - - - - - - - @@ -10659,11 +11799,11 @@ - + - + - + @@ -10731,6 +11871,15 @@ + + + + + + + + + @@ -10749,11 +11898,11 @@ - + - + - + @@ -10905,11 +12054,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10959,27 +12126,21 @@ - + - + - + - - - - + - + - + - - - @@ -11289,6 +12450,15 @@ + + + + + + + + + @@ -11325,6 +12495,24 @@ + + + + + + + + + + + + + + + + + + @@ -11334,6 +12522,15 @@ + + + + + + + + + @@ -11418,6 +12615,15 @@ + + + + + + + + + @@ -11823,6 +13029,15 @@ + + + + + + + + + @@ -11877,6 +13092,24 @@ + + + + + + + + + + + + + + + + + + @@ -11994,6 +13227,15 @@ + + + + + + + + + @@ -12021,20 +13263,11 @@ - + - + - - - - - - - - - - + @@ -12243,15 +13476,6 @@ - - - - - - - - - @@ -12612,6 +13836,15 @@ + + + + + + + + + @@ -12633,6 +13866,15 @@ + + + + + + + + + @@ -12798,6 +14040,15 @@ + + + + + + + + + @@ -12852,20 +14103,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13110,6 +14370,24 @@ + + + + + + + + + + + + + + + + + + @@ -13173,6 +14451,24 @@ + + + + + + + + + + + + + + + + + + @@ -13272,6 +14568,15 @@ + + + + + + + + + @@ -13398,15 +14703,6 @@ - - - - - - - - - @@ -13434,6 +14730,15 @@ + + + type.]]> + + 형식이어야 합니다.]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13461,11 +14766,20 @@ - + - + - + + + + + + + + + + @@ -13479,6 +14793,24 @@ + + + + + + + + + + + + + + + + + + @@ -13590,15 +14922,6 @@ - - - - - - - - - @@ -13680,6 +15003,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13698,6 +15057,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13752,6 +15147,15 @@ + + + + + + + + + @@ -13788,15 +15192,6 @@ - - - - - - - - - @@ -13806,6 +15201,24 @@ + + + + + + + + + + + + + + + + + + @@ -13914,6 +15327,15 @@ + + + + + + + + + @@ -13950,6 +15372,24 @@ + + + + + + + + + + + + + + + + + + @@ -14060,9 +15500,21 @@ - + - + + + + + + + + + + + + + @@ -14078,10 +15530,13 @@ - + - + + + + @@ -14133,15 +15588,6 @@ - - - - - - - - - @@ -14250,6 +15696,15 @@ + + + + + + + + + @@ -14277,11 +15732,11 @@ - + - + - + @@ -14358,6 +15813,15 @@ + + + + + + + + + @@ -14535,15 +15999,6 @@ - - - - - - - - - @@ -14580,6 +16035,15 @@ + + + + + + + + + @@ -14607,6 +16071,15 @@ + + + + + + + + + @@ -15015,6 +16488,24 @@ + + + + + + + + + + + + + + + + + + @@ -15087,6 +16578,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15141,6 +16686,15 @@ + + + + + + + + + @@ -15267,11 +16821,11 @@ - + - + - + @@ -15303,6 +16857,15 @@ + + + + + + + + + @@ -15330,6 +16893,15 @@ + + + + + + + + + @@ -15339,6 +16911,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15474,6 +17073,24 @@ + + + + + + + + + + + + + + + + + + @@ -15594,6 +17211,15 @@ + + + + + + + + + @@ -15621,6 +17247,15 @@ + + + + + + + + + @@ -15729,6 +17364,24 @@ + + + + + + + + + + + + + + + + + + @@ -15783,15 +17436,6 @@ - - - - - - - - - @@ -15837,6 +17481,15 @@ + + + + + + + + + @@ -15846,6 +17499,24 @@ + + + + + + + + + + + + + + + + + + @@ -15855,6 +17526,15 @@ + + + + + + + + + @@ -15927,11 +17607,11 @@ - + - + - + @@ -16137,6 +17817,15 @@ + + + + + + + + + @@ -16182,6 +17871,24 @@ + + + + + + + + + + + + + + + + + + @@ -16248,6 +17955,15 @@ + + + + + + + + + @@ -16314,20 +18030,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16443,6 +18195,15 @@ + + + + + + + + + @@ -16479,6 +18240,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16491,6 +18279,15 @@ + + + + + + + + + @@ -16518,27 +18315,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16557,11 +18333,11 @@ - + - + - + @@ -16731,6 +18507,15 @@ + + + + + + + + + @@ -16785,11 +18570,11 @@ - + - + - + @@ -16920,6 +18705,15 @@ + + + + + + + + + @@ -16983,6 +18777,24 @@ + + + + + + + + + + + + + + + + + + @@ -17010,24 +18822,6 @@ - - - - - - - - - - - - - - - - - - @@ -17046,6 +18840,15 @@ + + + + + + + + + @@ -17184,15 +18987,6 @@ - - - - - - - - - @@ -17229,6 +19023,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl index 8ed5005ebc7..77870ba63d0 100644 --- a/src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -41,6 +41,15 @@ + + + + + + + + + @@ -50,6 +59,15 @@ + + + + + + + + + @@ -95,6 +113,24 @@ + + + + + + + + + + + + + + + + + + @@ -113,6 +149,24 @@ + + + + + + + + + + + + + + + + + + @@ -272,6 +326,15 @@ + + + + + + + + + @@ -335,15 +398,12 @@ - + - + - + - - - @@ -386,11 +446,11 @@ - + - + - + @@ -539,6 +599,15 @@ + + + + + + + + + @@ -557,15 +626,6 @@ - - - - - - - - - @@ -872,6 +932,15 @@ + + + + + + + + + @@ -1007,6 +1076,15 @@ + + + + + + + + + @@ -1061,6 +1139,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1124,6 +1274,15 @@ + + + + + + + + + @@ -1151,6 +1310,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1316,6 +1502,15 @@ + + + + + + + + + @@ -1352,6 +1547,24 @@ + + + + + + + + + + + + + + + + + + @@ -1391,6 +1604,24 @@ + + + + + + + + + + + + + + + + + + @@ -1427,6 +1658,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1652,6 +1910,15 @@ + + + + + + + + + @@ -1787,15 +2054,12 @@ - + - + - + - - - @@ -1928,6 +2192,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1985,6 +2285,15 @@ + + + + + + + + + @@ -2021,11 +2330,11 @@ - + - + - + @@ -2147,11 +2456,11 @@ - + - + - + @@ -2219,6 +2528,15 @@ + + + + + + + + + @@ -2273,6 +2591,15 @@ + + + + + + + + + @@ -2291,6 +2618,24 @@ + + + + + + + + + + + + + + + + + + @@ -2366,6 +2711,15 @@ + + + + + + + + + @@ -2384,6 +2738,15 @@ + + + + + + + + + @@ -2393,6 +2756,15 @@ + + + + + + + + + @@ -2420,15 +2792,6 @@ - - - - - - - - - @@ -2510,6 +2873,15 @@ + + + + + + + + + @@ -2567,6 +2939,15 @@ + + + + + + + + + @@ -2633,15 +3014,6 @@ - - - - - - - - - @@ -2669,11 +3041,11 @@ - + - + - + @@ -2687,11 +3059,20 @@ - + - + - + + + + + + + + + + @@ -2936,11 +3317,11 @@ - + - + - + @@ -3023,6 +3404,24 @@ + + + + + + + + + + + + + + + + + + @@ -3203,11 +3602,20 @@ - + - + - + + + + + + + + + + @@ -3272,15 +3680,6 @@ - - - - - - - - - @@ -3290,11 +3689,11 @@ - + - + - + @@ -3452,6 +3851,15 @@ + + + + + + + + + @@ -3611,6 +4019,15 @@ + + + + + + + + + @@ -3695,6 +4112,15 @@ + + + + + + + + + @@ -3818,6 +4244,15 @@ + + + + + + + + + @@ -3827,6 +4262,15 @@ + + + + + + + + + @@ -3845,11 +4289,11 @@ - + - + - + @@ -4025,15 +4469,6 @@ - - - - - - - - - @@ -4097,6 +4532,15 @@ + + + + + + + + + @@ -4313,11 +4757,11 @@ - + - + - + @@ -4448,6 +4892,15 @@ + + + + + + + + + @@ -4505,6 +4958,24 @@ + + + + + + + + + + + + + + + + + + @@ -4514,6 +4985,15 @@ + + + + + + + + + @@ -4532,6 +5012,15 @@ + + + + + + + + + @@ -4561,10 +5050,13 @@ - + + + + @@ -4679,6 +5171,15 @@ + + + + + + + + + @@ -4697,11 +5198,11 @@ - + - + - + @@ -4733,6 +5234,15 @@ + + + + + + + + + @@ -5027,6 +5537,15 @@ + + + + + + + + + @@ -5291,6 +5810,15 @@ + + + + + + + + + @@ -5420,6 +5948,15 @@ + + + + + + + + + @@ -5441,20 +5978,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5705,11 +6269,20 @@ - + - + - + + + + + + + + + + @@ -5885,6 +6458,15 @@ + + + + + + + + + @@ -5957,6 +6539,24 @@ + + + + + + + + + + + + + + + + + + @@ -5978,15 +6578,6 @@ - - - - - - - - - @@ -5996,6 +6587,15 @@ + + + + + + + + + @@ -6005,6 +6605,15 @@ + + + + + + + + + @@ -6014,6 +6623,15 @@ + + + + + + + + + @@ -6068,6 +6686,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6113,18 +6776,6 @@ - - - - - - - - - - - - @@ -6272,6 +6923,15 @@ + + + + + + + + + @@ -6326,6 +6986,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6335,6 +7040,15 @@ + + + + + + + + + @@ -6398,6 +7112,15 @@ + + + + + + + + + @@ -6425,11 +7148,20 @@ - + - + - + + + + + + + + + + @@ -6461,15 +7193,6 @@ - - - - - - - - - @@ -6479,6 +7202,15 @@ + + + + + + + + + @@ -6488,15 +7220,6 @@ - - - - - - - - - @@ -6551,6 +7274,15 @@ + + + + + + + + + @@ -6725,6 +7457,15 @@ + + + + + + + + + @@ -6809,11 +7550,11 @@ - + - + - + @@ -6872,11 +7613,11 @@ - + - + - + @@ -6890,29 +7631,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6962,6 +7712,15 @@ + + + + + + + + + @@ -7283,6 +8042,15 @@ + + + + + + + + + @@ -7388,6 +8156,24 @@ + + + + + + + + + + + + + + + + + + @@ -7406,20 +8192,20 @@ - + - + - + - + - + - + @@ -7442,6 +8228,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7655,6 +8477,15 @@ + + + + + + + + + @@ -7733,6 +8564,15 @@ + + + + + + + + + @@ -7775,15 +8615,6 @@ - - - - - - - - - @@ -7802,6 +8633,15 @@ + + + + + + + + + @@ -7949,6 +8789,15 @@ + + + + + + + + + @@ -7976,6 +8825,15 @@ + + + + + + + + + @@ -8039,6 +8897,15 @@ + + + + + + + + + @@ -8084,6 +8951,15 @@ + + + + + + + + + @@ -8093,6 +8969,15 @@ + + + + + + + + + @@ -8366,18 +9251,18 @@ - + - + - + - + @@ -8468,6 +9353,15 @@ + + + + + + + + + @@ -8567,6 +9461,15 @@ + + + + + + + + + @@ -8708,15 +9611,6 @@ - - - - - - - - - @@ -8726,6 +9620,15 @@ + + + + + + + + + @@ -8828,6 +9731,15 @@ + + + + + + + + + @@ -8837,6 +9749,15 @@ + + + + + + + + + @@ -8873,6 +9794,24 @@ + + + + + + + + + + + + + + + + + + @@ -8909,6 +9848,24 @@ + + + + + + + + + + + + + + + + + + @@ -9010,10 +9967,31 @@ - + + + + + + + + + + + + + + + + + + + + + + @@ -9026,6 +10004,24 @@ + + + + + + + + + + + + + + + + + + @@ -9080,6 +10076,15 @@ + + + + + + + + + @@ -9161,6 +10166,24 @@ + + + + + + + + + + + + + + + + + + @@ -9170,38 +10193,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9251,6 +10274,15 @@ + + + + + + + + + @@ -9260,24 +10292,6 @@ - - - - - - - - - - - - - - - - - - @@ -9314,6 +10328,15 @@ + + + + + + + + + @@ -9323,6 +10346,24 @@ + + + + + + + + + + + + + + + + + + @@ -9341,6 +10382,15 @@ + + + + + + + + + @@ -9350,6 +10400,24 @@ + + + + + + + + + + + + + + + + + + @@ -9359,15 +10427,6 @@ - - - - - - - - - @@ -9395,6 +10454,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9425,20 +10520,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9452,20 +10556,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9515,15 +10637,6 @@ - - - - - - - - - @@ -9902,6 +11015,15 @@ + + + + + + + + + @@ -10133,6 +11255,15 @@ + + + + + + + + + @@ -10190,24 +11321,6 @@ - - - - - - - - - - - - - - - - - - @@ -10217,6 +11330,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10226,6 +11366,15 @@ + + + + + + + + + @@ -10262,15 +11411,6 @@ - - - - - - - - - @@ -10646,11 +11786,11 @@ - + - + - + @@ -10718,6 +11858,15 @@ + + + + + + + + + @@ -10736,11 +11885,11 @@ - + - + - + @@ -10892,11 +12041,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10946,27 +12113,21 @@ - + - + - + - - - - + - + - + - - - @@ -11276,6 +12437,15 @@ + + + + + + + + + @@ -11312,6 +12482,24 @@ + + + + + + + + + + + + + + + + + + @@ -11321,6 +12509,15 @@ + + + + + + + + + @@ -11405,6 +12602,15 @@ + + + + + + + + + @@ -11810,6 +13016,15 @@ + + + + + + + + + @@ -11864,6 +13079,24 @@ + + + + + + + + + + + + + + + + + + @@ -11981,6 +13214,15 @@ + + + + + + + + + @@ -12008,20 +13250,11 @@ - + - + - - - - - - - - - - + @@ -12230,15 +13463,6 @@ - - - - - - - - - @@ -12599,6 +13823,15 @@ + + + + + + + + + @@ -12620,6 +13853,15 @@ + + + + + + + + + @@ -12785,6 +14027,15 @@ + + + + + + + + + @@ -12839,20 +14090,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13097,6 +14357,24 @@ + + + + + + + + + + + + + + + + + + @@ -13160,6 +14438,24 @@ + + + + + + + + + + + + + + + + + + @@ -13259,6 +14555,15 @@ + + + + + + + + + @@ -13385,15 +14690,6 @@ - - - - - - - - - @@ -13421,6 +14717,15 @@ + + + type.]]> + + .]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13448,11 +14753,20 @@ - + - + - + + + + + + + + + + @@ -13466,6 +14780,24 @@ + + + + + + + + + + + + + + + + + + @@ -13577,15 +14909,6 @@ - - - - - - - - - @@ -13667,6 +14990,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13685,6 +15044,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13739,6 +15134,15 @@ + + + + + + + + + @@ -13775,15 +15179,6 @@ - - - - - - - - - @@ -13793,6 +15188,24 @@ + + + + + + + + + + + + + + + + + + @@ -13901,6 +15314,15 @@ + + + + + + + + + @@ -13937,6 +15359,24 @@ + + + + + + + + + + + + + + + + + + @@ -14047,9 +15487,21 @@ - + - + + + + + + + + + + + + + @@ -14065,10 +15517,13 @@ - + - + + + + @@ -14120,15 +15575,6 @@ - - - - - - - - - @@ -14237,6 +15683,15 @@ + + + + + + + + + @@ -14264,11 +15719,11 @@ - + - + - + @@ -14345,6 +15800,15 @@ + + + + + + + + + @@ -14522,15 +15986,6 @@ - - - - - - - - - @@ -14567,6 +16022,15 @@ + + + + + + + + + @@ -14594,6 +16058,15 @@ + + + + + + + + + @@ -15002,6 +16475,24 @@ + + + + + + + + + + + + + + + + + + @@ -15074,6 +16565,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15128,6 +16673,15 @@ + + + + + + + + + @@ -15254,11 +16808,11 @@ - + - + - + @@ -15290,6 +16844,15 @@ + + + + + + + + + @@ -15317,6 +16880,15 @@ + + + + + + + + + @@ -15326,6 +16898,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15461,6 +17060,24 @@ + + + + + + + + + + + + + + + + + + @@ -15581,6 +17198,15 @@ + + + + + + + + + @@ -15608,6 +17234,15 @@ + + + + + + + + + @@ -15716,6 +17351,24 @@ + + + + + + + + + + + + + + + + + + @@ -15770,15 +17423,6 @@ - - - - - - - - - @@ -15824,6 +17468,15 @@ + + + + + + + + + @@ -15833,6 +17486,24 @@ + + + + + + + + + + + + + + + + + + @@ -15842,6 +17513,15 @@ + + + + + + + + + @@ -15914,11 +17594,11 @@ - + - + - + @@ -16124,6 +17804,15 @@ + + + + + + + + + @@ -16169,6 +17858,24 @@ + + + + + + + + + + + + + + + + + + @@ -16235,6 +17942,15 @@ + + + + + + + + + @@ -16301,20 +18017,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16430,6 +18182,15 @@ + + + + + + + + + @@ -16466,6 +18227,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16478,6 +18266,15 @@ + + + + + + + + + @@ -16505,27 +18302,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16544,11 +18320,11 @@ - + - + - + @@ -16718,6 +18494,15 @@ + + + + + + + + + @@ -16772,11 +18557,11 @@ - + - + - + @@ -16907,6 +18692,15 @@ + + + + + + + + + @@ -16970,6 +18764,24 @@ + + + + + + + + + + + + + + + + + + @@ -16997,24 +18809,6 @@ - - - - - - - - - - - - - - - - - - @@ -17033,6 +18827,15 @@ + + + + + + + + + @@ -17171,15 +18974,6 @@ - - - - - - - - - @@ -17216,6 +19010,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl index 58ec60b3c83..241162d83a9 100644 --- a/src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -41,6 +41,15 @@ + + + + + + + + + @@ -50,6 +59,15 @@ + + + + + + + + + @@ -95,6 +113,24 @@ + + + + + + + + + + + + + + + + + + @@ -113,6 +149,24 @@ + + + + + + + + + + + + + + + + + + @@ -272,6 +326,15 @@ + + + + + + + + + @@ -335,15 +398,12 @@ - + - + - + - - - @@ -386,11 +446,11 @@ - + - + - + @@ -539,6 +599,15 @@ + + + + + + + + + @@ -557,15 +626,6 @@ - - - - - - - - - @@ -872,6 +932,15 @@ + + + + + + + + + @@ -1007,6 +1076,15 @@ + + + + + + + + + @@ -1061,6 +1139,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1124,6 +1274,15 @@ + + + + + + + + + @@ -1151,6 +1310,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1316,6 +1502,15 @@ + + + + + + + + + @@ -1352,6 +1547,24 @@ + + + + + + + + + + + + + + + + + + @@ -1394,6 +1607,24 @@ + + + + + + + + + + + + + + + + + + @@ -1430,6 +1661,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1655,6 +1913,15 @@ + + + + + + + + + @@ -1790,15 +2057,12 @@ - + - + - + - - - @@ -1931,6 +2195,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1988,6 +2288,15 @@ + + + + + + + + + @@ -2024,11 +2333,11 @@ - + - + - + @@ -2150,11 +2459,11 @@ - + - + - + @@ -2222,6 +2531,15 @@ + + + + + + + + + @@ -2276,6 +2594,15 @@ + + + + + + + + + @@ -2294,6 +2621,24 @@ + + + + + + + + + + + + + + + + + + @@ -2369,6 +2714,15 @@ + + + + + + + + + @@ -2387,6 +2741,15 @@ + + + + + + + + + @@ -2396,6 +2759,15 @@ + + + + + + + + + @@ -2423,15 +2795,6 @@ - - - - - - - - - @@ -2513,6 +2876,15 @@ + + + + + + + + + @@ -2570,6 +2942,15 @@ + + + + + + + + + @@ -2636,15 +3017,6 @@ - - - - - - - - - @@ -2672,11 +3044,11 @@ - + - + - + @@ -2690,11 +3062,20 @@ - + - + - + + + + + + + + + + @@ -2939,11 +3320,11 @@ - + - + - + @@ -3026,6 +3407,24 @@ + + + + + + + + + + + + + + + + + + @@ -3206,11 +3605,20 @@ - + - + - + + + + + + + + + + @@ -3275,15 +3683,6 @@ - - - - - - - - - @@ -3293,11 +3692,11 @@ - + - + - + @@ -3455,6 +3854,15 @@ + + + + + + + + + @@ -3614,6 +4022,15 @@ + + + + + + + + + @@ -3698,6 +4115,15 @@ + + + + + + + + + @@ -3821,6 +4247,15 @@ + + + + + + + + + @@ -3830,6 +4265,15 @@ + + + + + + + + + @@ -3848,11 +4292,11 @@ - + - + - + @@ -4028,15 +4472,6 @@ - - - - - - - - - @@ -4100,6 +4535,15 @@ + + + + + + + + + @@ -4316,11 +4760,11 @@ - + - + - + @@ -4451,6 +4895,15 @@ + + + + + + + + + @@ -4508,6 +4961,24 @@ + + + + + + + + + + + + + + + + + + @@ -4517,6 +4988,15 @@ + + + + + + + + + @@ -4535,6 +5015,15 @@ + + + + + + + + + @@ -4564,10 +5053,13 @@ - + - + + + + @@ -4682,6 +5174,15 @@ + + + + + + + + + @@ -4700,11 +5201,11 @@ - + - + - + @@ -4736,6 +5237,15 @@ + + + + + + + + + @@ -5030,6 +5540,15 @@ + + + + + + + + + @@ -5294,6 +5813,15 @@ + + + + + + + + + @@ -5423,6 +5951,15 @@ + + + + + + + + + @@ -5444,20 +5981,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5708,11 +6272,20 @@ - + - + - + + + + + + + + + + @@ -5888,6 +6461,15 @@ + + + + + + + + + @@ -5960,6 +6542,24 @@ + + + + + + + + + + + + + + + + + + @@ -5981,15 +6581,6 @@ - - - - - - - - - @@ -5999,6 +6590,15 @@ + + + + + + + + + @@ -6008,6 +6608,15 @@ + + + + + + + + + @@ -6017,6 +6626,15 @@ + + + + + + + + + @@ -6071,6 +6689,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6116,18 +6779,6 @@ - - - - - - - - - - - - @@ -6275,6 +6926,15 @@ + + + + + + + + + @@ -6329,6 +6989,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6338,6 +7043,15 @@ + + + + + + + + + @@ -6401,6 +7115,15 @@ + + + + + + + + + @@ -6428,11 +7151,20 @@ - + - + - + + + + + + + + + + @@ -6464,15 +7196,6 @@ - - - - - - - - - @@ -6482,6 +7205,15 @@ + + + + + + + + + @@ -6491,15 +7223,6 @@ - - - - - - - - - @@ -6554,6 +7277,15 @@ + + + + + + + + + @@ -6728,6 +7460,15 @@ + + + + + + + + + @@ -6812,11 +7553,11 @@ - + - + - + @@ -6875,11 +7616,11 @@ - + - + - + @@ -6893,29 +7634,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6965,6 +7715,15 @@ + + + + + + + + + @@ -7286,6 +8045,15 @@ + + + + + + + + + @@ -7391,6 +8159,24 @@ + + + + + + + + + + + + + + + + + + @@ -7409,20 +8195,20 @@ - + - + - + - + - + - + @@ -7445,6 +8231,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7658,6 +8480,15 @@ + + + + + + + + + @@ -7736,6 +8567,15 @@ + + + + + + + + + @@ -7778,15 +8618,6 @@ - - - - - - - - - @@ -7805,6 +8636,15 @@ + + + + + + + + + @@ -7952,6 +8792,15 @@ + + + + + + + + + @@ -7979,6 +8828,15 @@ + + + + + + + + + @@ -8042,6 +8900,15 @@ + + + + + + + + + @@ -8087,6 +8954,15 @@ + + + + + + + + + @@ -8096,6 +8972,15 @@ + + + + + + + + + @@ -8369,20 +9254,20 @@ - + - + - + - + - + @@ -8471,6 +9356,15 @@ + + + + + + + + + @@ -8570,6 +9464,15 @@ + + + + + + + + + @@ -8711,15 +9614,6 @@ - - - - - - - - - @@ -8729,6 +9623,15 @@ + + + + + + + + + @@ -8831,6 +9734,15 @@ + + + + + + + + + @@ -8840,6 +9752,15 @@ + + + + + + + + + @@ -8876,6 +9797,24 @@ + + + + + + + + + + + + + + + + + + @@ -8912,6 +9851,24 @@ + + + + + + + + + + + + + + + + + + @@ -9013,9 +9970,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9029,6 +10007,24 @@ + + + + + + + + + + + + + + + + + + @@ -9083,6 +10079,15 @@ + + + + + + + + + @@ -9164,6 +10169,24 @@ + + + + + + + + + + + + + + + + + + @@ -9173,38 +10196,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9254,6 +10277,15 @@ + + + + + + + + + @@ -9263,24 +10295,6 @@ - - - - - - - - - - - - - - - - - - @@ -9317,6 +10331,15 @@ + + + + + + + + + @@ -9326,6 +10349,24 @@ + + + + + + + + + + + + + + + + + + @@ -9344,6 +10385,15 @@ + + + + + + + + + @@ -9353,6 +10403,24 @@ + + + + + + + + + + + + + + + + + + @@ -9362,15 +10430,6 @@ - - - - - - - - - @@ -9398,6 +10457,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9428,20 +10523,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9455,20 +10559,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9518,15 +10640,6 @@ - - - - - - - - - @@ -9905,6 +11018,15 @@ + + + + + + + + + @@ -10136,6 +11258,15 @@ + + + + + + + + + @@ -10193,24 +11324,6 @@ - - - - - - - - - - - - - - - - - - @@ -10220,6 +11333,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10229,6 +11369,15 @@ + + + + + + + + + @@ -10265,15 +11414,6 @@ - - - - - - - - - @@ -10649,11 +11789,11 @@ - + - + - + @@ -10721,6 +11861,15 @@ + + + + + + + + + @@ -10739,11 +11888,11 @@ - + - + - + @@ -10895,11 +12044,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10949,27 +12116,21 @@ - + - + - + - - - - + - + - + - - - @@ -11279,6 +12440,15 @@ + + + + + + + + + @@ -11315,6 +12485,24 @@ + + + + + + + + + + + + + + + + + + @@ -11324,6 +12512,15 @@ + + + + + + + + + @@ -11408,6 +12605,15 @@ + + + + + + + + + @@ -11813,6 +13019,15 @@ + + + + + + + + + @@ -11867,6 +13082,24 @@ + + + + + + + + + + + + + + + + + + @@ -11984,6 +13217,15 @@ + + + + + + + + + @@ -12011,20 +13253,11 @@ - + - + - - - - - - - - - - + @@ -12233,15 +13466,6 @@ - - - - - - - - - @@ -12602,6 +13826,15 @@ + + + + + + + + + @@ -12623,6 +13856,15 @@ + + + + + + + + + @@ -12788,6 +14030,15 @@ + + + + + + + + + @@ -12842,20 +14093,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13100,6 +14360,24 @@ + + + + + + + + + + + + + + + + + + @@ -13163,6 +14441,24 @@ + + + + + + + + + + + + + + + + + + @@ -13262,6 +14558,15 @@ + + + + + + + + + @@ -13388,15 +14693,6 @@ - - - - - - - - - @@ -13424,6 +14720,15 @@ + + + type.]]> + + Promessa global.]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13451,11 +14756,20 @@ - + - + - + + + + + + + + + + @@ -13469,6 +14783,24 @@ + + + + + + + + + + + + + + + + + + @@ -13580,15 +14912,6 @@ - - - - - - - - - @@ -13670,6 +14993,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13688,6 +15047,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13742,6 +15137,15 @@ + + + + + + + + + @@ -13778,15 +15182,6 @@ - - - - - - - - - @@ -13796,6 +15191,24 @@ + + + + + + + + + + + + + + + + + + @@ -13904,6 +15317,15 @@ + + + + + + + + + @@ -13940,6 +15362,24 @@ + + + + + + + + + + + + + + + + + + @@ -14050,9 +15490,21 @@ - + - + + + + + + + + + + + + + @@ -14068,10 +15520,13 @@ - + - + + + + @@ -14123,15 +15578,6 @@ - - - - - - - - - @@ -14240,6 +15686,15 @@ + + + + + + + + + @@ -14267,11 +15722,11 @@ - + - + - + @@ -14348,6 +15803,15 @@ + + + + + + + + + @@ -14525,15 +15989,6 @@ - - - - - - - - - @@ -14570,6 +16025,15 @@ + + + + + + + + + @@ -14597,6 +16061,15 @@ + + + + + + + + + @@ -15005,6 +16478,24 @@ + + + + + + + + + + + + + + + + + + @@ -15077,6 +16568,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15131,6 +16676,15 @@ + + + + + + + + + @@ -15257,11 +16811,11 @@ - + - + - + @@ -15293,6 +16847,15 @@ + + + + + + + + + @@ -15320,6 +16883,15 @@ + + + + + + + + + @@ -15329,6 +16901,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15464,6 +17063,24 @@ + + + + + + + + + + + + + + + + + + @@ -15584,6 +17201,15 @@ + + + + + + + + + @@ -15611,6 +17237,15 @@ + + + + + + + + + @@ -15719,6 +17354,24 @@ + + + + + + + + + + + + + + + + + + @@ -15773,15 +17426,6 @@ - - - - - - - - - @@ -15827,6 +17471,15 @@ + + + + + + + + + @@ -15836,6 +17489,24 @@ + + + + + + + + + + + + + + + + + + @@ -15845,6 +17516,15 @@ + + + + + + + + + @@ -15917,11 +17597,11 @@ - + - + - + @@ -16127,6 +17807,15 @@ + + + + + + + + + @@ -16172,6 +17861,24 @@ + + + + + + + + + + + + + + + + + + @@ -16238,6 +17945,15 @@ + + + + + + + + + @@ -16304,20 +18020,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16433,6 +18185,15 @@ + + + + + + + + + @@ -16469,6 +18230,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16481,6 +18269,15 @@ + + + + + + + + + @@ -16508,27 +18305,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16547,11 +18323,11 @@ - + - + - + @@ -16721,6 +18497,15 @@ + + + + + + + + + @@ -16775,11 +18560,11 @@ - + - + - + @@ -16910,6 +18695,15 @@ + + + + + + + + + @@ -16973,6 +18767,24 @@ + + + + + + + + + + + + + + + + + + @@ -17000,24 +18812,6 @@ - - - - - - - - - - - - - - - - - - @@ -17036,6 +18830,15 @@ + + + + + + + + + @@ -17174,15 +18977,6 @@ - - - - - - - - - @@ -17219,6 +19013,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl index d226d274a4b..c23d2590026 100644 --- a/src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -47,6 +47,15 @@ + + + + + + + + + @@ -56,6 +65,15 @@ + + + + + + + + + @@ -101,6 +119,24 @@ + + + + + + + + + + + + + + + + + + @@ -119,6 +155,24 @@ + + + + + + + + + + + + + + + + + + @@ -278,6 +332,15 @@ + + + + + + + + + @@ -341,15 +404,12 @@ - + - + - + - - - @@ -392,11 +452,11 @@ - + - + - + @@ -545,6 +605,15 @@ + + + + + + + + + @@ -563,15 +632,6 @@ - - - - - - - - - @@ -881,6 +941,15 @@ + + + + + + + + + @@ -1016,6 +1085,15 @@ + + + + + + + + + @@ -1070,6 +1148,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1133,6 +1283,15 @@ + + + + + + + + + @@ -1160,6 +1319,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1325,6 +1511,15 @@ + + + + + + + + + @@ -1361,6 +1556,24 @@ + + + + + + + + + + + + + + + + + + @@ -1400,6 +1613,24 @@ + + + + + + + + + + + + + + + + + + @@ -1436,6 +1667,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1661,6 +1919,15 @@ + + + + + + + + + @@ -1796,15 +2063,12 @@ - + - + - + - - - @@ -1937,6 +2201,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1994,6 +2294,15 @@ + + + + + + + + + @@ -2030,11 +2339,11 @@ - + - + - + @@ -2156,11 +2465,11 @@ - + - + - + @@ -2228,6 +2537,15 @@ + + + + + + + + + @@ -2282,6 +2600,15 @@ + + + + + + + + + @@ -2300,6 +2627,24 @@ + + + + + + + + + + + + + + + + + + @@ -2375,6 +2720,15 @@ + + + + + + + + + @@ -2393,6 +2747,15 @@ + + + + + + + + + @@ -2402,6 +2765,15 @@ + + + + + + + + + @@ -2429,15 +2801,6 @@ - - - - - - - - - @@ -2519,6 +2882,15 @@ + + + + + + + + + @@ -2576,6 +2948,15 @@ + + + + + + + + + @@ -2642,15 +3023,6 @@ - - - - - - - - - @@ -2678,11 +3050,11 @@ - + - + - + @@ -2696,11 +3068,20 @@ - + - + - + + + + + + + + + + @@ -2945,11 +3326,11 @@ - + - + - + @@ -3032,6 +3413,24 @@ + + + + + + + + + + + + + + + + + + @@ -3212,11 +3611,20 @@ - + - + - + + + + + + + + + + @@ -3281,15 +3689,6 @@ - - - - - - - - - @@ -3299,11 +3698,11 @@ - + - + - + @@ -3461,6 +3860,15 @@ + + + + + + + + + @@ -3620,6 +4028,15 @@ + + + + + + + + + @@ -3704,6 +4121,15 @@ + + + + + + + + + @@ -3827,6 +4253,15 @@ + + + + + + + + + @@ -3836,6 +4271,15 @@ + + + + + + + + + @@ -3854,11 +4298,11 @@ - + - + - + @@ -4034,15 +4478,6 @@ - - - - - - - - - @@ -4106,6 +4541,15 @@ + + + + + + + + + @@ -4322,11 +4766,11 @@ - + - + - + @@ -4457,6 +4901,15 @@ + + + + + + + + + @@ -4514,6 +4967,24 @@ + + + + + + + + + + + + + + + + + + @@ -4523,6 +4994,15 @@ + + + + + + + + + @@ -4541,6 +5021,15 @@ + + + + + + + + + @@ -4570,10 +5059,13 @@ - + - + + + + @@ -4688,6 +5180,15 @@ + + + + + + + + + @@ -4706,11 +5207,11 @@ - + - + - + @@ -4742,6 +5243,15 @@ + + + + + + + + + @@ -5036,6 +5546,15 @@ + + + + + + + + + @@ -5300,6 +5819,15 @@ + + + + + + + + + @@ -5429,6 +5957,15 @@ + + + + + + + + + @@ -5450,20 +5987,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5714,11 +6278,20 @@ - + - + - + + + + + + + + + + @@ -5894,6 +6467,15 @@ + + + + + + + + + @@ -5966,6 +6548,24 @@ + + + + + + + + + + + + + + + + + + @@ -5987,15 +6587,6 @@ - - - - - - - - - @@ -6005,6 +6596,15 @@ + + + + + + + + + @@ -6014,6 +6614,15 @@ + + + + + + + + + @@ -6023,6 +6632,15 @@ + + + + + + + + + @@ -6077,6 +6695,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6122,18 +6785,6 @@ - - - - - - - - - - - - @@ -6281,6 +6932,15 @@ + + + + + + + + + @@ -6335,6 +6995,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6344,6 +7049,15 @@ + + + + + + + + + @@ -6407,6 +7121,15 @@ + + + + + + + + + @@ -6434,11 +7157,20 @@ - + - + - + + + + + + + + + + @@ -6470,15 +7202,6 @@ - - - - - - - - - @@ -6488,6 +7211,15 @@ + + + + + + + + + @@ -6497,15 +7229,6 @@ - - - - - - - - - @@ -6560,6 +7283,15 @@ + + + + + + + + + @@ -6734,6 +7466,15 @@ + + + + + + + + + @@ -6818,11 +7559,11 @@ - + - + - + @@ -6881,11 +7622,11 @@ - + - + - + @@ -6899,29 +7640,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6971,6 +7721,15 @@ + + + + + + + + + @@ -7292,6 +8051,15 @@ + + + + + + + + + @@ -7397,6 +8165,24 @@ + + + + + + + + + + + + + + + + + + @@ -7415,20 +8201,20 @@ - + - + - + - + - + - + @@ -7451,6 +8237,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7664,6 +8486,15 @@ + + + + + + + + + @@ -7742,6 +8573,15 @@ + + + + + + + + + @@ -7784,15 +8624,6 @@ - - - - - - - - - @@ -7811,6 +8642,15 @@ + + + + + + + + + @@ -7958,6 +8798,15 @@ + + + + + + + + + @@ -7985,6 +8834,15 @@ + + + + + + + + + @@ -8048,6 +8906,15 @@ + + + + + + + + + @@ -8093,6 +8960,15 @@ + + + + + + + + + @@ -8102,6 +8978,15 @@ + + + + + + + + + @@ -8375,20 +9260,20 @@ - + - + - + - + - + - + @@ -8477,6 +9362,15 @@ + + + + + + + + + @@ -8576,6 +9470,15 @@ + + + + + + + + + @@ -8717,15 +9620,6 @@ - - - - - - - - - @@ -8735,6 +9629,15 @@ + + + + + + + + + @@ -8837,6 +9740,15 @@ + + + + + + + + + @@ -8846,6 +9758,15 @@ + + + + + + + + + @@ -8882,6 +9803,24 @@ + + + + + + + + + + + + + + + + + + @@ -8918,6 +9857,24 @@ + + + + + + + + + + + + + + + + + + @@ -9019,9 +9976,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9035,6 +10013,24 @@ + + + + + + + + + + + + + + + + + + @@ -9089,6 +10085,15 @@ + + + + + + + + + @@ -9170,6 +10175,24 @@ + + + + + + + + + + + + + + + + + + @@ -9179,38 +10202,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9260,6 +10283,15 @@ + + + + + + + + + @@ -9269,24 +10301,6 @@ - - - - - - - - - - - - - - - - - - @@ -9323,6 +10337,15 @@ + + + + + + + + + @@ -9332,6 +10355,24 @@ + + + + + + + + + + + + + + + + + + @@ -9350,6 +10391,15 @@ + + + + + + + + + @@ -9359,6 +10409,24 @@ + + + + + + + + + + + + + + + + + + @@ -9368,15 +10436,6 @@ - - - - - - - - - @@ -9404,6 +10463,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9434,20 +10529,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9461,20 +10565,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9524,15 +10646,6 @@ - - - - - - - - - @@ -9911,6 +11024,15 @@ + + + + + + + + + @@ -10145,6 +11267,15 @@ + + + + + + + + + @@ -10202,24 +11333,6 @@ - - - - - - - - - - - - - - - - - - @@ -10229,6 +11342,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10238,6 +11378,15 @@ + + + + + + + + + @@ -10274,15 +11423,6 @@ - - - - - - - - - @@ -10658,11 +11798,11 @@ - + - + - + @@ -10730,6 +11870,15 @@ + + + + + + + + + @@ -10748,11 +11897,11 @@ - + - + - + @@ -10904,11 +12053,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10958,27 +12125,21 @@ - + - + - + - - - - + - + - + - - - @@ -11288,6 +12449,15 @@ + + + + + + + + + @@ -11324,6 +12494,24 @@ + + + + + + + + + + + + + + + + + + @@ -11333,6 +12521,15 @@ + + + + + + + + + @@ -11417,6 +12614,15 @@ + + + + + + + + + @@ -11822,6 +13028,15 @@ + + + + + + + + + @@ -11876,6 +13091,24 @@ + + + + + + + + + + + + + + + + + + @@ -11993,6 +13226,15 @@ + + + + + + + + + @@ -12020,20 +13262,11 @@ - + - + - - - - - - - - - - + @@ -12242,15 +13475,6 @@ - - - - - - - - - @@ -12611,6 +13835,15 @@ + + + + + + + + + @@ -12632,6 +13865,15 @@ + + + + + + + + + @@ -12797,6 +14039,15 @@ + + + + + + + + + @@ -12851,20 +14102,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13109,6 +14369,24 @@ + + + + + + + + + + + + + + + + + + @@ -13172,6 +14450,24 @@ + + + + + + + + + + + + + + + + + + @@ -13271,6 +14567,15 @@ + + + + + + + + + @@ -13397,15 +14702,6 @@ - - - - - - - - - @@ -13433,6 +14729,15 @@ + + + type.]]> + + .]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13460,11 +14765,20 @@ - + - + - + + + + + + + + + + @@ -13478,6 +14792,24 @@ + + + + + + + + + + + + + + + + + + @@ -13589,15 +14921,6 @@ - - - - - - - - - @@ -13679,6 +15002,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13697,6 +15056,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13751,6 +15146,15 @@ + + + + + + + + + @@ -13787,15 +15191,6 @@ - - - - - - - - - @@ -13805,6 +15200,24 @@ + + + + + + + + + + + + + + + + + + @@ -13913,6 +15326,15 @@ + + + + + + + + + @@ -13949,6 +15371,24 @@ + + + + + + + + + + + + + + + + + + @@ -14059,9 +15499,21 @@ - + - + + + + + + + + + + + + + @@ -14077,10 +15529,13 @@ - + - + + + + @@ -14132,15 +15587,6 @@ - - - - - - - - - @@ -14249,6 +15695,15 @@ + + + + + + + + + @@ -14276,11 +15731,11 @@ - + - + - + @@ -14357,6 +15812,15 @@ + + + + + + + + + @@ -14534,15 +15998,6 @@ - - - - - - - - - @@ -14579,6 +16034,15 @@ + + + + + + + + + @@ -14606,6 +16070,15 @@ + + + + + + + + + @@ -15014,6 +16487,24 @@ + + + + + + + + + + + + + + + + + + @@ -15086,6 +16577,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15140,6 +16685,15 @@ + + + + + + + + + @@ -15266,11 +16820,11 @@ - + - + - + @@ -15302,6 +16856,15 @@ + + + + + + + + + @@ -15329,6 +16892,15 @@ + + + + + + + + + @@ -15338,6 +16910,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15473,6 +17072,24 @@ + + + + + + + + + + + + + + + + + + @@ -15593,6 +17210,15 @@ + + + + + + + + + @@ -15620,6 +17246,15 @@ + + + + + + + + + @@ -15728,6 +17363,24 @@ + + + + + + + + + + + + + + + + + + @@ -15782,15 +17435,6 @@ - - - - - - - - - @@ -15836,6 +17480,15 @@ + + + + + + + + + @@ -15845,6 +17498,24 @@ + + + + + + + + + + + + + + + + + + @@ -15854,6 +17525,15 @@ + + + + + + + + + @@ -15926,11 +17606,11 @@ - + - + - + @@ -16136,6 +17816,15 @@ + + + + + + + + + @@ -16181,6 +17870,24 @@ + + + + + + + + + + + + + + + + + + @@ -16247,6 +17954,15 @@ + + + + + + + + + @@ -16313,20 +18029,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16442,6 +18194,15 @@ + + + + + + + + + @@ -16478,6 +18239,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16490,6 +18278,15 @@ + + + + + + + + + @@ -16517,27 +18314,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16556,11 +18332,11 @@ - + - + - + @@ -16730,6 +18506,15 @@ + + + + + + + + + @@ -16784,11 +18569,11 @@ - + - + - + @@ -16919,6 +18704,15 @@ + + + + + + + + + @@ -16982,6 +18776,24 @@ + + + + + + + + + + + + + + + + + + @@ -17009,24 +18821,6 @@ - - - - - - - - - - - - - - - - - - @@ -17045,6 +18839,15 @@ + + + + + + + + + @@ -17183,15 +18986,6 @@ - - - - - - - - - @@ -17228,6 +19022,15 @@ + + + + + + + + + diff --git a/src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl index 0144a1042db..0e08be0489c 100644 --- a/src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/trk/diagnosticMessages/diagnosticMessages.generated.json.lcl @@ -41,6 +41,15 @@ + + + + + + + + + @@ -50,6 +59,15 @@ + + + + + + + + + @@ -95,6 +113,24 @@ + + + + + + + + + + + + + + + + + + @@ -113,6 +149,24 @@ + + + + + + + + + + + + + + + + + + @@ -272,6 +326,15 @@ + + + + + + + + + @@ -335,15 +398,12 @@ - + - + - + - - - @@ -386,11 +446,11 @@ - + - + - + @@ -539,6 +599,15 @@ + + + + + + + + + @@ -557,15 +626,6 @@ - - - - - - - - - @@ -875,6 +935,15 @@ + + + + + + + + + @@ -1010,6 +1079,15 @@ + + + + + + + + + @@ -1064,6 +1142,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1127,6 +1277,15 @@ + + + + + + + + + @@ -1154,6 +1313,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1319,6 +1505,15 @@ + + + + + + + + + @@ -1355,6 +1550,24 @@ + + + + + + + + + + + + + + + + + + @@ -1394,6 +1607,24 @@ + + + + + + + + + + + + + + + + + + @@ -1430,6 +1661,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1655,6 +1913,15 @@ + + + + + + + + + @@ -1790,15 +2057,12 @@ - + - + - + - - - @@ -1931,6 +2195,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1988,6 +2288,15 @@ + + + + + + + + + @@ -2024,11 +2333,11 @@ - + - + - + @@ -2150,11 +2459,11 @@ - + - + - + @@ -2222,6 +2531,15 @@ + + + + + + + + + @@ -2276,6 +2594,15 @@ + + + + + + + + + @@ -2294,6 +2621,24 @@ + + + + + + + + + + + + + + + + + + @@ -2369,6 +2714,15 @@ + + + + + + + + + @@ -2387,6 +2741,15 @@ + + + + + + + + + @@ -2396,6 +2759,15 @@ + + + + + + + + + @@ -2423,15 +2795,6 @@ - - - - - - - - - @@ -2513,6 +2876,15 @@ + + + + + + + + + @@ -2570,6 +2942,15 @@ + + + + + + + + + @@ -2636,15 +3017,6 @@ - - - - - - - - - @@ -2672,11 +3044,11 @@ - + - + - + @@ -2690,11 +3062,20 @@ - + - + - + + + + + + + + + + @@ -2939,11 +3320,11 @@ - + - + - + @@ -3026,6 +3407,24 @@ + + + + + + + + + + + + + + + + + + @@ -3206,11 +3605,20 @@ - + - + - + + + + + + + + + + @@ -3275,15 +3683,6 @@ - - - - - - - - - @@ -3293,11 +3692,11 @@ - + - + - + @@ -3455,6 +3854,15 @@ + + + + + + + + + @@ -3614,6 +4022,15 @@ + + + + + + + + + @@ -3698,6 +4115,15 @@ + + + + + + + + + @@ -3821,6 +4247,15 @@ + + + + + + + + + @@ -3830,6 +4265,15 @@ + + + + + + + + + @@ -3848,11 +4292,11 @@ - + - + - + @@ -4028,15 +4472,6 @@ - - - - - - - - - @@ -4100,6 +4535,15 @@ + + + + + + + + + @@ -4316,11 +4760,11 @@ - + - + - + @@ -4451,6 +4895,15 @@ + + + + + + + + + @@ -4508,6 +4961,24 @@ + + + + + + + + + + + + + + + + + + @@ -4517,6 +4988,15 @@ + + + + + + + + + @@ -4535,6 +5015,15 @@ + + + + + + + + + @@ -4564,10 +5053,13 @@ - + - + + + + @@ -4682,6 +5174,15 @@ + + + + + + + + + @@ -4700,11 +5201,11 @@ - + - + - + @@ -4736,6 +5237,15 @@ + + + + + + + + + @@ -5030,6 +5540,15 @@ + + + + + + + + + @@ -5294,6 +5813,15 @@ + + + + + + + + + @@ -5423,6 +5951,15 @@ + + + + + + + + + @@ -5444,20 +5981,47 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5708,11 +6272,20 @@ - + - + - + + + + + + + + + + @@ -5888,6 +6461,15 @@ + + + + + + + + + @@ -5960,6 +6542,24 @@ + + + + + + + + + + + + + + + + + + @@ -5981,15 +6581,6 @@ - - - - - - - - - @@ -5999,6 +6590,15 @@ + + + + + + + + + @@ -6008,6 +6608,15 @@ + + + + + + + + + @@ -6017,6 +6626,15 @@ + + + + + + + + + @@ -6071,6 +6689,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6116,18 +6779,6 @@ - - - - - - - - - - - - @@ -6275,6 +6926,15 @@ + + + + + + + + + @@ -6329,6 +6989,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6338,6 +7043,15 @@ + + + + + + + + + @@ -6401,6 +7115,15 @@ + + + + + + + + + @@ -6428,11 +7151,20 @@ - + - + - + + + + + + + + + + @@ -6464,15 +7196,6 @@ - - - - - - - - - @@ -6482,6 +7205,15 @@ + + + + + + + + + @@ -6491,15 +7223,6 @@ - - - - - - - - - @@ -6554,6 +7277,15 @@ + + + + + + + + + @@ -6728,6 +7460,15 @@ + + + + + + + + + @@ -6812,11 +7553,11 @@ - + - + - + @@ -6875,11 +7616,11 @@ - + - + - + @@ -6893,29 +7634,38 @@ - + - + - + - + - + - + - + - + - + + + + + + + + + + @@ -6965,6 +7715,15 @@ + + + + + + + + + @@ -7286,6 +8045,15 @@ + + + + + + + + + @@ -7391,6 +8159,24 @@ + + + + + + + + + + + + + + + + + + @@ -7409,18 +8195,18 @@ - + - + - + - + - + @@ -7445,6 +8231,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7658,6 +8480,15 @@ + + + + + + + + + @@ -7736,6 +8567,15 @@ + + + + + + + + + @@ -7778,15 +8618,6 @@ - - - - - - - - - @@ -7805,6 +8636,15 @@ + + + + + + + + + @@ -7952,6 +8792,15 @@ + + + + + + + + + @@ -7979,6 +8828,15 @@ + + + + + + + + + @@ -8042,6 +8900,15 @@ + + + + + + + + + @@ -8087,6 +8954,15 @@ + + + + + + + + + @@ -8096,6 +8972,15 @@ + + + + + + + + + @@ -8369,20 +9254,20 @@ - + - + - + - + - + - + @@ -8471,6 +9356,15 @@ + + + + + + + + + @@ -8570,6 +9464,15 @@ + + + + + + + + + @@ -8711,15 +9614,6 @@ - - - - - - - - - @@ -8729,6 +9623,15 @@ + + + + + + + + + @@ -8831,6 +9734,15 @@ + + + + + + + + + @@ -8840,6 +9752,15 @@ + + + + + + + + + @@ -8876,6 +9797,24 @@ + + + + + + + + + + + + + + + + + + @@ -8912,6 +9851,24 @@ + + + + + + + + + + + + + + + + + + @@ -9013,9 +9970,30 @@ - + - + + + + + + + + + + + + + + + + + + + + + + @@ -9029,6 +10007,24 @@ + + + + + + + + + + + + + + + + + + @@ -9083,6 +10079,15 @@ + + + + + + + + + @@ -9164,6 +10169,24 @@ + + + + + + + + + + + + + + + + + + @@ -9173,38 +10196,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -9254,6 +10277,15 @@ + + + + + + + + + @@ -9263,24 +10295,6 @@ - - - - - - - - - - - - - - - - - - @@ -9317,6 +10331,15 @@ + + + + + + + + + @@ -9326,6 +10349,24 @@ + + + + + + + + + + + + + + + + + + @@ -9344,6 +10385,15 @@ + + + + + + + + + @@ -9353,6 +10403,24 @@ + + + + + + + + + + + + + + + + + + @@ -9362,15 +10430,6 @@ - - - - - - - - - @@ -9398,6 +10457,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9428,20 +10523,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -9455,20 +10559,38 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -9518,15 +10640,6 @@ - - - - - - - - - @@ -9905,6 +11018,15 @@ + + + + + + + + + @@ -10139,6 +11261,15 @@ + + + + + + + + + @@ -10196,24 +11327,6 @@ - - - - - - - - - - - - - - - - - - @@ -10223,6 +11336,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10232,6 +11372,15 @@ + + + + + + + + + @@ -10268,15 +11417,6 @@ - - - - - - - - - @@ -10652,11 +11792,11 @@ - + - + - + @@ -10724,6 +11864,15 @@ + + + + + + + + + @@ -10742,11 +11891,11 @@ - + - + - + @@ -10898,11 +12047,29 @@ - + - + - + + + + + + + + + + + + + + + + + + + @@ -10952,27 +12119,21 @@ - + - + - + - - - - + - + - + - - - @@ -11282,6 +12443,15 @@ + + + + + + + + + @@ -11318,6 +12488,24 @@ + + + + + + + + + + + + + + + + + + @@ -11327,6 +12515,15 @@ + + + + + + + + + @@ -11411,6 +12608,15 @@ + + + + + + + + + @@ -11816,6 +13022,15 @@ + + + + + + + + + @@ -11870,6 +13085,24 @@ + + + + + + + + + + + + + + + + + + @@ -11987,6 +13220,15 @@ + + + + + + + + + @@ -12014,20 +13256,11 @@ - + - + - - - - - - - - - - + @@ -12236,15 +13469,6 @@ - - - - - - - - - @@ -12605,6 +13829,15 @@ + + + + + + + + + @@ -12626,6 +13859,15 @@ + + + + + + + + + @@ -12791,6 +14033,15 @@ + + + + + + + + + @@ -12845,20 +14096,29 @@ - + - + - + - + - + - + + + + + + + + + + @@ -13103,6 +14363,24 @@ + + + + + + + + + + + + + + + + + + @@ -13166,6 +14444,24 @@ + + + + + + + + + + + + + + + + + + @@ -13265,6 +14561,15 @@ + + + + + + + + + @@ -13391,15 +14696,6 @@ - - - - - - - - - @@ -13427,6 +14723,15 @@ + + + type.]]> + + türü olmalıdır.]]> + + + + type. Did you mean to write 'Promise<{0}>'?]]> @@ -13454,11 +14759,20 @@ - + - + - + + + + + + + + + + @@ -13472,6 +14786,24 @@ + + + + + + + + + + + + + + + + + + @@ -13583,15 +14915,6 @@ - - - - - - - - - @@ -13673,6 +14996,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13691,6 +15050,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13745,6 +15140,15 @@ + + + + + + + + + @@ -13781,15 +15185,6 @@ - - - - - - - - - @@ -13799,6 +15194,24 @@ + + + + + + + + + + + + + + + + + + @@ -13907,6 +15320,15 @@ + + + + + + + + + @@ -13943,6 +15365,24 @@ + + + + + + + + + + + + + + + + + + @@ -14053,9 +15493,21 @@ - + - + + + + + + + + + + + + + @@ -14071,10 +15523,13 @@ - + - + + + + @@ -14126,15 +15581,6 @@ - - - - - - - - - @@ -14243,6 +15689,15 @@ + + + + + + + + + @@ -14270,11 +15725,11 @@ - + - + - + @@ -14351,6 +15806,15 @@ + + + + + + + + + @@ -14528,15 +15992,6 @@ - - - - - - - - - @@ -14573,6 +16028,15 @@ + + + + + + + + + @@ -14600,6 +16064,15 @@ + + + + + + + + + @@ -15008,6 +16481,24 @@ + + + + + + + + + + + + + + + + + + @@ -15080,6 +16571,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15134,6 +16679,15 @@ + + + + + + + + + @@ -15260,11 +16814,11 @@ - + - + - + @@ -15296,6 +16850,15 @@ + + + + + + + + + @@ -15323,6 +16886,15 @@ + + + + + + + + + @@ -15332,6 +16904,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -15467,6 +17066,24 @@ + + + + + + + + + + + + + + + + + + @@ -15587,6 +17204,15 @@ + + + + + + + + + @@ -15614,6 +17240,15 @@ + + + + + + + + + @@ -15722,6 +17357,24 @@ + + + + + + + + + + + + + + + + + + @@ -15776,15 +17429,6 @@ - - - - - - - - - @@ -15830,6 +17474,15 @@ + + + + + + + + + @@ -15839,6 +17492,24 @@ + + + + + + + + + + + + + + + + + + @@ -15848,6 +17519,15 @@ + + + + + + + + + @@ -15920,11 +17600,11 @@ - + - + - + @@ -16130,6 +17810,15 @@ + + + + + + + + + @@ -16175,6 +17864,24 @@ + + + + + + + + + + + + + + + + + + @@ -16241,6 +17948,15 @@ + + + + + + + + + @@ -16307,20 +18023,56 @@ - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16436,6 +18188,15 @@ + + + + + + + + + @@ -16472,6 +18233,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -16484,6 +18272,15 @@ + + + + + + + + + @@ -16511,27 +18308,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -16550,11 +18326,11 @@ - + - + - + @@ -16724,6 +18500,15 @@ + + + + + + + + + @@ -16778,11 +18563,11 @@ - + - + - + @@ -16913,6 +18698,15 @@ + + + + + + + + + @@ -16976,6 +18770,24 @@ + + + + + + + + + + + + + + + + + + @@ -17003,24 +18815,6 @@ - - - - - - - - - - - - - - - - - - @@ -17039,6 +18833,15 @@ + + + + + + + + + @@ -17177,15 +18980,6 @@ - - - - - - - - - @@ -17222,6 +19016,15 @@ + + + + + + + + + diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index c3d16e0da5b..2ce702d6949 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -31,8 +31,9 @@ import { DocumentRegistry, DocumentRegistryBucketKeyWithMode, emptyOptions, - endsWith, ensureTrailingDirectorySeparator, + equateStringsCaseInsensitive, + equateStringsCaseSensitive, ExtendedConfigCacheEntry, FileExtensionInfo, fileExtensionIs, @@ -78,6 +79,7 @@ import { length, map, mapDefinedIterator, + memoize, missingFileModifiedTime, MultiMap, noop, @@ -642,37 +644,10 @@ export interface ProjectServiceOptions { */ export type ConfigFileName = NormalizedPath | false; -/** - * Stores cached config file name for info as well as ancestor so is a map - * Key is false for Open ScriptInfo - * Key is NormalizedPath for Config file name - * @internal - */ -export type ConfigFileMapForOpenFile = Map; - -/** - * The cache for open script info will have - * ConfigFileName or false if ancestors are not looked up - * Map if ancestors are looked up - * @internal - */ -export type ConfigFileForOpenFile = ConfigFileName | ConfigFileMapForOpenFile; - /** Gets cached value of config file name based on open script info or ancestor script info */ -function getConfigFileNameFromCache(info: OpenScriptInfoOrClosedOrConfigFileInfo, cache: Map | undefined): ConfigFileName | undefined { - if (!cache) return undefined; - const configFileForOpenFile = cache.get(info.path); - if (configFileForOpenFile === undefined) return undefined; - if (!isAncestorConfigFileInfo(info)) { - return isString(configFileForOpenFile) || !configFileForOpenFile ? - configFileForOpenFile : // direct result - configFileForOpenFile.get(/*key*/ false); // Its a map, use false as the key for the info's config file name - } - else { - return configFileForOpenFile && !isString(configFileForOpenFile) ? // Map with fileName as key - configFileForOpenFile.get(info.fileName) : - undefined; // No result for the config file name - } +function getConfigFileNameFromCache(info: OpenScriptInfoOrClosedOrConfigFileInfo, cache: Map | undefined): ConfigFileName | undefined { + if (!cache || isAncestorConfigFileInfo(info)) return undefined; + return cache.get(info.path); } /** @internal */ @@ -687,7 +662,6 @@ export interface AncestorConfigFileInfo { /** path of open file so we can look at correct root */ path: Path; configFileInfo: true; - isForDefaultProject: boolean; } /** @internal */ export type OpenScriptInfoOrClosedFileInfo = ScriptInfo | OriginalFileInfo; @@ -736,8 +710,6 @@ function forEachAncestorProject( allowDeferredClosed: boolean | undefined, /** Used with ConfiguredProjectLoadKind.Reload to check if this project was already reloaded */ reloadedProjects: Set | undefined, - /** true means we are looking for solution, so we can stop if found project is not composite to go into parent solution */ - searchOnlyPotentialSolution: boolean, /** Used with ConfiguredProjectLoadKind.Reload to specify delay reload, and also a set of configured projects already marked for delay load */ delayReloadedConfiguredProjects?: Set, ): T | undefined { @@ -747,10 +719,7 @@ function forEachAncestorProject( if ( !project.isInitialLoadPending() && ( - (searchOnlyPotentialSolution && !project.getCompilerOptions().composite) || - // Currently disableSolutionSearching is shared for finding solution/project when - // - loading solution for find all references - // - trying to find default project + !project.getCompilerOptions().composite || project.getCompilerOptions().disableSolutionSearching ) ) return; @@ -760,7 +729,6 @@ function forEachAncestorProject( fileName: project.getConfigFilePath(), path: info.path, configFileInfo: true, - isForDefaultProject: !searchOnlyPotentialSolution, }, kind === ConfiguredProjectLoadKind.Find); if (!configFileName) return; @@ -770,9 +738,9 @@ function forEachAncestorProject( kind, reason, allowDeferredClosed, - !searchOnlyPotentialSolution ? info.fileName : undefined, // Config Diag event for project if its for default project + /*triggerFile*/ undefined, reloadedProjects, - searchOnlyPotentialSolution, // Delay load if we are searching for solution + /*delayLoad*/ true, delayReloadedConfiguredProjects, ); if (!ancestor) return; @@ -1060,7 +1028,7 @@ export interface ParsedConfig { */ projects: Map; parsedCommandLine?: ParsedCommandLine; - watchedDirectories?: Map; + watchedDirectories?: Map>; /** * true if watchedDirectories need to be updated as per parsedCommandLine's updated watched directories */ @@ -1238,7 +1206,7 @@ export class ProjectService { */ readonly openFiles: Map = new Map(); /** Config files looked up and cached config files for open script info */ - private readonly configFileForOpenFiles = new Map(); + private readonly configFileForOpenFiles = new Map(); /** Set of open script infos that are root of inferred project */ private rootOfInferredProjects = new Set(); /** @@ -1277,7 +1245,7 @@ export class ProjectService { * All the open script info that needs recalculation of the default project, * this also caches config file info before config file change was detected to use it in case projects are not updated yet */ - private pendingOpenFileProjectUpdates?: Map; + private pendingOpenFileProjectUpdates?: Map; /** @internal */ pendingEnsureProjectForOpenFiles = false; @@ -1852,80 +1820,22 @@ export class ProjectService { /** * This is to watch whenever files are added or removed to the wildcard directories */ - private watchWildcardDirectory(directory: string, flags: WatchDirectoryFlags, configFileName: NormalizedPath, config: ParsedConfig) { + private watchWildcardDirectory( + directory: string, + flags: WatchDirectoryFlags, + configFileName: NormalizedPath, + config: ParsedConfig, + ) { let watcher: FileWatcher | undefined = this.watchFactory.watchDirectory( directory, - fileOrDirectory => { - const fileOrDirectoryPath = this.toPath(fileOrDirectory); - const fsResult = config.cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); - if ( - getBaseFileName(fileOrDirectoryPath) === "package.json" && !isInsideNodeModules(fileOrDirectoryPath) && - (fsResult && fsResult.fileExists || !fsResult && this.host.fileExists(fileOrDirectory)) - ) { - const file = this.getNormalizedAbsolutePath(fileOrDirectory); - this.logger.info(`Config: ${configFileName} Detected new package.json: ${file}`); - this.packageJsonCache.addOrUpdate(file, fileOrDirectoryPath); - this.watchPackageJsonFile(file, fileOrDirectoryPath, result); - } - - const configuredProjectForConfig = this.findConfiguredProjectByProjectName(configFileName); - if ( - isIgnoredFileFromWildCardWatching({ - watchedDirPath: this.toPath(directory), - fileOrDirectory, - fileOrDirectoryPath, - configFileName, - extraFileExtensions: this.hostConfiguration.extraFileExtensions, - currentDirectory: this.currentDirectory, - options: config.parsedCommandLine!.options, - program: configuredProjectForConfig?.getCurrentProgram() || config.parsedCommandLine!.fileNames, - useCaseSensitiveFileNames: this.host.useCaseSensitiveFileNames, - writeLog: s => this.logger.info(s), - toPath: s => this.toPath(s), - getScriptKind: configuredProjectForConfig ? (fileName => configuredProjectForConfig.getScriptKind(fileName)) : undefined, - }) - ) return; - - // Reload is pending, do the reload - if (config.updateLevel !== ProgramUpdateLevel.Full) config.updateLevel = ProgramUpdateLevel.RootNamesAndUpdate; - config.projects.forEach((watchWildcardDirectories, projectCanonicalPath) => { - if (!watchWildcardDirectories) return; - const project = this.getConfiguredProjectByCanonicalConfigFilePath(projectCanonicalPath); - if (!project) return; - - if ( - configuredProjectForConfig !== project && - this.getHostPreferences().includeCompletionsForModuleExports - ) { - const path = this.toPath(configFileName); - if (find(project.getCurrentProgram()?.getResolvedProjectReferences(), ref => ref?.sourceFile.path === path)) { - project.markAutoImportProviderAsDirty(); - } - } - - // Load root file names for configured project with the config file name - // But only schedule update if project references this config file - const updateLevel = configuredProjectForConfig === project ? ProgramUpdateLevel.RootNamesAndUpdate : ProgramUpdateLevel.Update; - if (project.pendingUpdateLevel > updateLevel) return; - - // don't trigger callback on open, existing files - if (this.openFiles.has(fileOrDirectoryPath)) { - const info = Debug.checkDefined(this.getScriptInfoForPath(fileOrDirectoryPath)); - if (info.isAttached(project)) { - const loadLevelToSet = Math.max(updateLevel, project.openFileWatchTriggered.get(fileOrDirectoryPath) || ProgramUpdateLevel.Update) as ProgramUpdateLevel; - project.openFileWatchTriggered.set(fileOrDirectoryPath, loadLevelToSet); - } - else { - project.pendingUpdateLevel = updateLevel; - this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(project); - } - } - else { - project.pendingUpdateLevel = updateLevel; - this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(project); - } - }); - }, + fileOrDirectory => + this.onWildCardDirectoryWatcherInvoke( + directory, + configFileName, + config, + result, + fileOrDirectory, + ), flags, this.getWatchOptionsFromProjectWatchOptions(config.parsedCommandLine!.watchOptions, getDirectoryPath(configFileName)), WatchType.WildcardDirectory, @@ -1949,6 +1859,89 @@ export class ProjectService { return result; } + private onWildCardDirectoryWatcherInvoke( + directory: string, + configFileName: NormalizedPath, + config: ParsedConfig, + wildCardWatcher: WildcardWatcher, + fileOrDirectory: string, + ) { + const fileOrDirectoryPath = this.toPath(fileOrDirectory); + const fsResult = config.cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath); + if ( + getBaseFileName(fileOrDirectoryPath) === "package.json" && !isInsideNodeModules(fileOrDirectoryPath) && + (fsResult && fsResult.fileExists || !fsResult && this.host.fileExists(fileOrDirectory)) + ) { + const file = this.getNormalizedAbsolutePath(fileOrDirectory); + this.logger.info(`Config: ${configFileName} Detected new package.json: ${file}`); + this.packageJsonCache.addOrUpdate(file, fileOrDirectoryPath); + this.watchPackageJsonFile(file, fileOrDirectoryPath, wildCardWatcher); + } + + if (!fsResult?.fileExists) { + // Ensure we send sourceFileChange + this.sendSourceFileChange(fileOrDirectoryPath); + } + + const configuredProjectForConfig = this.findConfiguredProjectByProjectName(configFileName); + if ( + isIgnoredFileFromWildCardWatching({ + watchedDirPath: this.toPath(directory), + fileOrDirectory, + fileOrDirectoryPath, + configFileName, + extraFileExtensions: this.hostConfiguration.extraFileExtensions, + currentDirectory: this.currentDirectory, + options: config.parsedCommandLine!.options, + program: configuredProjectForConfig?.getCurrentProgram() || config.parsedCommandLine!.fileNames, + useCaseSensitiveFileNames: this.host.useCaseSensitiveFileNames, + writeLog: s => this.logger.info(s), + toPath: s => this.toPath(s), + getScriptKind: configuredProjectForConfig ? (fileName => configuredProjectForConfig.getScriptKind(fileName)) : undefined, + }) + ) return; + + // Reload is pending, do the reload + if (config.updateLevel !== ProgramUpdateLevel.Full) config.updateLevel = ProgramUpdateLevel.RootNamesAndUpdate; + config.projects.forEach((watchWildcardDirectories, projectCanonicalPath) => { + if (!watchWildcardDirectories) return; + const project = this.getConfiguredProjectByCanonicalConfigFilePath(projectCanonicalPath); + if (!project) return; + + if ( + configuredProjectForConfig !== project && + this.getHostPreferences().includeCompletionsForModuleExports + ) { + const path = this.toPath(configFileName); + if (find(project.getCurrentProgram()?.getResolvedProjectReferences(), ref => ref?.sourceFile.path === path)) { + project.markAutoImportProviderAsDirty(); + } + } + + // Load root file names for configured project with the config file name + // But only schedule update if project references this config file + const updateLevel = configuredProjectForConfig === project ? ProgramUpdateLevel.RootNamesAndUpdate : ProgramUpdateLevel.Update; + if (project.pendingUpdateLevel > updateLevel) return; + + // don't trigger callback on open, existing files + if (this.openFiles.has(fileOrDirectoryPath)) { + const info = Debug.checkDefined(this.getScriptInfoForPath(fileOrDirectoryPath)); + if (info.isAttached(project)) { + const loadLevelToSet = Math.max(updateLevel, project.openFileWatchTriggered.get(fileOrDirectoryPath) || ProgramUpdateLevel.Update) as ProgramUpdateLevel; + project.openFileWatchTriggered.set(fileOrDirectoryPath, loadLevelToSet); + } + else { + project.pendingUpdateLevel = updateLevel; + this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(project); + } + } + else { + project.pendingUpdateLevel = updateLevel; + this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(project); + } + }); + } + private delayUpdateProjectsFromParsedConfigOnConfigFileChange(canonicalConfigFilePath: NormalizedPath, loadReason: string) { const configFileExistenceInfo = this.configFileExistenceInfoCache.get(canonicalConfigFilePath); if (!configFileExistenceInfo?.config) return false; @@ -2262,7 +2255,7 @@ export class ProjectService { const configFileExistenceInfo = this.configFileExistenceInfoCache.get(canonicalConfigFilePath); let openFilesImpactedByConfigFile: Set | undefined; - if (this.openFiles.has(info.path) && (!isAncestorConfigFileInfo(info) || info.isForDefaultProject)) { + if (this.openFiles.has(info.path) && !isAncestorConfigFileInfo(info)) { // By default the info would get impacted by presence of config file since its in the detection path // Only adding the info as a root to inferred project will need the existence to be watched by file watcher if (configFileExistenceInfo) (configFileExistenceInfo.openFilesImpactedByConfigFile ??= new Set()).add(info.path); @@ -2455,39 +2448,31 @@ export class ProjectService { // If projectRootPath doesn't contain info.path, then do normal search for config file const anySearchPathOk = !projectRootPath || !isSearchPathInProjectRoot(); - - let searchTsconfig = true; - let searchJsconfig = true; - if (isAncestorConfigFileInfo(info)) { - // For ancestor of config file always ignore itself - if (endsWith(info.fileName, "tsconfig.json")) searchTsconfig = false; - else searchTsconfig = searchJsconfig = false; - } + // For ancestor of config file always ignore its own directory since its going to result in itself + let searchInDirectory = !isAncestorConfigFileInfo(info); do { - const canonicalSearchPath = normalizedPathToPath(searchPath, this.currentDirectory, this.toCanonicalFileName); - if (searchTsconfig) { + if (searchInDirectory) { + const canonicalSearchPath = normalizedPathToPath(searchPath, this.currentDirectory, this.toCanonicalFileName); const tsconfigFileName = asNormalizedPath(combinePaths(searchPath, "tsconfig.json")); - const result = action(combinePaths(canonicalSearchPath, "tsconfig.json") as NormalizedPath, tsconfigFileName); + let result = action(combinePaths(canonicalSearchPath, "tsconfig.json") as NormalizedPath, tsconfigFileName); if (result) return tsconfigFileName; - } - if (searchJsconfig) { const jsconfigFileName = asNormalizedPath(combinePaths(searchPath, "jsconfig.json")); - const result = action(combinePaths(canonicalSearchPath, "jsconfig.json") as NormalizedPath, jsconfigFileName); + result = action(combinePaths(canonicalSearchPath, "jsconfig.json") as NormalizedPath, jsconfigFileName); if (result) return jsconfigFileName; - } - // If we started within node_modules, don't look outside node_modules. - // Otherwise, we might pick up a very large project and pull in the world, - // causing an editor delay. - if (isNodeModulesDirectory(canonicalSearchPath)) { - break; + // If we started within node_modules, don't look outside node_modules. + // Otherwise, we might pick up a very large project and pull in the world, + // causing an editor delay. + if (isNodeModulesDirectory(canonicalSearchPath)) { + break; + } } const parentPath = asNormalizedPath(getDirectoryPath(searchPath)); if (parentPath === searchPath) break; searchPath = parentPath; - searchTsconfig = searchJsconfig = true; + searchInDirectory = true; } while (anySearchPathOk || isSearchPathInProjectRoot()); @@ -2522,24 +2507,8 @@ export class ProjectService { configFileName: NormalizedPath | undefined, ) { if (!this.openFiles.has(info.path)) return; // Dont cache for closed script infos - const config = configFileName || false; - if (!isAncestorConfigFileInfo(info)) { - // Set value for open script info - this.configFileForOpenFiles.set(info.path, config); - } - else { - // Need to set value for ancestor in ConfigFileMapForOpenFile - let configFileForOpenFile = this.configFileForOpenFiles.get(info.path)!; - if (!configFileForOpenFile || isString(configFileForOpenFile)) { - // We have value for open script info in cache, make a map with that as false key and set new vlaue - this.configFileForOpenFiles.set( - info.path, - configFileForOpenFile = new Map().set(false, configFileForOpenFile), - ); - } - // Set value of for ancestor in the map - configFileForOpenFile.set(info.fileName, config); - } + if (isAncestorConfigFileInfo(info)) return; // Dont cache for ancestors + this.configFileForOpenFiles.set(info.path, configFileName || false); } /** @@ -3816,6 +3785,34 @@ export class ProjectService { this.logger.close(); } + private sendSourceFileChange(inPath: Path | undefined) { + this.filenameToScriptInfo.forEach(info => { + if (this.openFiles.has(info.path)) return; // Skip open files + if (!info.fileWatcher) return; // not watched file + const eventKind = memoize(() => + this.host.fileExists(info.fileName) ? + info.deferredDelete ? + FileWatcherEventKind.Created : + FileWatcherEventKind.Changed : + FileWatcherEventKind.Deleted + ); + if (inPath) { + // Skip node modules and files that are not in path + if (isScriptInfoWatchedFromNodeModules(info) || !info.path.startsWith(inPath)) return; + // If we are sending delete event and its already deleted, ignore + if (eventKind() === FileWatcherEventKind.Deleted && info.deferredDelete) return; + // In change cases, its hard to know if this is marked correctly across files and projects, so just send the event + this.logger.info(`Invoking sourceFileChange on ${info.fileName}:: ${eventKind()}`); + } + + // Handle as if file is changed or deleted + this.onSourceFileChanged( + info, + eventKind(), + ); + }); + } + /** * This function rebuilds the project for every file opened by the client * This does not reload contents of open files from disk. But we could do that if needed @@ -3828,19 +3825,7 @@ export class ProjectService { // as there is no need to load contents of the files from the disk // Reload script infos - this.filenameToScriptInfo.forEach(info => { - if (this.openFiles.has(info.path)) return; // Skip open files - if (!info.fileWatcher) return; // not watched file - // Handle as if file is changed or deleted - this.onSourceFileChanged( - info, - this.host.fileExists(info.fileName) ? - info.deferredDelete ? - FileWatcherEventKind.Created : - FileWatcherEventKind.Changed : - FileWatcherEventKind.Deleted, - ); - }); + this.sendSourceFileChange(/*inPath*/ undefined); // Cancel all project updates since we will be updating them now this.pendingProjectUpdates.forEach((_project, projectName) => { this.throttledOperations.cancel(projectName); @@ -4249,8 +4234,7 @@ export class ProjectService { function tryFindDefaultConfiguredProject(project: ConfiguredProject): ConfiguredProject | undefined { return isDefaultProject(project) ? defaultProject : - (tryFindDefaultConfiguredProjectFromReferences(project) ?? - tryFindDefaultConfiguredProjectFromAncestor(project)); + tryFindDefaultConfiguredProjectFromReferences(project); } function isDefaultProject(project: ConfiguredProject): ConfiguredProject | undefined { @@ -4280,19 +4264,6 @@ export class ProjectService { reloadedProjects, ); } - - function tryFindDefaultConfiguredProjectFromAncestor(project: ConfiguredProject) { - return forEachAncestorProject( // If not in referenced projects, try ancestors and its references - info, - project, - tryFindDefaultConfiguredProject, - kind, - `Creating possible configured project for ${info.fileName} to open`, - allowDeferredClosed, - reloadedProjects, - /*searchOnlyPotentialSolution*/ false, - ); - } } /** @@ -4337,7 +4308,6 @@ export class ProjectService { `Creating project possibly referencing default composite project ${defaultProject.getProjectName()} of open file ${info.fileName}`, allowDeferredClosed, reloadedProjects, - /*searchOnlyPotentialSolution*/ true, delayReloadedConfiguredProjects, ); } @@ -4434,8 +4404,42 @@ export class ProjectService { this.removeOrphanScriptInfos(); } + private tryInvokeWildCardDirectories(info: ScriptInfo) { + // This might not have reflected in projects, + this.configFileExistenceInfoCache.forEach((configFileExistenceInfo, config) => { + if ( + !configFileExistenceInfo.config?.parsedCommandLine || + contains( + configFileExistenceInfo.config.parsedCommandLine.fileNames, + info.fileName, + !this.host.useCaseSensitiveFileNames ? equateStringsCaseInsensitive : equateStringsCaseSensitive, + ) + ) { + return; + } + configFileExistenceInfo.config.watchedDirectories?.forEach((watcher, directory) => { + if (containsPath(directory, info.fileName, !this.host.useCaseSensitiveFileNames)) { + this.logger.info(`Invoking ${config}:: wildcard for open scriptInfo:: ${info.fileName}`); + this.onWildCardDirectoryWatcherInvoke( + directory, + config, + configFileExistenceInfo.config!, + watcher.watcher, + info.fileName, + ); + } + }); + }); + } + openClientFileWithNormalizedPath(fileName: NormalizedPath, fileContent?: string, scriptKind?: ScriptKind, hasMixedContent?: boolean, projectRootPath?: NormalizedPath): OpenConfiguredProjectResult { + const existing = this.getScriptInfoForPath(normalizedPathToPath( + fileName, + projectRootPath ? this.getNormalizedAbsolutePath(projectRootPath) : this.currentDirectory, + this.toCanonicalFileName, + )); const info = this.getOrCreateOpenScriptInfo(fileName, fileContent, scriptKind, hasMixedContent, projectRootPath); + if (!existing && info && !info.isDynamic) this.tryInvokeWildCardDirectories(info); const { retainProjects, ...result } = this.assignProjectToOpenedScriptInfo(info); this.cleanupProjectsAndScriptInfos( retainProjects, @@ -4636,10 +4640,16 @@ export class ProjectService { /** @internal */ applyChangesInOpenFiles(openFiles: Iterable | undefined, changedFiles?: Iterable, closedFiles?: string[]): void { + let existingOpenScriptInfos: (ScriptInfo | undefined)[] | undefined; let openScriptInfos: ScriptInfo[] | undefined; let assignOrphanScriptInfosToInferredProject = false; if (openFiles) { for (const file of openFiles) { + (existingOpenScriptInfos ??= []).push(this.getScriptInfoForPath(normalizedPathToPath( + toNormalizedPath(file.fileName), + file.projectRootPath ? this.getNormalizedAbsolutePath(file.projectRootPath) : this.currentDirectory, + this.toCanonicalFileName, + ))); // Create script infos so we have the new content for all the open files before we do any updates to projects const info = this.getOrCreateOpenScriptInfo( toNormalizedPath(file.fileName), @@ -4670,6 +4680,13 @@ export class ProjectService { // All the script infos now exist, so ok to go update projects for open files let retainProjects: Set | undefined; + forEach( + existingOpenScriptInfos, + (existing, index) => + !existing && openScriptInfos![index] && !openScriptInfos![index].isDynamic ? + this.tryInvokeWildCardDirectories(openScriptInfos![index]) : + undefined, + ); openScriptInfos?.forEach(info => this.assignProjectToOpenedScriptInfo(info).retainProjects?.forEach(p => (retainProjects ??= new Set()).add(p))); // While closing files there could be open files that needed assigning new inferred projects, do it now @@ -4972,7 +4989,7 @@ export class ProjectService { if ( !pluginConfigEntry.name || isExternalModuleNameRelative(pluginConfigEntry.name) || - /[\\/]\.\.?($|[\\/])/.test(pluginConfigEntry.name) + /[\\/]\.\.?(?:$|[\\/])/.test(pluginConfigEntry.name) ) { this.logger.info(`Skipped loading plugin ${pluginConfigEntry.name || JSON.stringify(pluginConfigEntry)} because only package name is allowed plugin name`); return; diff --git a/src/server/moduleSpecifierCache.ts b/src/server/moduleSpecifierCache.ts index 73e1168afd2..96d8eb3bf43 100644 --- a/src/server/moduleSpecifierCache.ts +++ b/src/server/moduleSpecifierCache.ts @@ -28,7 +28,7 @@ export function createModuleSpecifierCache(host: ModuleSpecifierResolutionCacheH return cache.get(toFileName); }, set(fromFileName, toFileName, preferences, options, kind, modulePaths, moduleSpecifiers) { - ensureCache(fromFileName, preferences, options).set(toFileName, createInfo(kind, modulePaths, moduleSpecifiers, /*isBlockedByPackageJsonDependencies*/ false)); + ensureCache(fromFileName, preferences, options).set(toFileName, createInfo(kind, modulePaths, moduleSpecifiers, /*packageName*/ undefined, /*isBlockedByPackageJsonDependencies*/ false)); // If any module specifiers were generated based off paths in node_modules, // a package.json file in that package was read and is an input to the cached. @@ -58,17 +58,18 @@ export function createModuleSpecifierCache(host: ModuleSpecifierResolutionCacheH info.modulePaths = modulePaths; } else { - cache.set(toFileName, createInfo(/*kind*/ undefined, modulePaths, /*moduleSpecifiers*/ undefined, /*isBlockedByPackageJsonDependencies*/ undefined)); + cache.set(toFileName, createInfo(/*kind*/ undefined, modulePaths, /*moduleSpecifiers*/ undefined, /*packageName*/ undefined, /*isBlockedByPackageJsonDependencies*/ undefined)); } }, - setBlockedByPackageJsonDependencies(fromFileName, toFileName, preferences, options, isBlockedByPackageJsonDependencies) { + setBlockedByPackageJsonDependencies(fromFileName, toFileName, preferences, options, packageName, isBlockedByPackageJsonDependencies) { const cache = ensureCache(fromFileName, preferences, options); const info = cache.get(toFileName); if (info) { info.isBlockedByPackageJsonDependencies = isBlockedByPackageJsonDependencies; + info.packageName = packageName; } else { - cache.set(toFileName, createInfo(/*kind*/ undefined, /*modulePaths*/ undefined, /*moduleSpecifiers*/ undefined, isBlockedByPackageJsonDependencies)); + cache.set(toFileName, createInfo(/*kind*/ undefined, /*modulePaths*/ undefined, /*moduleSpecifiers*/ undefined, packageName, isBlockedByPackageJsonDependencies)); } }, clear() { @@ -103,8 +104,9 @@ export function createModuleSpecifierCache(host: ModuleSpecifierResolutionCacheH kind: ResolvedModuleSpecifierInfo["kind"] | undefined, modulePaths: readonly ModulePath[] | undefined, moduleSpecifiers: readonly string[] | undefined, + packageName: string | undefined, isBlockedByPackageJsonDependencies: boolean | undefined, ): ResolvedModuleSpecifierInfo { - return { kind, modulePaths, moduleSpecifiers, isBlockedByPackageJsonDependencies }; + return { kind, modulePaths, moduleSpecifiers, packageName, isBlockedByPackageJsonDependencies }; } } diff --git a/src/server/project.ts b/src/server/project.ts index 8cf623a844f..f6408125d9d 100644 --- a/src/server/project.ts +++ b/src/server/project.ts @@ -775,7 +775,8 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo // As an optimization, don't hit the disks for files we already know don't exist // (because we're watching for their creation). const path = this.toPath(file); - return !this.isWatchedMissingFile(path) && this.directoryStructureHost.fileExists(file); + return !!this.projectService.getScriptInfoForPath(path) || + (!this.isWatchedMissingFile(path) && this.directoryStructureHost.fileExists(file)); } /** @internal */ diff --git a/src/server/session.ts b/src/server/session.ts index 30dda2a8d8c..fd0ed26586d 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -486,7 +486,7 @@ type Projects = readonly Project[] | { /** * This helper function processes a list of projects and return the concatenated, sortd and deduplicated output of processing each project. */ -function combineProjectOutput( +function combineProjectOutput( defaultValue: T, getValue: (path: Path) => T, projects: Projects, @@ -2452,45 +2452,13 @@ export class Session implements EventSender { const prefix = args.prefix || ""; const entries = mapDefined(completions.entries, entry => { if (completions.isMemberCompletion || startsWith(entry.name.toLowerCase(), prefix.toLowerCase())) { - const { - name, - kind, - kindModifiers, - sortText, - insertText, - filterText, - replacementSpan, - hasAction, - source, - sourceDisplay, - labelDetails, - isSnippet, - isRecommended, - isPackageJsonImport, - isImportStatementCompletion, - data, - commitCharacters, - } = entry; - const convertedSpan = replacementSpan ? toProtocolTextSpan(replacementSpan, scriptInfo) : undefined; + const convertedSpan = entry.replacementSpan ? toProtocolTextSpan(entry.replacementSpan, scriptInfo) : undefined; // Use `hasAction || undefined` to avoid serializing `false`. return { - name, - kind, - kindModifiers, - sortText, - insertText, - filterText, + ...entry, replacementSpan: convertedSpan, - isSnippet, - hasAction: hasAction || undefined, - source, - sourceDisplay, - labelDetails, - isRecommended, - isPackageJsonImport, - isImportStatementCompletion, - data, - commitCharacters, + hasAction: entry.hasAction || undefined, + symbol: undefined, }; } }); diff --git a/src/services/classifier.ts b/src/services/classifier.ts index 0e9e509edca..cf2b087aeb8 100644 --- a/src/services/classifier.ts +++ b/src/services/classifier.ts @@ -927,9 +927,9 @@ export function getEncodedSyntacticClassifications(cancellationToken: Cancellati } function tryClassifyTripleSlashComment(start: number, width: number): boolean { - const tripleSlashXMLCommentRegEx = /^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im; + const tripleSlashXMLCommentRegEx = /^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/m; // Require a leading whitespace character (the parser already does) to prevent terrible backtracking performance - const attributeRegex = /(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img; + const attributeRegex = /(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/g; const text = sourceFile.text.substr(start, width); const match = tripleSlashXMLCommentRegEx.exec(text); diff --git a/src/services/codefixes/convertTypedefToType.ts b/src/services/codefixes/convertTypedefToType.ts index 70d02fb8466..51e6290d46e 100644 --- a/src/services/codefixes/convertTypedefToType.ts +++ b/src/services/codefixes/convertTypedefToType.ts @@ -147,7 +147,7 @@ function findEndOfTextBetween(jsDocComment: JSDoc, from: number, to: number): nu const comment = jsDocComment.getText().substring(from - jsDocComment.getStart(), to - jsDocComment.getStart()); for (let i = comment.length; i > 0; i--) { - if (!/[*/\s]/g.test(comment.substring(i - 1, i))) { + if (!/[*/\s]/.test(comment.substring(i - 1, i))) { return from + i; } } diff --git a/src/services/codefixes/fixAddMissingConstraint.ts b/src/services/codefixes/fixAddMissingConstraint.ts index fad9a8f003a..ba1e7aa0279 100644 --- a/src/services/codefixes/fixAddMissingConstraint.ts +++ b/src/services/codefixes/fixAddMissingConstraint.ts @@ -123,7 +123,7 @@ function addMissingConstraint(changes: textChanges.ChangeTracker, program: Progr const scriptTarget = getEmitScriptTarget(program.getCompilerOptions()); const tracker = getNoopSymbolTrackerWithResolver({ program, host }); const importAdder = createImportAdder(sourceFile, program, preferences, host); - const typeNode = typeToAutoImportableTypeNode(checker, importAdder, constraint, /*contextNode*/ undefined, scriptTarget, /*flags*/ undefined, tracker); + const typeNode = typeToAutoImportableTypeNode(checker, importAdder, constraint, /*contextNode*/ undefined, scriptTarget, /*flags*/ undefined, /*internalFlags*/ undefined, tracker); if (typeNode) { changes.replaceNode(sourceFile, declaration, factory.updateTypeParameterDeclaration(declaration, /*modifiers*/ undefined, declaration.name, typeNode, declaration.default)); importAdder.writeFixes(changes); diff --git a/src/services/codefixes/fixAddMissingMember.ts b/src/services/codefixes/fixAddMissingMember.ts index 42f4310ffba..77bec1ed7f1 100644 --- a/src/services/codefixes/fixAddMissingMember.ts +++ b/src/services/codefixes/fixAddMissingMember.ts @@ -55,6 +55,7 @@ import { Identifier, idText, InterfaceDeclaration, + InternalNodeBuilderFlags, isCallExpression, isClassLike, isComputedPropertyName, @@ -369,7 +370,7 @@ function getInfo(sourceFile: SourceFile, tokenPos: number, errorCode: number, ch const moduleDeclaration = find(symbol.declarations, isModuleDeclaration); const moduleDeclarationSourceFile = moduleDeclaration?.getSourceFile(); if (moduleDeclaration && moduleDeclarationSourceFile && !isSourceFileFromLibrary(program, moduleDeclarationSourceFile)) { - return { kind: InfoKind.Function, token, call: parent.parent, sourceFile, modifierFlags: ModifierFlags.Export, parentDeclaration: moduleDeclaration }; + return { kind: InfoKind.Function, token, call: parent.parent, sourceFile: moduleDeclarationSourceFile, modifierFlags: ModifierFlags.Export, parentDeclaration: moduleDeclaration }; } const moduleSourceFile = find(symbol.declarations, isSourceFile); @@ -493,11 +494,11 @@ function getTypeNode(checker: TypeChecker, node: ClassLikeDeclaration | Interfac const binaryExpression = token.parent.parent as BinaryExpression; const otherExpression = token.parent === binaryExpression.left ? binaryExpression.right : binaryExpression.left; const widenedType = checker.getWidenedType(checker.getBaseTypeOfLiteralType(checker.getTypeAtLocation(otherExpression))); - typeNode = checker.typeToTypeNode(widenedType, node, NodeBuilderFlags.NoTruncation); + typeNode = checker.typeToTypeNode(widenedType, node, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames); } else { const contextualType = checker.getContextualType(token.parent as Expression); - typeNode = contextualType ? checker.typeToTypeNode(contextualType, /*enclosingDeclaration*/ undefined, NodeBuilderFlags.NoTruncation) : undefined; + typeNode = contextualType ? checker.typeToTypeNode(contextualType, /*enclosingDeclaration*/ undefined, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames) : undefined; } return typeNode || factory.createKeywordTypeNode(SyntaxKind.AnyKeyword); } @@ -775,7 +776,7 @@ function tryGetContainingMethodDeclaration(node: ClassLikeDeclaration | Interfac function createPropertyNameFromSymbol(symbol: Symbol, target: ScriptTarget, quotePreference: QuotePreference, checker: TypeChecker) { if (isTransientSymbol(symbol)) { - const prop = checker.symbolToNode(symbol, SymbolFlags.Value, /*enclosingDeclaration*/ undefined, NodeBuilderFlags.WriteComputedProps); + const prop = checker.symbolToNode(symbol, SymbolFlags.Value, /*enclosingDeclaration*/ undefined, /*flags*/ undefined, InternalNodeBuilderFlags.WriteComputedProps); if (prop && isComputedPropertyName(prop)) return prop; } // We're using these nodes as property names in an object literal; no need to quote names when not needed. diff --git a/src/services/codefixes/fixAddMissingParam.ts b/src/services/codefixes/fixAddMissingParam.ts index c5ac4f25b2b..65c9cf86158 100644 --- a/src/services/codefixes/fixAddMissingParam.ts +++ b/src/services/codefixes/fixAddMissingParam.ts @@ -26,6 +26,7 @@ import { getNameOfDeclaration, getSourceFileOfNode, getTokenAtPosition, + InternalNodeBuilderFlags, isAccessExpression, isCallExpression, isIdentifier, @@ -221,7 +222,7 @@ function tryGetName(node: FunctionLikeDeclaration) { } function typeToTypeNode(checker: TypeChecker, type: Type, enclosingDeclaration: Node) { - return checker.typeToTypeNode(checker.getWidenedType(type), enclosingDeclaration, NodeBuilderFlags.NoTruncation) + return checker.typeToTypeNode(checker.getWidenedType(type), enclosingDeclaration, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames) ?? factory.createKeywordTypeNode(SyntaxKind.UnknownKeyword); } diff --git a/src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts b/src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts index d5dacd51dc5..a0dd5aa5e58 100644 --- a/src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts +++ b/src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts @@ -108,7 +108,7 @@ function addMissingDeclarations( function createMissingIndexSignatureDeclaration(type: InterfaceType, kind: IndexKind): void { const indexInfoOfKind = checker.getIndexInfoOfType(type, kind); if (indexInfoOfKind) { - insertInterfaceMemberNode(sourceFile, classDeclaration, checker.indexInfoToIndexSignatureDeclaration(indexInfoOfKind, classDeclaration, /*flags*/ undefined, getNoopSymbolTrackerWithResolver(context))!); + insertInterfaceMemberNode(sourceFile, classDeclaration, checker.indexInfoToIndexSignatureDeclaration(indexInfoOfKind, classDeclaration, /*flags*/ undefined, /*internalFlags*/ undefined, getNoopSymbolTrackerWithResolver(context))!); } } diff --git a/src/services/codefixes/fixMissingTypeAnnotationOnExports.ts b/src/services/codefixes/fixMissingTypeAnnotationOnExports.ts index 440fc4d05c4..4d961dfa979 100644 --- a/src/services/codefixes/fixMissingTypeAnnotationOnExports.ts +++ b/src/services/codefixes/fixMissingTypeAnnotationOnExports.ts @@ -1,3 +1,12 @@ +import { + createCodeFixAction, + createCombinedCodeActions, + createImportAdder, + eachDiagnostic, + registerCodeFix, + typePredicateToAutoImportableTypeNode, + typeToAutoImportableTypeNode, +} from "../_namespaces/ts.codefix.js"; import { ArrayBindingPattern, ArrayLiteralExpression, @@ -36,6 +45,7 @@ import { hasInitializer, hasSyntacticModifier, Identifier, + InternalNodeBuilderFlags, isArrayBindingPattern, isArrayLiteralExpression, isAssertionExpression, @@ -91,21 +101,13 @@ import { TypeChecker, TypeFlags, TypeNode, + TypePredicate, UnionReduction, VariableDeclaration, VariableStatement, walkUpParenthesizedExpressions, } from "../_namespaces/ts.js"; - -import { - createCodeFixAction, - createCombinedCodeActions, - createImportAdder, - eachDiagnostic, - registerCodeFix, - typeToAutoImportableTypeNode, -} from "../_namespaces/ts.codefix.js"; -import { getIdentifierForNode } from "../refactors/helpers.js"; +import { getIdentifierForNode } from "../_namespaces/ts.refactor.js"; const fixId = "fixMissingTypeAnnotationOnExports"; @@ -158,8 +160,9 @@ const declarationEmitNodeBuilderFlags = NodeBuilderFlags.MultilineObjectLiterals | NodeBuilderFlags.UseStructuralFallback | NodeBuilderFlags.AllowEmptyTuple | NodeBuilderFlags.GenerateNamesForShadowedTypeParams - | NodeBuilderFlags.NoTruncation - | NodeBuilderFlags.WriteComputedProps; + | NodeBuilderFlags.NoTruncation; + +const declarationEmitInternalNodeBuilderFlags = InternalNodeBuilderFlags.WriteComputedProps; enum TypePrintMode { // Prints its fully spelled out type @@ -872,9 +875,28 @@ function withContext( return relativeType(node); } - let type = isValueSignatureDeclaration(node) ? - tryGetReturnType(node) : - typeChecker.getTypeAtLocation(node); + let type: Type | undefined; + + if (isValueSignatureDeclaration(node)) { + const signature = typeChecker.getSignatureFromDeclaration(node); + if (signature) { + const typePredicate = typeChecker.getTypePredicateOfSignature(signature); + if (typePredicate) { + if (!typePredicate.type) { + return emptyInferenceResult; + } + return { + typeNode: typePredicateToTypeNode(typePredicate, findAncestor(node, isDeclaration) ?? sourceFile, getFlags(typePredicate.type)), + mutatedTarget: false, + }; + } + type = typeChecker.getReturnTypeOfSignature(signature); + } + } + else { + type = typeChecker.getTypeAtLocation(node); + } + if (!type) { return emptyInferenceResult; } @@ -892,18 +914,22 @@ function withContext( type = widenedType; } - if (isParameter(node) && typeChecker.requiresAddingImplicitUndefined(node)) { + const enclosingDeclaration = findAncestor(node, isDeclaration) ?? sourceFile; + if (isParameter(node) && typeChecker.requiresAddingImplicitUndefined(node, enclosingDeclaration)) { type = typeChecker.getUnionType([typeChecker.getUndefinedType(), type], UnionReduction.None); } - const flags = ( - isVariableDeclaration(node) || - (isPropertyDeclaration(node) && hasSyntacticModifier(node, ModifierFlags.Static | ModifierFlags.Readonly)) - ) && type.flags & TypeFlags.UniqueESSymbol ? - NodeBuilderFlags.AllowUniqueESSymbolType : NodeBuilderFlags.None; return { - typeNode: typeToTypeNode(type, findAncestor(node, isDeclaration) ?? sourceFile, flags), + typeNode: typeToTypeNode(type, enclosingDeclaration, getFlags(type)), mutatedTarget: false, }; + + function getFlags(type: Type) { + return ( + isVariableDeclaration(node) || + (isPropertyDeclaration(node) && hasSyntacticModifier(node, ModifierFlags.Static | ModifierFlags.Readonly)) + ) && type.flags & TypeFlags.UniqueESSymbol ? + NodeBuilderFlags.AllowUniqueESSymbolType : NodeBuilderFlags.None; + } } function createTypeOfFromEntityNameExpression(node: EntityNameExpression) { @@ -1072,7 +1098,7 @@ function withContext( function typeToTypeNode(type: Type, enclosingDeclaration: Node, flags = NodeBuilderFlags.None) { let isTruncated = false; - const result = typeToAutoImportableTypeNode(typeChecker, importAdder, type, enclosingDeclaration, scriptTarget, declarationEmitNodeBuilderFlags | flags, { + const result = typeToAutoImportableTypeNode(typeChecker, importAdder, type, enclosingDeclaration, scriptTarget, declarationEmitNodeBuilderFlags | flags, declarationEmitInternalNodeBuilderFlags, { moduleResolverHost: program, trackSymbol() { return true; @@ -1084,11 +1110,18 @@ function withContext( return isTruncated ? factory.createKeywordTypeNode(SyntaxKind.AnyKeyword) : result; } - function tryGetReturnType(node: SignatureDeclaration): Type | undefined { - const signature = typeChecker.getSignatureFromDeclaration(node); - if (signature) { - return typeChecker.getReturnTypeOfSignature(signature); - } + function typePredicateToTypeNode(typePredicate: TypePredicate, enclosingDeclaration: Node, flags = NodeBuilderFlags.None): TypeNode | undefined { + let isTruncated = false; + const result = typePredicateToAutoImportableTypeNode(typeChecker, importAdder, typePredicate, enclosingDeclaration, scriptTarget, declarationEmitNodeBuilderFlags | flags, declarationEmitInternalNodeBuilderFlags, { + moduleResolverHost: program, + trackSymbol() { + return true; + }, + reportTruncationError() { + isTruncated = true; + }, + }); + return isTruncated ? factory.createKeywordTypeNode(SyntaxKind.AnyKeyword) : result; } function addTypeToVariableLike(decl: ParameterDeclaration | VariableDeclaration | PropertyDeclaration): DiagnosticOrDiagnosticAndArguments | undefined { diff --git a/src/services/codefixes/helpers.ts b/src/services/codefixes/helpers.ts index 0c4db514f8c..656f3dce112 100644 --- a/src/services/codefixes/helpers.ts +++ b/src/services/codefixes/helpers.ts @@ -41,6 +41,7 @@ import { hasAbstractModifier, Identifier, idText, + InternalNodeBuilderFlags, IntersectionType, isArrowFunction, isAutoAccessorPropertyDeclaration, @@ -105,6 +106,7 @@ import { TypeFlags, TypeNode, TypeParameterDeclaration, + TypePredicate, unescapeLeadingUnderscores, UnionType, UserPreferences, @@ -221,7 +223,7 @@ export function addNewNodeForMemberSymbol( case SyntaxKind.PropertyDeclaration: let flags = NodeBuilderFlags.NoTruncation; flags |= quotePreference === QuotePreference.Single ? NodeBuilderFlags.UseSingleQuotesForStringLiteralType : 0; - let typeNode = checker.typeToTypeNode(type, enclosingDeclaration, flags, getNoopSymbolTrackerWithResolver(context)); + let typeNode = checker.typeToTypeNode(type, enclosingDeclaration, flags, InternalNodeBuilderFlags.AllowUnresolvedNames, getNoopSymbolTrackerWithResolver(context)); if (importAdder) { const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget); if (importableReference) { @@ -240,7 +242,7 @@ export function addNewNodeForMemberSymbol( case SyntaxKind.GetAccessor: case SyntaxKind.SetAccessor: { Debug.assertIsDefined(declarations); - let typeNode = checker.typeToTypeNode(type, enclosingDeclaration, /*flags*/ undefined, getNoopSymbolTrackerWithResolver(context)); + let typeNode = checker.typeToTypeNode(type, enclosingDeclaration, /*flags*/ undefined, /*internalFlags*/ undefined, getNoopSymbolTrackerWithResolver(context)); const allAccessors = getAllAccessorDeclarations(declarations, declaration as AccessorDeclaration); const orderedAccessors = allAccessors.secondAccessor ? [allAccessors.firstAccessor, allAccessors.secondAccessor] @@ -299,6 +301,9 @@ export function addNewNodeForMemberSymbol( } for (const signature of signatures) { + if (signature.declaration && (signature.declaration.flags & NodeFlags.Ambient)) { + continue; + } // Ensure nodes are fresh so they can have different positions when going through formatting. outputMethod(quotePreference, signature, modifiers, createName(declarationName)); } @@ -391,7 +396,7 @@ export function createSignatureDeclarationFromSignature( | NodeBuilderFlags.SuppressAnyReturnType | NodeBuilderFlags.AllowEmptyTuple | (quotePreference === QuotePreference.Single ? NodeBuilderFlags.UseSingleQuotesForStringLiteralType : NodeBuilderFlags.None); - const signatureDeclaration = checker.signatureToSignatureDeclaration(signature, kind, enclosingDeclaration, flags, getNoopSymbolTrackerWithResolver(context)) as ArrowFunction | FunctionExpression | MethodDeclaration | FunctionDeclaration; + const signatureDeclaration = checker.signatureToSignatureDeclaration(signature, kind, enclosingDeclaration, flags, InternalNodeBuilderFlags.AllowUnresolvedNames, getNoopSymbolTrackerWithResolver(context)) as ArrowFunction | FunctionExpression | MethodDeclaration | FunctionDeclaration; if (!signatureDeclaration) { return undefined; } @@ -505,6 +510,7 @@ export function createSignatureDeclarationFromCallExpression( contextNode, scriptTarget, NodeBuilderFlags.NoTruncation, + InternalNodeBuilderFlags.AllowUnresolvedNames, tracker, ); @@ -518,7 +524,7 @@ export function createSignatureDeclarationFromCallExpression( const parameters = createDummyParameters(args.length, names, argumentTypeNodes, /*minArgumentCount*/ undefined, isJs); const type = isJs || contextualType === undefined ? undefined - : checker.typeToTypeNode(contextualType, contextNode, /*flags*/ undefined, tracker); + : checker.typeToTypeNode(contextualType, contextNode, /*flags*/ undefined, /*internalFlags*/ undefined, tracker); switch (kind) { case SyntaxKind.MethodDeclaration: @@ -588,8 +594,8 @@ function createTypeParameterName(index: number) { } /** @internal */ -export function typeToAutoImportableTypeNode(checker: TypeChecker, importAdder: ImportAdder, type: Type, contextNode: Node | undefined, scriptTarget: ScriptTarget, flags?: NodeBuilderFlags, tracker?: SymbolTracker): TypeNode | undefined { - let typeNode = checker.typeToTypeNode(type, contextNode, flags, tracker); +export function typeToAutoImportableTypeNode(checker: TypeChecker, importAdder: ImportAdder, type: Type, contextNode: Node | undefined, scriptTarget: ScriptTarget, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker): TypeNode | undefined { + let typeNode = checker.typeToTypeNode(type, contextNode, flags, internalFlags, tracker); if (typeNode && isImportTypeNode(typeNode)) { const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget); if (importableReference) { @@ -602,6 +608,20 @@ export function typeToAutoImportableTypeNode(checker: TypeChecker, importAdder: return getSynthesizedDeepClone(typeNode); } +/** @internal */ +export function typePredicateToAutoImportableTypeNode(checker: TypeChecker, importAdder: ImportAdder, typePredicate: TypePredicate, contextNode: Node | undefined, scriptTarget: ScriptTarget, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker): TypeNode | undefined { + let typePredicateNode = checker.typePredicateToTypePredicateNode(typePredicate, contextNode, flags, internalFlags, tracker); + if (typePredicateNode?.type && isImportTypeNode(typePredicateNode.type)) { + const importableReference = tryGetAutoImportableReferenceFromTypeNode(typePredicateNode.type, scriptTarget); + if (importableReference) { + importSymbols(importAdder, importableReference.symbols); + typePredicateNode = factory.updateTypePredicateNode(typePredicateNode, typePredicateNode.assertsModifier, typePredicateNode.parameterName, importableReference.typeNode); + } + } + // Ensure nodes are fresh so they can have different positions when going through formatting. + return getSynthesizedDeepClone(typePredicateNode); +} + function typeContainsTypeParameter(type: Type) { if (type.isUnionOrIntersection()) { return type.types.some(typeContainsTypeParameter); @@ -610,7 +630,7 @@ function typeContainsTypeParameter(type: Type) { return type.flags & TypeFlags.TypeParameter; } -function getArgumentTypesAndTypeParameters(checker: TypeChecker, importAdder: ImportAdder, instanceTypes: Type[], contextNode: Node | undefined, scriptTarget: ScriptTarget, flags?: NodeBuilderFlags, tracker?: SymbolTracker) { +function getArgumentTypesAndTypeParameters(checker: TypeChecker, importAdder: ImportAdder, instanceTypes: Type[], contextNode: Node | undefined, scriptTarget: ScriptTarget, flags?: NodeBuilderFlags, internalFlags?: InternalNodeBuilderFlags, tracker?: SymbolTracker) { // Types to be used as the types of the parameters in the new function // E.g. from this source: // added("", 0) @@ -653,7 +673,7 @@ function getArgumentTypesAndTypeParameters(checker: TypeChecker, importAdder: Im // Widen the type so we don't emit nonsense annotations like "function fn(x: 3) {" const widenedInstanceType = checker.getBaseTypeOfLiteralType(instanceType); - const argumentTypeNode = typeToAutoImportableTypeNode(checker, importAdder, widenedInstanceType, contextNode, scriptTarget, flags, tracker); + const argumentTypeNode = typeToAutoImportableTypeNode(checker, importAdder, widenedInstanceType, contextNode, scriptTarget, flags, internalFlags, tracker); if (!argumentTypeNode) { continue; } @@ -671,7 +691,7 @@ function getArgumentTypesAndTypeParameters(checker: TypeChecker, importAdder: Im // We instead want to output: // function added(value: T) { ... } const instanceTypeConstraint = instanceType.isTypeParameter() && instanceType.constraint && !isAnonymousObjectConstraintType(instanceType.constraint) - ? typeToAutoImportableTypeNode(checker, importAdder, instanceType.constraint, contextNode, scriptTarget, flags, tracker) + ? typeToAutoImportableTypeNode(checker, importAdder, instanceType.constraint, contextNode, scriptTarget, flags, internalFlags, tracker) : undefined; if (argumentTypeParameter) { @@ -780,7 +800,7 @@ function createMethodImplementingSignatures( function getReturnTypeFromSignatures(signatures: readonly Signature[], checker: TypeChecker, context: TypeConstructionContext, enclosingDeclaration: ClassLikeDeclaration): TypeNode | undefined { if (length(signatures)) { const type = checker.getUnionType(map(signatures, checker.getReturnTypeOfSignature)); - return checker.typeToTypeNode(type, enclosingDeclaration, NodeBuilderFlags.NoTruncation, getNoopSymbolTrackerWithResolver(context)); + return checker.typeToTypeNode(type, enclosingDeclaration, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames, getNoopSymbolTrackerWithResolver(context)); } } diff --git a/src/services/codefixes/importFixes.ts b/src/services/codefixes/importFixes.ts index aa5efcee158..9940c1794ed 100644 --- a/src/services/codefixes/importFixes.ts +++ b/src/services/codefixes/importFixes.ts @@ -35,6 +35,7 @@ import { ExportKind, ExportMapInfoKey, factory, + fileContainsPackageImport, findAncestor, first, firstDefined, @@ -1543,7 +1544,7 @@ function getExportInfos( const moduleSpecifierResolutionHost = getModuleSpecifierResolutionHost(isFromPackageJson); if ( toFile && isImportableFile(program, fromFile, toFile, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache) || - !toFile && packageJsonFilter.allowsImportingAmbientModule(moduleSymbol, moduleSpecifierResolutionHost) + (!toFile && packageJsonFilter.allowsImportingAmbientModule(moduleSymbol, moduleSpecifierResolutionHost) || fileContainsPackageImport(fromFile, stripQuotes(moduleSymbol.name))) ) { const checker = program.getTypeChecker(); originalSymbolToExportInfos.add(getUniqueSymbolId(exportedSymbol, checker).toString(), { symbol: exportedSymbol, moduleSymbol, moduleFileName: toFile?.fileName, exportKind, targetFlags: skipAlias(exportedSymbol, checker).flags, isFromPackageJson }); diff --git a/src/services/completions.ts b/src/services/completions.ts index 1300005c8b5..0eb234a7a53 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -63,6 +63,7 @@ import { Expression, ExpressionWithTypeArguments, factory, + fileContainsPackageImport, filter, find, findAncestor, @@ -84,7 +85,6 @@ import { getEffectiveBaseTypeNode, getEffectiveModifierFlags, getEffectiveTypeAnnotationNode, - getEmitModuleResolutionKind, getEmitScriptTarget, getEscapedTextOfIdentifierOrLiteral, getEscapedTextOfJsxAttributeName, @@ -106,6 +106,7 @@ import { getPropertyNameForPropertyNameNode, getQuotePreference, getReplacementSpanForContextToken, + getResolvePackageJsonExports, getRootDeclaration, getSourceFileOfModule, getSwitchedType, @@ -301,7 +302,6 @@ import { ModuleDeclaration, moduleExportNameTextEscaped, ModuleReference, - moduleResolutionSupportsPackageJsonExportsAndImports, NamedImportBindings, newCaseClauseTracker, Node, @@ -629,12 +629,16 @@ function resolvingModuleSpecifiers( cb: (context: ModuleSpecifierResolutionContext) => TReturn, ): TReturn { const start = timestamp(); - // Under `--moduleResolution nodenext`, we have to resolve module specifiers up front, because + // Under `--moduleResolution nodenext` or `bundler`, we have to resolve module specifiers up front, because // package.json exports can mean we *can't* resolve a module specifier (that doesn't include a // relative path into node_modules), and we want to filter those completions out entirely. // Import statement completions always need specifier resolution because the module specifier is // part of their `insertText`, not the `codeActions` creating edits away from the cursor. - const needsFullResolution = isForImportStatementCompletion || moduleResolutionSupportsPackageJsonExportsAndImports(getEmitModuleResolutionKind(program.getCompilerOptions())); + // Finally, `autoImportSpecifierExcludeRegexes` necessitates eagerly resolving module specifiers + // because completion items are being explcitly filtered out by module specifier. + const needsFullResolution = isForImportStatementCompletion + || getResolvePackageJsonExports(program.getCompilerOptions()) + || preferences.autoImportSpecifierExcludeRegexes?.length; let skippedAny = false; let ambientCount = 0; let resolvedCount = 0; @@ -2324,7 +2328,7 @@ function createObjectLiteralMethod( // We don't support overloads in object literals. return undefined; } - const typeNode = checker.typeToTypeNode(effectiveType, enclosingDeclaration, builderFlags, codefix.getNoopSymbolTrackerWithResolver({ program, host })); + const typeNode = checker.typeToTypeNode(effectiveType, enclosingDeclaration, builderFlags, /*internalFlags*/ undefined, codefix.getNoopSymbolTrackerWithResolver({ program, host })); if (!typeNode || !isFunctionTypeNode(typeNode)) { return undefined; } @@ -4204,9 +4208,8 @@ function getCompletionData( if (JsTyping.nodeCoreModules.has(moduleName) && startsWith(moduleName, "node:") !== shouldUseUriStyleNodeCoreModules(sourceFile, program)) { return false; } - return packageJsonFilter - ? packageJsonFilter.allowsImportingAmbientModule(info.moduleSymbol, getModuleSpecifierResolutionHost(info.isFromPackageJson)) - : true; + return (packageJsonFilter?.allowsImportingAmbientModule(info.moduleSymbol, getModuleSpecifierResolutionHost(info.isFromPackageJson)) ?? true) + || fileContainsPackageImport(sourceFile, moduleName); } return isImportableFile( info.isFromPackageJson ? packageJsonAutoImportProvider! : program, @@ -5524,9 +5527,17 @@ function getJsDocTagAtPosition(node: Node, position: number): JSDocTag | undefin /** @internal */ export function getPropertiesForObjectExpression(contextualType: Type, completionsType: Type | undefined, obj: ObjectLiteralExpression | JsxAttributes, checker: TypeChecker): Symbol[] { const hasCompletionsType = completionsType && completionsType !== contextualType; + const promiseFilteredContextualType = checker.getUnionType( + filter( + contextualType.flags & TypeFlags.Union ? + (contextualType as UnionType).types : + [contextualType], + t => !checker.getPromisedTypeOfPromise(t), + ), + ); const type = hasCompletionsType && !(completionsType.flags & TypeFlags.AnyOrUnknown) - ? checker.getUnionType([contextualType, completionsType]) - : contextualType; + ? checker.getUnionType([promiseFilteredContextualType, completionsType]) + : promiseFilteredContextualType; const properties = getApparentProperties(type, obj, checker); return type.isClass() && containsNonPublicProperties(properties) ? [] : diff --git a/src/services/exportInfoMap.ts b/src/services/exportInfoMap.ts index 4873d6eac42..e551b2c81a7 100644 --- a/src/services/exportInfoMap.ts +++ b/src/services/exportInfoMap.ts @@ -374,7 +374,7 @@ export function isImportableFile( if (from === to) return false; const cachedResult = moduleSpecifierCache?.get(from.path, to.path, preferences, {}); if (cachedResult?.isBlockedByPackageJsonDependencies !== undefined) { - return !cachedResult.isBlockedByPackageJsonDependencies; + return !cachedResult.isBlockedByPackageJsonDependencies || !!cachedResult.packageName && fileContainsPackageImport(from, cachedResult.packageName); } const getCanonicalFileName = hostGetCanonicalFileName(moduleSpecifierResolutionHost); @@ -394,14 +394,19 @@ export function isImportableFile( ); if (packageJsonFilter) { - const isAutoImportable = hasImportablePath && packageJsonFilter.allowsImportingSourceFile(to, moduleSpecifierResolutionHost); - moduleSpecifierCache?.setBlockedByPackageJsonDependencies(from.path, to.path, preferences, {}, !isAutoImportable); - return isAutoImportable; + const importInfo = hasImportablePath ? packageJsonFilter.getSourceFileInfo(to, moduleSpecifierResolutionHost) : undefined; + moduleSpecifierCache?.setBlockedByPackageJsonDependencies(from.path, to.path, preferences, {}, importInfo?.packageName, !importInfo?.importable); + return !!importInfo?.importable || !!importInfo?.packageName && fileContainsPackageImport(from, importInfo.packageName); } return hasImportablePath; } +/** @internal */ +export function fileContainsPackageImport(sourceFile: SourceFile, packageName: string) { + return sourceFile.imports && sourceFile.imports.some(i => i.text === packageName || i.text.startsWith(packageName + "/")); +} + /** * Don't include something from a `node_modules` that isn't actually reachable by a global import. * A relative import to node_modules is usually a bad idea. diff --git a/src/services/goToDefinition.ts b/src/services/goToDefinition.ts index 0d388a808c6..9a47d90ce1d 100644 --- a/src/services/goToDefinition.ts +++ b/src/services/goToDefinition.ts @@ -46,6 +46,7 @@ import { isBindingElement, isCallLikeExpression, isCallOrNewExpressionTarget, + isClassDeclaration, isClassElement, isClassExpression, isClassLike, @@ -228,16 +229,20 @@ export function getDefinitionAtPosition(program: Program, sourceFile: SourceFile // Don't go to the component constructor definition for a JSX element, just go to the component definition. if (calledDeclaration && !(isJsxOpeningLikeElement(node.parent) && isJsxConstructorLike(calledDeclaration))) { const sigInfo = createDefinitionFromSignatureDeclaration(typeChecker, calledDeclaration, failedAliasResolution); + // For a function, if this is the original function definition, return just sigInfo. // If this is the original constructor definition, parent is the class. + // Here, we filter declarations to not duplicate returned definitions. + let declarationFilter: (d: Declaration) => boolean = d => d !== calledDeclaration; if (typeChecker.getRootSymbols(symbol).some(s => symbolMatchesSignature(s, calledDeclaration))) { - return [sigInfo]; - } - else { - const defs = getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution, calledDeclaration) || emptyArray; - // For a 'super()' call, put the signature first, else put the variable first. - return node.kind === SyntaxKind.SuperKeyword ? [sigInfo, ...defs] : [...defs, sigInfo]; + if (!isConstructorDeclaration(calledDeclaration)) return [sigInfo]; + + // If we found a constructor declaration, we also look for class declarations as definitions + declarationFilter = (d: Declaration) => d !== calledDeclaration && (isClassDeclaration(d) || isClassExpression(d)); } + const defs = getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution, declarationFilter) || emptyArray; + // For a 'super()' call, put the signature first, else put the variable first. + return node.kind === SyntaxKind.SuperKeyword ? [sigInfo, ...defs] : [...defs, sigInfo]; } // Because name in short-hand property assignment has two different meanings: property name and property value, @@ -584,9 +589,10 @@ function isExpandoDeclaration(node: Declaration): boolean { return !!containingAssignment && getAssignmentDeclarationKind(containingAssignment) === AssignmentDeclarationKind.Property; } -function getDefinitionFromSymbol(typeChecker: TypeChecker, symbol: Symbol, node: Node, failedAliasResolution?: boolean, excludeDeclaration?: Node): DefinitionInfo[] | undefined { - const filteredDeclarations = filter(symbol.declarations, d => d !== excludeDeclaration); - const signatureDefinition = getConstructSignatureDefinition() || getCallSignatureDefinition(); +function getDefinitionFromSymbol(typeChecker: TypeChecker, symbol: Symbol, node: Node, failedAliasResolution?: boolean, declarationFilter?: (d: Declaration) => boolean): DefinitionInfo[] | undefined { + const filteredDeclarations = declarationFilter !== undefined ? filter(symbol.declarations, declarationFilter) : symbol.declarations; + // If we have a declaration filter, we are looking for specific declaration(s), so we should not return prematurely. + const signatureDefinition = !declarationFilter && (getConstructSignatureDefinition() || getCallSignatureDefinition()); if (signatureDefinition) { return signatureDefinition; } diff --git a/src/services/inlayHints.ts b/src/services/inlayHints.ts index ce779052a05..a3e54cf2378 100644 --- a/src/services/inlayHints.ts +++ b/src/services/inlayHints.ts @@ -119,6 +119,7 @@ import { TupleTypeReference, Type, TypeFlags, + TypePredicate, unescapeLeadingUnderscores, UserPreferences, usingSingleLineStringWriter, @@ -405,6 +406,16 @@ export function provideInlayHints(context: InlayHintsContext): InlayHint[] { return; } + const typePredicate = checker.getTypePredicateOfSignature(signature); + + if (typePredicate?.type) { + const hintParts = typePredicateToInlayHintParts(typePredicate); + if (hintParts) { + addTypeHints(hintParts, getTypeAnnotationPosition(decl)); + return; + } + } + const returnType = checker.getReturnTypeOfSignature(signature); if (isModuleReferenceType(returnType)) { return; @@ -474,6 +485,17 @@ export function provideInlayHints(context: InlayHintsContext): InlayHint[] { }); } + function printTypePredicateInSingleLine(typePredicate: TypePredicate) { + const flags = NodeBuilderFlags.IgnoreErrors | NodeBuilderFlags.AllowUniqueESSymbolType | NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope; + const printer = createPrinterWithRemoveComments(); + + return usingSingleLineStringWriter(writer => { + const typePredicateNode = checker.typePredicateToTypePredicateNode(typePredicate, /*enclosingDeclaration*/ undefined, flags); + Debug.assertIsDefined(typePredicateNode, "should always get typePredicateNode"); + printer.writeNode(EmitHint.Unspecified, typePredicateNode, /*sourceFile*/ file, writer); + }); + } + function typeToInlayHintParts(type: Type): InlayHintDisplayPart[] | string { if (!shouldUseInteractiveInlayHints(preferences)) { return printTypeInSingleLine(type); @@ -481,10 +503,24 @@ export function provideInlayHints(context: InlayHintsContext): InlayHint[] { const flags = NodeBuilderFlags.IgnoreErrors | NodeBuilderFlags.AllowUniqueESSymbolType | NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope; const typeNode = checker.typeToTypeNode(type, /*enclosingDeclaration*/ undefined, flags); - Debug.assertIsDefined(typeNode, "should always get typenode"); + Debug.assertIsDefined(typeNode, "should always get typeNode"); + return getInlayHintDisplayParts(typeNode); + } + function typePredicateToInlayHintParts(typePredicate: TypePredicate): InlayHintDisplayPart[] | string { + if (!shouldUseInteractiveInlayHints(preferences)) { + return printTypePredicateInSingleLine(typePredicate); + } + + const flags = NodeBuilderFlags.IgnoreErrors | NodeBuilderFlags.AllowUniqueESSymbolType | NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope; + const typeNode = checker.typePredicateToTypePredicateNode(typePredicate, /*enclosingDeclaration*/ undefined, flags); + Debug.assertIsDefined(typeNode, "should always get typenode"); + return getInlayHintDisplayParts(typeNode); + } + + function getInlayHintDisplayParts(node: Node) { const parts: InlayHintDisplayPart[] = []; - visitForDisplayParts(typeNode); + visitForDisplayParts(node); return parts; function visitForDisplayParts(node: Node) { diff --git a/src/services/mapCode.ts b/src/services/mapCode.ts index b87ea5e7530..11d9fb5acf2 100644 --- a/src/services/mapCode.ts +++ b/src/services/mapCode.ts @@ -113,11 +113,12 @@ function parse(sourceFile: SourceFile, content: string): NodeArray { } } // Heuristic: fewer errors = more likely to be the right kind. - const { body } = parsedNodes.sort( + parsedNodes.sort( (a, b) => a.sourceFile.parseDiagnostics.length - b.sourceFile.parseDiagnostics.length, - )[0]; + ); + const { body } = parsedNodes[0]; return body; } diff --git a/src/services/navigateTo.ts b/src/services/navigateTo.ts index cb75e147811..e2858e48fed 100644 --- a/src/services/navigateTo.ts +++ b/src/services/navigateTo.ts @@ -164,7 +164,8 @@ function getContainers(declaration: Declaration): readonly string[] { container = getContainerNode(container); } - return containers.reverse(); + containers.reverse(); + return containers; } function compareNavigateToItems(i1: RawNavigateToItem, i2: RawNavigateToItem) { diff --git a/src/services/navigationBar.ts b/src/services/navigationBar.ts index fc2a316361c..6ca2a1804a8 100644 --- a/src/services/navigationBar.ts +++ b/src/services/navigationBar.ts @@ -1100,5 +1100,5 @@ function cleanText(text: string): string { // \r - Carriage Return // \u2028 - Line separator // \u2029 - Paragraph separator - return text.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g, ""); + return text.replace(/\\?(?:\r?\n|[\r\u2028\u2029])/g, ""); } diff --git a/src/services/outliningElementsCollector.ts b/src/services/outliningElementsCollector.ts index 19d1438c6ea..7248133ec8c 100644 --- a/src/services/outliningElementsCollector.ts +++ b/src/services/outliningElementsCollector.ts @@ -60,7 +60,8 @@ export function collectElements(sourceFile: SourceFile, cancellationToken: Cance const res: OutliningSpan[] = []; addNodeOutliningSpans(sourceFile, cancellationToken, res); addRegionOutliningSpans(sourceFile, res); - return res.sort((span1, span2) => span1.textSpan.start - span2.textSpan.start); + res.sort((span1, span2) => span1.textSpan.start - span2.textSpan.start); + return res; } function addNodeOutliningSpans(sourceFile: SourceFile, cancellationToken: CancellationToken, out: OutliningSpan[]): void { @@ -138,14 +139,14 @@ function addRegionOutliningSpans(sourceFile: SourceFile, out: OutliningSpan[]): for (const currentLineStart of lineStarts) { const lineEnd = sourceFile.getLineEndOfPosition(currentLineStart); const lineText = sourceFile.text.substring(currentLineStart, lineEnd); - const result = isRegionDelimiter(lineText); + const result = parseRegionDelimiter(lineText); if (!result || isInComment(sourceFile, currentLineStart)) { continue; } - if (!result[1]) { + if (result.isStart) { const span = createTextSpanFromBounds(sourceFile.text.indexOf("//", currentLineStart), lineEnd); - regions.push(createOutliningSpan(span, OutliningSpanKind.Region, span, /*autoCollapse*/ false, result[2] || "#region")); + regions.push(createOutliningSpan(span, OutliningSpanKind.Region, span, /*autoCollapse*/ false, result.name || "#region")); } else { const region = regions.pop(); @@ -158,8 +159,8 @@ function addRegionOutliningSpans(sourceFile: SourceFile, out: OutliningSpan[]): } } -const regionDelimiterRegExp = /^#(end)?region(?:\s+(.*))?(?:\r)?$/; -function isRegionDelimiter(lineText: string) { +const regionDelimiterRegExp = /^#(end)?region(.*)\r?$/; +function parseRegionDelimiter(lineText: string) { // We trim the leading whitespace and // without the regex since the // multiple potential whitespace matches can make for some gnarly backtracking behavior lineText = lineText.trimStart(); @@ -167,7 +168,11 @@ function isRegionDelimiter(lineText: string) { return null; // eslint-disable-line no-restricted-syntax } lineText = lineText.slice(2).trim(); - return regionDelimiterRegExp.exec(lineText); + const result = regionDelimiterRegExp.exec(lineText); + if (result) { + return { isStart: !result[1], name: result[2].trim() }; + } + return undefined; } function addOutliningForLeadingCommentsForPos(pos: number, sourceFile: SourceFile, cancellationToken: CancellationToken, out: OutliningSpan[]): void { @@ -184,7 +189,7 @@ function addOutliningForLeadingCommentsForPos(pos: number, sourceFile: SourceFil case SyntaxKind.SingleLineCommentTrivia: // never fold region delimiters into single-line comment regions const commentText = sourceText.slice(pos, end); - if (isRegionDelimiter(commentText)) { + if (parseRegionDelimiter(commentText)) { combineAndAddMultipleSingleLineComments(); singleLineCommentCount = 0; break; diff --git a/src/services/pasteEdits.ts b/src/services/pasteEdits.ts index f3b35081678..e39a51bf450 100644 --- a/src/services/pasteEdits.ts +++ b/src/services/pasteEdits.ts @@ -1,22 +1,20 @@ -import { findIndex } from "../compiler/core.js"; import { CancellationToken, - Program, - SourceFile, - Statement, - SymbolFlags, - TextRange, - UserPreferences, -} from "../compiler/types.js"; -import { codefix, Debug, fileShouldUseJavaScriptRequire, + findIndex, forEachChild, formatting, getQuotePreference, isIdentifier, + Program, + SourceFile, + Statement, + SymbolFlags, textChanges, + TextRange, + UserPreferences, } from "./_namespaces/ts.js"; import { addTargetFileImports } from "./refactors/helpers.js"; import { diff --git a/src/services/refactors/extractSymbol.ts b/src/services/refactors/extractSymbol.ts index d5ebc4e3c04..423922f6913 100644 --- a/src/services/refactors/extractSymbol.ts +++ b/src/services/refactors/extractSymbol.ts @@ -61,6 +61,7 @@ import { hasEffectiveModifier, hasSyntacticModifier, Identifier, + InternalNodeBuilderFlags, isArray, isArrowFunction, isAssignmentExpression, @@ -1062,7 +1063,7 @@ function extractFunctionInScope( let type = checker.getTypeOfSymbolAtLocation(usage.symbol, usage.node); // Widen the type so we don't emit nonsense annotations like "function fn(x: 3) {" type = checker.getBaseTypeOfLiteralType(type); - typeNode = codefix.typeToAutoImportableTypeNode(checker, importAdder, type, scope, scriptTarget, NodeBuilderFlags.NoTruncation); + typeNode = codefix.typeToAutoImportableTypeNode(checker, importAdder, type, scope, scriptTarget, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames); } const paramDecl = factory.createParameterDeclaration( @@ -1080,11 +1081,11 @@ function extractFunctionInScope( }); const typeParametersAndDeclarations = arrayFrom(typeParameterUsages.values(), type => ({ type, declaration: getFirstDeclarationBeforePosition(type, context.startPosition) })); - const sortedTypeParametersAndDeclarations = typeParametersAndDeclarations.sort(compareTypesByDeclarationOrder); + typeParametersAndDeclarations.sort(compareTypesByDeclarationOrder); - const typeParameters: readonly TypeParameterDeclaration[] | undefined = sortedTypeParametersAndDeclarations.length === 0 + const typeParameters: readonly TypeParameterDeclaration[] | undefined = typeParametersAndDeclarations.length === 0 ? undefined - : mapDefined(sortedTypeParametersAndDeclarations, ({ declaration }) => declaration as TypeParameterDeclaration); + : mapDefined(typeParametersAndDeclarations, ({ declaration }) => declaration as TypeParameterDeclaration); // Strictly speaking, we should check whether each name actually binds to the appropriate type // parameter. In cases of shadowing, they may not. @@ -1096,7 +1097,7 @@ function extractFunctionInScope( // to avoid problems when there are literal types present if (isExpression(node) && !isJS) { const contextualType = checker.getContextualType(node); - returnType = checker.typeToTypeNode(contextualType!, scope, NodeBuilderFlags.NoTruncation); // TODO: GH#18217 + returnType = checker.typeToTypeNode(contextualType!, scope, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames); // TODO: GH#18217 } const { body, returnValueProperty } = transformFunctionBody(node, exposedVariableDeclarations, writes, substitutions, !!(range.facts & RangeFacts.HasReturn)); @@ -1138,6 +1139,7 @@ function extractFunctionInScope( checker.getTypeAtLocation(range.thisNode!), scope, NodeBuilderFlags.NoTruncation, + InternalNodeBuilderFlags.AllowUnresolvedNames, ), /*initializer*/ undefined, ), @@ -1228,6 +1230,7 @@ function extractFunctionInScope( checker.getBaseTypeOfLiteralType(checker.getTypeAtLocation(variableDeclaration)), scope, NodeBuilderFlags.NoTruncation, + InternalNodeBuilderFlags.AllowUnresolvedNames, ); typeElements.push(factory.createPropertySignature( @@ -1378,7 +1381,7 @@ function extractConstantInScope( let variableType = isJS || !checker.isContextSensitive(node) ? undefined - : checker.typeToTypeNode(checker.getContextualType(node)!, scope, NodeBuilderFlags.NoTruncation); // TODO: GH#18217 + : checker.typeToTypeNode(checker.getContextualType(node)!, scope, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames); // TODO: GH#18217 let initializer = transformConstantInitializer(skipParentheses(node), substitutions); @@ -1512,7 +1515,7 @@ function extractConstantInScope( const paramType = checker.getTypeAtLocation(p); if (paramType === checker.getAnyType()) hasAny = true; - parameters.push(factory.updateParameterDeclaration(p, p.modifiers, p.dotDotDotToken, p.name, p.questionToken, p.type || checker.typeToTypeNode(paramType, scope, NodeBuilderFlags.NoTruncation), p.initializer)); + parameters.push(factory.updateParameterDeclaration(p, p.modifiers, p.dotDotDotToken, p.name, p.questionToken, p.type || checker.typeToTypeNode(paramType, scope, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames), p.initializer)); } } // If a parameter was inferred as any we skip adding function parameters at all. @@ -1521,7 +1524,7 @@ function extractConstantInScope( if (hasAny) return { variableType, initializer }; variableType = undefined; if (isArrowFunction(initializer)) { - initializer = factory.updateArrowFunction(initializer, canHaveModifiers(node) ? getModifiers(node) : undefined, initializer.typeParameters, parameters, initializer.type || checker.typeToTypeNode(functionSignature.getReturnType(), scope, NodeBuilderFlags.NoTruncation), initializer.equalsGreaterThanToken, initializer.body); + initializer = factory.updateArrowFunction(initializer, canHaveModifiers(node) ? getModifiers(node) : undefined, initializer.typeParameters, parameters, initializer.type || checker.typeToTypeNode(functionSignature.getReturnType(), scope, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames), initializer.equalsGreaterThanToken, initializer.body); } else { if (functionSignature && !!functionSignature.thisParameter) { @@ -1538,7 +1541,7 @@ function extractConstantInScope( /*dotDotDotToken*/ undefined, "this", /*questionToken*/ undefined, - checker.typeToTypeNode(thisType, scope, NodeBuilderFlags.NoTruncation), + checker.typeToTypeNode(thisType, scope, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames), ), ); } diff --git a/src/services/refactors/inferFunctionReturnType.ts b/src/services/refactors/inferFunctionReturnType.ts index 3bf9bdb1afa..d147fbbed19 100644 --- a/src/services/refactors/inferFunctionReturnType.ts +++ b/src/services/refactors/inferFunctionReturnType.ts @@ -11,6 +11,7 @@ import { FunctionExpression, getLocaleSpecificMessage, getTouchingPropertyName, + InternalNodeBuilderFlags, isArrowFunction, isBlock, isInJSFile, @@ -24,7 +25,6 @@ import { SyntaxKind, textChanges, Type, - TypeChecker, TypeNode, } from "../_namespaces/ts.js"; import { @@ -113,12 +113,36 @@ function getInfo(context: RefactorContext): FunctionInfo | RefactorErrorInfo | u } const typeChecker = context.program.getTypeChecker(); - const returnType = tryGetReturnType(typeChecker, declaration); + + let returnType: Type | undefined; + + if (typeChecker.isImplementationOfOverload(declaration)) { + const signatures = typeChecker.getTypeAtLocation(declaration).getCallSignatures(); + if (signatures.length > 1) { + returnType = typeChecker.getUnionType(mapDefined(signatures, s => s.getReturnType())); + } + } + if (!returnType) { + const signature = typeChecker.getSignatureFromDeclaration(declaration); + if (signature) { + const typePredicate = typeChecker.getTypePredicateOfSignature(signature); + if (typePredicate && typePredicate.type) { + const typePredicateTypeNode = typeChecker.typePredicateToTypePredicateNode(typePredicate, declaration, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames); + if (typePredicateTypeNode) { + return { declaration, returnTypeNode: typePredicateTypeNode }; + } + } + else { + returnType = typeChecker.getReturnTypeOfSignature(signature); + } + } + } + if (!returnType) { return { error: getLocaleSpecificMessage(Diagnostics.Could_not_determine_function_return_type) }; } - const returnTypeNode = typeChecker.typeToTypeNode(returnType, declaration, NodeBuilderFlags.NoTruncation); + const returnTypeNode = typeChecker.typeToTypeNode(returnType, declaration, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames); if (returnTypeNode) { return { declaration, returnTypeNode }; } @@ -135,16 +159,3 @@ function isConvertibleDeclaration(node: Node): node is ConvertibleDeclaration { return false; } } - -function tryGetReturnType(typeChecker: TypeChecker, node: ConvertibleDeclaration): Type | undefined { - if (typeChecker.isImplementationOfOverload(node)) { - const signatures = typeChecker.getTypeAtLocation(node).getCallSignatures(); - if (signatures.length > 1) { - return typeChecker.getUnionType(mapDefined(signatures, s => s.getReturnType())); - } - } - const signature = typeChecker.getSignatureFromDeclaration(node); - if (signature) { - return typeChecker.getReturnTypeOfSignature(signature); - } -} diff --git a/src/services/refactors/inlineVariable.ts b/src/services/refactors/inlineVariable.ts index 0bcf841ce39..d18b94f0447 100644 --- a/src/services/refactors/inlineVariable.ts +++ b/src/services/refactors/inlineVariable.ts @@ -24,6 +24,9 @@ import { isObjectLiteralExpression, isPropertyAccessExpression, isShorthandPropertyAssignment, + isStringLiteral, + isTaggedTemplateExpression, + isTemplateSpan, isTypeQueryNode, isVariableDeclarationInVariableStatement, isVariableStatement, @@ -33,11 +36,14 @@ import { refactor, some, SourceFile, + StringLiteral, SymbolFlags, + TemplateSpan, textChanges, textRangeContainsPositionInclusive, TypeChecker, VariableDeclaration, + walkUpParenthesizedExpressions, } from "../_namespaces/ts.js"; import { RefactorErrorInfo, @@ -115,7 +121,13 @@ registerRefactor(refactorName, { const { references, declaration, replacement } = info; const edits = textChanges.ChangeTracker.with(context, tracker => { for (const node of references) { - tracker.replaceNode(file, node, getReplacementExpression(node, replacement)); + const closestStringIdentifierParent = isStringLiteral(replacement) && isIdentifier(node) && walkUpParenthesizedExpressions(node.parent); + if (closestStringIdentifierParent && isTemplateSpan(closestStringIdentifierParent) && !isTaggedTemplateExpression(closestStringIdentifierParent.parent.parent)) { + replaceTemplateStringVariableWithLiteral(tracker, file, closestStringIdentifierParent, replacement); + } + else { + tracker.replaceNode(file, node, getReplacementExpression(node, replacement)); + } } tracker.delete(file, declaration); }); @@ -255,3 +267,17 @@ function getReplacementExpression(reference: Node, replacement: Expression) { return replacement; } + +function replaceTemplateStringVariableWithLiteral(tracker: textChanges.ChangeTracker, sourceFile: SourceFile, reference: TemplateSpan, replacement: StringLiteral) { + const templateExpression = reference.parent; + const index = templateExpression.templateSpans.indexOf(reference); + const prevNode = index === 0 ? templateExpression.head : templateExpression.templateSpans[index - 1]; + tracker.replaceRangeWithText( + sourceFile, + { + pos: prevNode.getEnd() - 2, + end: reference.literal.getStart() + 1, + }, + replacement.text.replace(/\\/g, "\\\\").replace(/`/g, "\\`"), + ); +} diff --git a/src/services/refactors/moveToFile.ts b/src/services/refactors/moveToFile.ts index da6d806a06f..85c040013ed 100644 --- a/src/services/refactors/moveToFile.ts +++ b/src/services/refactors/moveToFile.ts @@ -1,4 +1,3 @@ -import { getModuleSpecifier } from "../../compiler/_namespaces/ts.moduleSpecifiers.js"; import { ApplicableRefactorInfo, arrayFrom, @@ -118,6 +117,7 @@ import { ModifierLike, ModuleDeclaration, ModuleKind, + moduleSpecifiers, moduleSpecifierToValidIdentifier, NamedImportBindings, Node, @@ -157,8 +157,10 @@ import { VariableDeclarationList, VariableStatement, } from "../_namespaces/ts.js"; -import { addTargetFileImports } from "../_namespaces/ts.refactor.js"; -import { registerRefactor } from "../refactorProvider.js"; +import { + addTargetFileImports, + registerRefactor, +} from "../_namespaces/ts.refactor.js"; const refactorNameForMoveToFile = "Move to file"; const description = getLocaleSpecificMessage(Diagnostics.Move_to_file); @@ -358,7 +360,7 @@ function updateImportsInOtherFiles( if (getStringComparer(!program.useCaseSensitiveFileNames())(pathToTargetFileWithExtension, sourceFile.fileName) === Comparison.EqualTo) return; - const newModuleSpecifier = getModuleSpecifier(program.getCompilerOptions(), sourceFile, sourceFile.fileName, pathToTargetFileWithExtension, createModuleSpecifierResolutionHost(program, host)); + const newModuleSpecifier = moduleSpecifiers.getModuleSpecifier(program.getCompilerOptions(), sourceFile, sourceFile.fileName, pathToTargetFileWithExtension, createModuleSpecifierResolutionHost(program, host)); const newImportDeclaration = filterImport(importNode, makeStringLiteral(newModuleSpecifier, quotePreference), shouldMove); if (newImportDeclaration) changes.insertNodeAfter(sourceFile, statement, newImportDeclaration); diff --git a/src/services/services.ts b/src/services/services.ts index 6a189b4b217..5bccc5fc677 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -2674,8 +2674,9 @@ export function createLanguageService( synchronizeHostData(); Debug.assert(args.type === "file"); const sourceFile = getValidSourceFile(args.fileName); - const formatContext = formatting.getFormatContext(formatOptions, host); + if (containsParseError(sourceFile)) return emptyArray; + const formatContext = formatting.getFormatContext(formatOptions, host); const mode = args.mode ?? (args.skipDestructiveCodeActions ? OrganizeImportsMode.SortAndCombine : OrganizeImportsMode.All); return OrganizeImports.organizeImports(sourceFile, formatContext, host, program, preferences, mode); } @@ -3165,7 +3166,7 @@ export function createLanguageService( // // The following three regexps are used to match the start of the text up to the TODO // comment portion. - const singleLineCommentStart = /(?:\/\/+\s*)/.source; + const singleLineCommentStart = /(?:\/{2,}\s*)/.source; const multiLineCommentStart = /(?:\/\*+\s*)/.source; const anyNumberOfSpacesAndAsterisksAtStartOfLine = /(?:^(?:\s|\*)*)/.source; diff --git a/src/services/sourcemaps.ts b/src/services/sourcemaps.ts index dffc7f51ea8..a8c168eb320 100644 --- a/src/services/sourcemaps.ts +++ b/src/services/sourcemaps.ts @@ -27,7 +27,7 @@ import { tryParseRawSourceMap, } from "./_namespaces/ts.js"; -const base64UrlRegExp = /^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+/=]+)$)?/; +const base64UrlRegExp = /^data:(?:application\/json;charset=[uU][tT][fF]-8;base64,([A-Za-z0-9+/=]+)$)?/; /** @internal */ export interface SourceMapper { diff --git a/src/services/stringCompletions.ts b/src/services/stringCompletions.ts index a26959d57f2..667cdf24ca8 100644 --- a/src/services/stringCompletions.ts +++ b/src/services/stringCompletions.ts @@ -1,4 +1,3 @@ -import { getModuleSpecifierPreferences } from "../compiler/moduleSpecifiers.js"; import { CompletionKind, createCompletionDetails, @@ -823,7 +822,7 @@ function getFilenameWithExtensionOption(name: string, program: Program, extensio return { name, extension: tryGetExtensionFromPath(name) }; } - let allowedEndings = getModuleSpecifierPreferences( + let allowedEndings = moduleSpecifiers.getModuleSpecifierPreferences( { importModuleSpecifierEnding: extensionOptions.endingPreference }, program, program.getCompilerOptions(), diff --git a/src/services/suggestionDiagnostics.ts b/src/services/suggestionDiagnostics.ts index a5daf3e6666..3c4cf5c39b9 100644 --- a/src/services/suggestionDiagnostics.ts +++ b/src/services/suggestionDiagnostics.ts @@ -97,7 +97,8 @@ export function computeSuggestionDiagnostics(sourceFile: SourceFile, program: Pr addRange(diags, sourceFile.bindSuggestionDiagnostics); addRange(diags, program.getSuggestionDiagnostics(sourceFile, cancellationToken)); - return diags.sort((d1, d2) => d1.start - d2.start); + diags.sort((d1, d2) => d1.start - d2.start); + return diags; function check(node: Node) { if (isJsFile) { diff --git a/src/services/transpile.ts b/src/services/transpile.ts index 86622ea3e35..95722c88a5c 100644 --- a/src/services/transpile.ts +++ b/src/services/transpile.ts @@ -149,6 +149,7 @@ function transpileWorker(input: string, transpileOptions: TranspileOptions, decl } else { options.declaration = false; + options.declarationMap = false; } const newLine = getNewLineCharacter(options); diff --git a/src/services/utilities.ts b/src/services/utilities.ts index 55ab684196e..4f5cbf8d7d4 100644 --- a/src/services/utilities.ts +++ b/src/services/utilities.ts @@ -132,6 +132,7 @@ import { ImportTypeNode, indexOfNode, IndexSignatureDeclaration, + InternalNodeBuilderFlags, InternalSymbolName, isAmbientModule, isAnyImportSyntax, @@ -3440,7 +3441,7 @@ export function getTypeNodeIfAccessible(type: Type, enclosingScope: Node, progra const checker = program.getTypeChecker(); let typeIsAccessible = true; const notAccessible = () => typeIsAccessible = false; - const res = checker.typeToTypeNode(type, enclosingScope, NodeBuilderFlags.NoTruncation, { + const res = checker.typeToTypeNode(type, enclosingScope, NodeBuilderFlags.NoTruncation, InternalNodeBuilderFlags.AllowUnresolvedNames, { trackSymbol: (symbol, declaration, meaning) => { typeIsAccessible = typeIsAccessible && checker.isSymbolAccessible(symbol, declaration, meaning, /*shouldComputeAliasToMarkVisible*/ false).accessibility === SymbolAccessibility.Accessible; return !typeIsAccessible; @@ -3739,7 +3740,7 @@ export function createPackageJsonInfo(fileName: string, host: { readFile?(fileNa /** @internal */ export interface PackageJsonImportFilter { allowsImportingAmbientModule: (moduleSymbol: Symbol, moduleSpecifierResolutionHost: ModuleSpecifierResolutionHost) => boolean; - allowsImportingSourceFile: (sourceFile: SourceFile, moduleSpecifierResolutionHost: ModuleSpecifierResolutionHost) => boolean; + getSourceFileInfo: (sourceFile: SourceFile, moduleSpecifierResolutionHost: ModuleSpecifierResolutionHost) => { importable: boolean; packageName?: string; }; /** * Use for a specific module specifier that has already been resolved. * Use `allowsImportingAmbientModule` or `allowsImportingSourceFile` to resolve @@ -3756,10 +3757,10 @@ export function createPackageJsonImportFilter(fromFile: SourceFile | FutureSourc let usesNodeCoreModules: boolean | undefined; let ambientModuleCache: Map | undefined; - let sourceFileCache: Map | undefined; + let sourceFileCache: Map | undefined; return { allowsImportingAmbientModule, - allowsImportingSourceFile, + getSourceFileInfo, allowsImportingSpecifier, }; @@ -3807,9 +3808,9 @@ export function createPackageJsonImportFilter(fromFile: SourceFile | FutureSourc return result; } - function allowsImportingSourceFile(sourceFile: SourceFile, moduleSpecifierResolutionHost: ModuleSpecifierResolutionHost): boolean { + function getSourceFileInfo(sourceFile: SourceFile, moduleSpecifierResolutionHost: ModuleSpecifierResolutionHost): { importable: boolean; packageName?: string; } { if (!packageJsons.length) { - return true; + return { importable: true, packageName: undefined }; } if (!sourceFileCache) { @@ -3822,13 +3823,15 @@ export function createPackageJsonImportFilter(fromFile: SourceFile | FutureSourc } } - const moduleSpecifier = getNodeModulesPackageNameFromFileName(sourceFile.fileName, moduleSpecifierResolutionHost); - if (!moduleSpecifier) { - sourceFileCache.set(sourceFile, true); - return true; + const packageName = getNodeModulesPackageNameFromFileName(sourceFile.fileName, moduleSpecifierResolutionHost); + if (!packageName) { + const result = { importable: true, packageName }; + sourceFileCache.set(sourceFile, result); + return result; } - const result = moduleSpecifierIsCoveredByPackageJson(moduleSpecifier); + const importable = moduleSpecifierIsCoveredByPackageJson(packageName); + const result = { importable, packageName }; sourceFileCache.set(sourceFile, result); return result; } diff --git a/src/testRunner/runner.ts b/src/testRunner/runner.ts index b460ab810c5..f33b71114e1 100644 --- a/src/testRunner/runner.ts +++ b/src/testRunner/runner.ts @@ -31,7 +31,7 @@ function runTests(runners: RunnerBase[]) { for (const full of runner.enumerateTestFiles()) { const base = vpath.basename(full).toLowerCase(); // allow existing dupes in fourslash/shims and fourslash/server - if (seen.has(base) && !/fourslash\/(shim|server)/.test(full)) { + if (seen.has(base) && !/fourslash\/(?:shim|server)/.test(full)) { dupes.push([seen.get(base)!, full]); } else { @@ -52,7 +52,7 @@ function tryGetConfig(args: string[]) { const prefix = "--config="; const configPath = ts.forEach(args, arg => arg.lastIndexOf(prefix, 0) === 0 && arg.substr(prefix.length)); // strip leading and trailing quotes from the path (necessary on Windows since shell does not do it automatically) - return configPath && configPath.replace(/(^["'])|(["']$)/g, ""); + return configPath && configPath.replace(/^["']|["']$/g, ""); } export function createRunner(kind: TestRunnerKind): RunnerBase { diff --git a/src/testRunner/unittests/config/initializeTSConfig.ts b/src/testRunner/unittests/config/initializeTSConfig.ts index 713c693d0e8..916bc9f3ac3 100644 --- a/src/testRunner/unittests/config/initializeTSConfig.ts +++ b/src/testRunner/unittests/config/initializeTSConfig.ts @@ -6,7 +6,7 @@ describe("unittests:: config:: initTSConfig", () => { describe(name, () => { const commandLine = ts.parseCommandLine(commandLinesArgs); const initResult = ts.generateTSConfig(commandLine.options, commandLine.fileNames, "\n"); - const outputFileName = `config/initTSConfig/${name.replace(/[^a-z0-9\-. ]/ig, "")}/tsconfig.json`; + const outputFileName = `config/initTSConfig/${name.replace(/[^a-z0-9\-. ]/gi, "")}/tsconfig.json`; it(`Correct output for ${outputFileName}`, () => { Harness.Baseline.runBaseline(outputFileName, initResult, { PrintDiff: true }); diff --git a/src/testRunner/unittests/config/showConfig.ts b/src/testRunner/unittests/config/showConfig.ts index 0061df800a2..350b18c06ed 100644 --- a/src/testRunner/unittests/config/showConfig.ts +++ b/src/testRunner/unittests/config/showConfig.ts @@ -4,7 +4,7 @@ import * as ts from "../../_namespaces/ts.js"; describe("unittests:: config:: showConfig", () => { function showTSConfigCorrectly(name: string, commandLinesArgs: string[], configJson?: object) { describe(name, () => { - const outputFileName = `config/showConfig/${name.replace(/[^a-z0-9\-./ ]/ig, "")}/tsconfig.json`; + const outputFileName = `config/showConfig/${name.replace(/[^a-z0-9\-./ ]/gi, "")}/tsconfig.json`; it(`Correct output for ${outputFileName}`, () => { const cwd = `/${name}`; diff --git a/src/testRunner/unittests/evaluation/asyncGenerator.ts b/src/testRunner/unittests/evaluation/asyncGenerator.ts index 78c54bde923..bcfff9215b0 100644 --- a/src/testRunner/unittests/evaluation/asyncGenerator.ts +++ b/src/testRunner/unittests/evaluation/asyncGenerator.ts @@ -83,4 +83,26 @@ describe("unittests:: evaluation:: asyncGeneratorEvaluation", () => { { done: true, value: 2 }, ]); }); + it("Supports global `AsyncIterator.prototype` if present", () => { + class AsyncIterator {} + const { gen } = evaluator.evaluateTypeScript( + ` + export async function * gen() {} + `, + { target: ts.ScriptTarget.ES5 }, + { AsyncIterator }, + ); + const g = gen(); + assert.instanceOf(g, AsyncIterator); + }); + it("Ignores global `AsyncIterator.prototype` if missing", () => { + const { gen } = evaluator.evaluateTypeScript( + ` + export async function * gen() {} + `, + { target: ts.ScriptTarget.ES5 }, + { AsyncIterator: undefined }, + ); + gen(); + }); }); diff --git a/src/testRunner/unittests/evaluation/awaitUsingDeclarations.ts b/src/testRunner/unittests/evaluation/awaitUsingDeclarations.ts index 2ba072b2122..6cd8864e857 100644 --- a/src/testRunner/unittests/evaluation/awaitUsingDeclarations.ts +++ b/src/testRunner/unittests/evaluation/awaitUsingDeclarations.ts @@ -1874,4 +1874,140 @@ describe("unittests:: evaluation:: awaitUsingDeclarations", () => { "catch", ]); }); + + it("deterministic collapse of Await", async () => { + const { main, output } = evaluator.evaluateTypeScript( + ` + export const output: any[] = []; + + let asyncId = 0; + function increment() { asyncId++; } + + export async function main() { + // increment asyncId at the top of each turn of the microtask queue + let pending = Promise.resolve(); + for (let i = 0; i < 10; i++) { + pending = pending.then(increment); + } + + { + using sync1 = { [Symbol.dispose]() { output.push(asyncId); } }; // asyncId: 2 + await using async1 = null, async2 = null; + using sync2 = { [Symbol.dispose]() { output.push(asyncId); } }; // asyncId: 1 + await using async3 = null, async4 = null; + output.push(asyncId); // asyncId: 0 + } + + output.push(asyncId); // asyncId: Ideally, 2, but ends up being 4 due to delays imposed by 'await' + + await pending; // wait for the remaining 'increment' frames to complete. + } + + `, + { target: ts.ScriptTarget.ES2018 }, + ); + + await main(); + + assert.deepEqual(output, [ + 0, + 1, + 2, + + // This really should be 2, but our transpile introduces an extra `await` by necessity to observe the + // result of __disposeResources. The process of adopting the result ends up taking two turns of the + // microtask queue. + 4, + ]); + }); + + it("'await using' with downlevel generators", async () => { + abstract class Iterator { + return?(): void; + [evaluator.FakeSymbol.iterator]() { + return this; + } + [evaluator.FakeSymbol.dispose]() { + this.return?.(); + } + } + + const { main } = evaluator.evaluateTypeScript( + ` + let exited = false; + + function * f() { + try { + yield; + } + finally { + exited = true; + } + } + + export async function main() { + { + await using g = f(); + g.next(); + } + + return exited; + } + `, + { + target: ts.ScriptTarget.ES5, + }, + { + Iterator, + }, + ); + + const exited = await main(); + assert.isTrue(exited, "Expected 'await using' to dispose generator"); + }); + + it("'await using' with downlevel async generators", async () => { + abstract class AsyncIterator { + return?(): PromiseLike; + [evaluator.FakeSymbol.asyncIterator]() { + return this; + } + async [evaluator.FakeSymbol.asyncDispose]() { + await this.return?.(); + } + } + + const { main } = evaluator.evaluateTypeScript( + ` + let exited = false; + + async function * f() { + try { + yield; + } + finally { + exited = true; + } + } + + export async function main() { + { + await using g = f(); + await g.next(); + } + + return exited; + } + `, + { + target: ts.ScriptTarget.ES5, + }, + { + AsyncIterator, + }, + ); + + const exited = await main(); + assert.isTrue(exited, "Expected 'await using' to dispose async generator"); + }); }); diff --git a/src/testRunner/unittests/evaluation/generator.ts b/src/testRunner/unittests/evaluation/generator.ts index 06f22c3680f..4b1e3a1ffd3 100644 --- a/src/testRunner/unittests/evaluation/generator.ts +++ b/src/testRunner/unittests/evaluation/generator.ts @@ -39,4 +39,26 @@ describe("unittests:: evaluation:: generatorEvaluation", () => { assert.deepEqual(g.next(), { value: undefined, done: true }); assert.deepEqual(output, []); }); + it("Supports global `Iterator.prototype` if present", () => { + class Iterator {} + const { gen } = evaluator.evaluateTypeScript( + ` + export function * gen() {} + `, + { target: ts.ScriptTarget.ES5 }, + { Iterator }, + ); + const g = gen(); + assert.instanceOf(g, Iterator); + }); + it("Ignores global `Iterator.prototype` if missing", () => { + const { gen } = evaluator.evaluateTypeScript( + ` + export function * gen() {} + `, + { target: ts.ScriptTarget.ES5 }, + { Iterator: undefined }, + ); + gen(); + }); }); diff --git a/src/testRunner/unittests/evaluation/usingDeclarations.ts b/src/testRunner/unittests/evaluation/usingDeclarations.ts index f244e27844b..64bfa12416b 100644 --- a/src/testRunner/unittests/evaluation/usingDeclarations.ts +++ b/src/testRunner/unittests/evaluation/usingDeclarations.ts @@ -1811,49 +1811,48 @@ describe("unittests:: evaluation:: usingDeclarations", () => { ]); }); - it("deterministic collapse of Await", async () => { - const { main, output } = evaluator.evaluateTypeScript( - ` - export const output: any[] = []; - - let asyncId = 0; - function increment() { asyncId++; } - - export async function main() { - // increment asyncId at the top of each turn of the microtask queue - let pending = Promise.resolve(); - for (let i = 0; i < 10; i++) { - pending = pending.then(increment); + it("'using' with downlevel generators", () => { + abstract class Iterator { + return?(): void; + [evaluator.FakeSymbol.iterator]() { + return this; } - - { - using sync1 = { [Symbol.dispose]() { output.push(asyncId); } }; // asyncId: 2 - await using async1 = null, async2 = null; - using sync2 = { [Symbol.dispose]() { output.push(asyncId); } }; // asyncId: 1 - await using async3 = null, async4 = null; - output.push(asyncId); // asyncId: 0 + [evaluator.FakeSymbol.dispose]() { + this.return?.(); } - - output.push(asyncId); // asyncId: Ideally, 2, but ends up being 4 due to delays imposed by 'await' - - await pending; // wait for the remaining 'increment' frames to complete. } + const { main } = evaluator.evaluateTypeScript( + ` + let exited = false; + + function * f() { + try { + yield; + } + finally { + exited = true; + } + } + + export function main() { + { + using g = f(); + g.next(); + } + + return exited; + } `, - { target: ts.ScriptTarget.ES2018 }, + { + target: ts.ScriptTarget.ES5, + }, + { + Iterator, + }, ); - await main(); - - assert.deepEqual(output, [ - 0, - 1, - 2, - - // This really should be 2, but our transpile introduces an extra `await` by necessity to observe the - // result of __disposeResources. The process of adopting the result ends up taking two turns of the - // microtask queue. - 4, - ]); + const exited = main(); + assert.isTrue(exited, "Expected 'using' to dispose generator"); }); }); diff --git a/src/testRunner/unittests/helpers/baseline.ts b/src/testRunner/unittests/helpers/baseline.ts index 7f5cc3e7390..aeff3885b94 100644 --- a/src/testRunner/unittests/helpers/baseline.ts +++ b/src/testRunner/unittests/helpers/baseline.ts @@ -7,8 +7,8 @@ import { TestServerHost } from "./virtualFileSystemWithWatch.js"; export function sanitizeSysOutput(output: string) { return output - .replace(/Elapsed::\s[0-9]+(?:\.\d+)?ms/g, "Elapsed:: *ms") - .replace(/[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\s(A|P)M/g, "HH:MM:SS AM"); + .replace(/Elapsed::\s\d+(?:\.\d+)?ms/g, "Elapsed:: *ms") + .replace(/\d\d:\d\d:\d\d\s(?:A|P)M/g, "HH:MM:SS AM"); } export type CommandLineProgram = [ts.Program, ts.BuilderProgram?]; diff --git a/src/testRunner/unittests/helpers/sampleProjectReferences.ts b/src/testRunner/unittests/helpers/sampleProjectReferences.ts index 7c5634c0120..f6a6352398a 100644 --- a/src/testRunner/unittests/helpers/sampleProjectReferences.ts +++ b/src/testRunner/unittests/helpers/sampleProjectReferences.ts @@ -26,7 +26,7 @@ export function getFsContentsForSampleProjectReferencesLogicConfig(withNodeNext? ], }); } -export function getFsContentsForSampleProjectReferences(withNodeNext?: boolean): FsContents { +export function getFsContentsForSampleProjectReferences(withNodeNext?: boolean, skipReferenceCoreFromTest?: boolean): FsContents { return { [libFile.path]: libFile.content, "/user/username/projects/sample1/core/tsconfig.json": jsonToReadableText({ @@ -55,10 +55,14 @@ export function getFsContentsForSampleProjectReferences(withNodeNext?: boolean): export const m = mod; `, "/user/username/projects/sample1/tests/tsconfig.json": jsonToReadableText({ - references: [ - { path: "../core" }, - { path: "../logic" }, - ], + references: !skipReferenceCoreFromTest ? + [ + { path: "../core" }, + { path: "../logic" }, + ] : + [ + { path: "../logic" }, + ], files: ["index.ts"], compilerOptions: { ...getProjectConfigWithNodeNext(withNodeNext), @@ -81,9 +85,9 @@ export function getFsContentsForSampleProjectReferences(withNodeNext?: boolean): }; } -export function getFsForSampleProjectReferences() { +export function getFsForSampleProjectReferences(withNodeNext?: boolean, skipReferenceCoreFromTest?: boolean) { return loadProjectFromFiles( - getFsContentsForSampleProjectReferences(), + getFsContentsForSampleProjectReferences(withNodeNext, skipReferenceCoreFromTest), { cwd: "/user/username/projects/sample1", executingFilePath: libFile.path, @@ -91,9 +95,9 @@ export function getFsForSampleProjectReferences() { ); } -export function getSysForSampleProjectReferences(withNodeNext?: boolean) { +export function getSysForSampleProjectReferences(withNodeNext?: boolean, skipReferenceCoreFromTest?: boolean) { return createWatchedSystem( - getFsContentsForSampleProjectReferences(withNodeNext), + getFsContentsForSampleProjectReferences(withNodeNext, skipReferenceCoreFromTest), { currentDirectory: "/user/username/projects/sample1", }, diff --git a/src/testRunner/unittests/helpers/virtualFileSystemWithWatch.ts b/src/testRunner/unittests/helpers/virtualFileSystemWithWatch.ts index 03f49e7d600..ccc47bd3161 100644 --- a/src/testRunner/unittests/helpers/virtualFileSystemWithWatch.ts +++ b/src/testRunner/unittests/helpers/virtualFileSystemWithWatch.ts @@ -556,33 +556,33 @@ export class TestServerHost implements server.ServerHost, FormatDiagnosticsHost, this.addFileOrFolderInFolder(baseFolder, newFile); } - renameFolder(folderName: string, newFolderName: string) { + renameFolder(folderName: string, newFolderName: string, skipFolderEntryWatches?: true) { const fullPath = getNormalizedAbsolutePath(folderName, this.currentDirectory); const path = this.toPath(fullPath); const folder = this.fs.get(path) as FsFolder; Debug.assert(!!folder); + const newFullPath = getNormalizedAbsolutePath(newFolderName, this.currentDirectory); + const newFolder = this.toFsFolder(newFullPath); + + // Invoke watches for files in the folder as deleted (from old path) + this.renameFolderEntries(folder, newFolder, skipFolderEntryWatches); + // Only remove the folder this.removeFileOrFolder(folder, /*isRenaming*/ true); // Add updated folder with new folder name - const newFullPath = getNormalizedAbsolutePath(newFolderName, this.currentDirectory); - const newFolder = this.toFsFolder(newFullPath); const newPath = newFolder.path; - const basePath = getDirectoryPath(path); - Debug.assert(basePath !== path); - Debug.assert(basePath === getDirectoryPath(newPath)); + const basePath = getDirectoryPath(newPath); + this.ensureFileOrFolder({ path: getDirectoryPath(newFullPath) }); const baseFolder = this.fs.get(basePath) as FsFolder; this.addFileOrFolderInFolder(baseFolder, newFolder); - - // Invoke watches for files in the folder as deleted (from old path) - this.renameFolderEntries(folder, newFolder); } - private renameFolderEntries(oldFolder: FsFolder, newFolder: FsFolder) { + private renameFolderEntries(oldFolder: FsFolder, newFolder: FsFolder, skipWatches: true | undefined) { for (const entry of oldFolder.entries) { this.fs.delete(entry.path); - this.invokeFileAndFsWatches(entry.fullPath, FileWatcherEventKind.Deleted, entry.fullPath); + if (!skipWatches) this.invokeFileAndFsWatches(entry.fullPath, FileWatcherEventKind.Deleted, entry.fullPath); entry.fullPath = combinePaths(newFolder.fullPath, getBaseFileName(entry.fullPath)); entry.path = this.toPath(entry.fullPath); @@ -591,9 +591,9 @@ export class TestServerHost implements server.ServerHost, FormatDiagnosticsHost, } this.fs.set(entry.path, entry); this.setInode(entry.path); - this.invokeFileAndFsWatches(entry.fullPath, FileWatcherEventKind.Created, entry.fullPath); + if (!skipWatches) this.invokeFileAndFsWatches(entry.fullPath, FileWatcherEventKind.Created, entry.fullPath); if (isFsFolder(entry)) { - this.renameFolderEntries(entry, entry); + this.renameFolderEntries(entry, entry, skipWatches); } } } diff --git a/src/testRunner/unittests/jsonParserRecovery.ts b/src/testRunner/unittests/jsonParserRecovery.ts index fb03cbf045a..84458544784 100644 --- a/src/testRunner/unittests/jsonParserRecovery.ts +++ b/src/testRunner/unittests/jsonParserRecovery.ts @@ -7,7 +7,7 @@ describe("unittests:: jsonParserRecovery", () => { const file = ts.parseJsonText(name, text); assert(file.parseDiagnostics.length, "Should have parse errors"); Harness.Baseline.runBaseline( - `jsonParserRecovery/${name.replace(/[^a-z0-9_-]/ig, "_")}.errors.txt`, + `jsonParserRecovery/${name.replace(/[^\w-]/g, "_")}.errors.txt`, Harness.Compiler.getErrorBaseline([{ content: text, unitName: name, diff --git a/src/testRunner/unittests/printer.ts b/src/testRunner/unittests/printer.ts index 76f23ab692f..2e44c6cb73a 100644 --- a/src/testRunner/unittests/printer.ts +++ b/src/testRunner/unittests/printer.ts @@ -100,6 +100,17 @@ describe("unittests:: PrinterAPI", () => { ts.ScriptKind.TSX, )); }); + + // https://github.com/microsoft/TypeScript/issues/59587 + printsCorrectly("lambda type parameter lists in tsx", {}, printer => { + return printer.printFile(ts.createSourceFile( + "source.tsx", + String.raw`export const id = (id: T): T => id`, + ts.ScriptTarget.ESNext, + /*setParentNodes*/ undefined, + ts.ScriptKind.TSX, + )); + }); }); describe("No duplicate ref directives when emiting .d.ts->.d.ts", () => { @@ -115,7 +126,7 @@ describe("unittests:: PrinterAPI", () => { const file = program.getSourceFile("/test.d.ts")!; const printer = ts.createPrinter({ newLine: ts.NewLineKind.CarriageReturnLineFeed }); const output = printer.printFile(file); - assert.equal(output.split(/\r?\n/g).length, 3); + assert.equal(output.split(/\r?\n/).length, 3); }); it("with statements", () => { const host = new fakes.CompilerHost( @@ -129,7 +140,7 @@ describe("unittests:: PrinterAPI", () => { const file = program.getSourceFile("/test.d.ts")!; const printer = ts.createPrinter({ newLine: ts.NewLineKind.CarriageReturnLineFeed }); const output = printer.printFile(file); - assert.equal(output.split(/\r?\n/g).length, 4); + assert.equal(output.split(/\r?\n/).length, 4); }); }); diff --git a/src/testRunner/unittests/services/extract/ranges.ts b/src/testRunner/unittests/services/extract/ranges.ts index 9fd9bee8beb..c54760476dd 100644 --- a/src/testRunner/unittests/services/extract/ranges.ts +++ b/src/testRunner/unittests/services/extract/ranges.ts @@ -1,7 +1,7 @@ import * as ts from "../../../_namespaces/ts.js"; import { extractTest } from "./helpers.js"; -function testExtractRangeFailed(caption: string, s: string, expectedErrors: string[]) { +function testExtractRangeFailed(caption: string, s: string, expectedErrors: readonly string[]) { return it(caption, () => { const t = extractTest(s); const file = ts.createSourceFile("a.ts", t.source, ts.ScriptTarget.Latest, /*setParentNodes*/ true); @@ -12,7 +12,7 @@ function testExtractRangeFailed(caption: string, s: string, expectedErrors: stri const result = ts.refactor.extractSymbol.getRangeToExtract(file, ts.createTextSpanFromRange(selectionRange), /*invoked*/ false); assert(result.targetRange === undefined, "failure expected"); const sortedErrors = result.errors.map(e => e.messageText as string).sort(); - assert.deepEqual(sortedErrors, expectedErrors.sort(), "unexpected errors"); + assert.deepEqual(sortedErrors, expectedErrors.slice().sort(), "unexpected errors"); }); } diff --git a/src/testRunner/unittests/services/organizeImports.ts b/src/testRunner/unittests/services/organizeImports.ts index 23ce1cafe4c..b7bac1ef850 100644 --- a/src/testRunner/unittests/services/organizeImports.ts +++ b/src/testRunner/unittests/services/organizeImports.ts @@ -470,6 +470,28 @@ console.log(A, B, a, b);`, console.log(A, B, a, b);`, }); + testOrganizeImports("parseErrors", /*skipDestructiveCodeActions*/ false, { + path: "/test.js", + content: `declare module 'mod1' { + declare export type P = {| + |}; + declare export type F = {| + ...$Exact, + await?: Span, + |}; + declare export type S = {| + |}; + declare export type C = {| + |}; +} + +declare module 'mod2' { + import type { + U, + } from 'mod1'; +}`, + }); + testOrganizeImports("Renamed_used", /*skipDestructiveCodeActions*/ false, { path: "/test.ts", content: ` @@ -822,8 +844,7 @@ import { React, Other } from "react"; `, }, reactLibFile); - // TS files are not JSX contexts, so the parser does not treat - // `
` as a JSX element. + // TS files are not JSX contexts, so the parser does not treat `
` as a JSX element. testOrganizeImports("JsxFactoryUsedTs", /*skipDestructiveCodeActions*/ false, { path: "/test.ts", content: ` @@ -1049,19 +1070,32 @@ export * from "lib"; const { path: testPath, content: testContent } = testFile; const languageService = makeLanguageService(testFile, ...otherFiles); const changes = languageService.organizeImports({ skipDestructiveCodeActions, type: "file", fileName: testPath }, ts.testFormatSettings, ts.emptyOptions); - assert.equal(changes.length, 1); - assert.equal(changes[0].fileName, testPath); - const newText = ts.textChanges.applyChanges(testContent, changes[0].textChanges); - Harness.Baseline.runBaseline( - baselinePath, - [ - "// ==ORIGINAL==", - testContent, - "// ==ORGANIZED==", - newText, - ].join(newLineCharacter), - ); + if (changes.length !== 0) { + assert.equal(changes.length, 1); + assert.equal(changes[0].fileName, testPath); + + const newText = ts.textChanges.applyChanges(testContent, changes[0].textChanges); + Harness.Baseline.runBaseline( + baselinePath, + [ + "// ==ORIGINAL==", + testContent, + "// ==ORGANIZED==", + newText, + ].join(newLineCharacter), + ); + } + else { + Harness.Baseline.runBaseline( + baselinePath, + [ + "// ==ORIGINAL==", + "// ==NO CHANGES==", + testContent, + ].join(newLineCharacter), + ); + } } function testDetectionBaseline(testName: string, skipDestructiveCodeActions: boolean, testFile: File, ...otherFiles: File[]) { diff --git a/src/testRunner/unittests/services/transpile.ts b/src/testRunner/unittests/services/transpile.ts index 640923c53c6..66faf0e452a 100644 --- a/src/testRunner/unittests/services/transpile.ts +++ b/src/testRunner/unittests/services/transpile.ts @@ -40,7 +40,7 @@ describe("unittests:: services:: Transpile", () => { transpileOptions.reportDiagnostics = true; - const justName = "transpile/" + name.replace(/[^a-z0-9\-. ()=]/ig, "") + (transpileOptions.compilerOptions.jsx ? ts.Extension.Tsx : ts.Extension.Ts); + const justName = "transpile/" + name.replace(/[^a-z0-9\-. ()=]/gi, "") + (transpileOptions.compilerOptions.jsx ? ts.Extension.Tsx : ts.Extension.Ts); const toBeCompiled = [{ unitName, content: input, @@ -294,6 +294,11 @@ var x = 0;`, testVerbatimModuleSyntax: true, }); + transpilesCorrectly("Supports setting 'declarationMap'", "x;", { + options: { compilerOptions: { declarationMap: true }, fileName: "input.js", reportDiagnostics: true }, + testVerbatimModuleSyntax: true, + }); + transpilesCorrectly("Supports setting 'declarationDir'", "x;", { options: { compilerOptions: { declarationDir: "out/declarations" }, fileName: "input.js", reportDiagnostics: true }, testVerbatimModuleSyntax: true, diff --git a/src/testRunner/unittests/tsbuild/sample.ts b/src/testRunner/unittests/tsbuild/sample.ts index 7b5498ecec5..7cffa6cede3 100644 --- a/src/testRunner/unittests/tsbuild/sample.ts +++ b/src/testRunner/unittests/tsbuild/sample.ts @@ -359,6 +359,23 @@ describe("unittests:: tsbuild:: on 'sample1' project", () => { modifyFs: fs => replaceText(fs, "logic/index.ts", "c.multiply(10, 15)", `c.muitply()`), edits: noChangeOnlyRuns, }); + + [false, true].forEach(skipReferenceCoreFromTest => + verifyTsc({ + scenario: "sample1", + subScenario: `skips builds downstream projects if upstream projects have errors with stopBuildOnErrors${skipReferenceCoreFromTest ? " when test does not reference core" : ""}`, + fs: () => getFsForSampleProjectReferences(/*withNodeNext*/ undefined, skipReferenceCoreFromTest), + commandLineArgs: ["--b", "tests", "--verbose", "--stopBuildOnErrors"], + modifyFs: fs => appendText(fs, "core/index.ts", `multiply();`), + edits: [ + noChangeRun, + { + caption: "fix error", + edit: fs => replaceText(fs, "core/index.ts", "multiply();", ""), + }, + ], + }) + ); }); describe("project invalidation", () => { diff --git a/src/testRunner/unittests/tsbuildWatch/programUpdates.ts b/src/testRunner/unittests/tsbuildWatch/programUpdates.ts index d5dfc7d2742..9759e27e9fe 100644 --- a/src/testRunner/unittests/tsbuildWatch/programUpdates.ts +++ b/src/testRunner/unittests/tsbuildWatch/programUpdates.ts @@ -316,6 +316,28 @@ createSomeObject().message;`, } verifyIncrementalErrors("when preserveWatchOutput is not used", ts.emptyArray); verifyIncrementalErrors("when preserveWatchOutput is passed on command line", ["--preserveWatchOutput"]); + verifyIncrementalErrors("when stopBuildOnErrors is passed on command line", ["--stopBuildOnErrors"]); + + [false, true].forEach(skipReferenceCoreFromTest => + verifyTscWatch({ + scenario: "programUpdates", + subScenario: `skips builds downstream projects if upstream projects have errors with stopBuildOnErrors${skipReferenceCoreFromTest ? " when test does not reference core" : ""}`, + sys: () => { + const sys = getSysForSampleProjectReferences(/*withNodeNext*/ undefined, skipReferenceCoreFromTest); + sys.appendFile("core/index.ts", `multiply();`); + return sys; + }, + commandLineArgs: ["--b", "-w", "tests", "--verbose", "--stopBuildOnErrors"], + edits: [{ + caption: "fix error", + edit: sys => sys.replaceFileText("core/index.ts", "multiply();", ""), + timeouts: sys => { + sys.runQueuedTimeoutCallbacks(); + sys.runQueuedTimeoutCallbacks(); + }, + }], + }) + ); describe("when declaration emit errors are present", () => { const solution = "solution"; diff --git a/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts b/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts index ad830d0d92a..d8c76df25df 100644 --- a/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts +++ b/src/testRunner/unittests/tsbuildWatch/watchEnvironment.ts @@ -80,7 +80,7 @@ describe("unittests:: tsbuildWatch:: watchEnvironment:: tsbuild:: watchMode:: wi watchOrSolution: solutionBuilder, }); - function flatArray(arr: T[][]): readonly T[] { + function flatArray(arr: T[][]): readonly T[] { return ts.flatMap(arr, ts.identity); } function pkgs(cb: (index: number) => T): T[] { diff --git a/src/testRunner/unittests/tsc/projectReferences.ts b/src/testRunner/unittests/tsc/projectReferences.ts index d1dda68e078..27a575ca02a 100644 --- a/src/testRunner/unittests/tsc/projectReferences.ts +++ b/src/testRunner/unittests/tsc/projectReferences.ts @@ -115,4 +115,42 @@ describe("unittests:: tsc:: projectReferences::", () => { }), commandLineArgs: ["--p", "src/project"], }); + + verifyTsc({ + scenario: "projectReferences", + subScenario: "importing const enum from referenced project with preserveConstEnums and verbatimModuleSyntax", + fs: () => + loadProjectFromFiles({ + "/src/preserve/index.ts": "export const enum E { A = 1 }", + "/src/preserve/index.d.ts": "export declare const enum E { A = 1 }", + "/src/preserve/tsconfig.json": jsonToReadableText({ + compilerOptions: { + composite: true, + declaration: true, + preserveConstEnums: true, + }, + }), + "/src/no-preserve/index.ts": "export const enum E { A = 1 }", + "/src/no-preserve/index.d.ts": "export declare const enum F { A = 1 }", + "/src/no-preserve/tsconfig.json": jsonToReadableText({ + compilerOptions: { + composite: true, + declaration: true, + preserveConstEnums: false, + }, + }), + "/src/project/index.ts": `import { E } from "../preserve";\nimport { F } from "../no-preserve";\nE.A; F.A;`, + "/src/project/tsconfig.json": jsonToReadableText({ + compilerOptions: { + module: "preserve", + verbatimModuleSyntax: true, + }, + references: [ + { path: "../preserve" }, + { path: "../no-preserve" }, + ], + }), + }), + commandLineArgs: ["--p", "src/project", "--pretty", "false"], + }); }); diff --git a/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts b/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts index 44ea2d57e82..f87ebd36b37 100644 --- a/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts +++ b/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts @@ -526,7 +526,7 @@ describe("unittests:: tsserver:: CachingFileSystemInformation:: tsserverProjectS ts.forEach(filesAndFoldersToAdd, f => { f.path = f.path .replace("/a/b/node_modules/.staging", "/a/b/node_modules") - .replace(/[-.][\d\w][\d\w][\d\w][\d\w][\d\w][\d\w][\d\w][\d\w]/g, ""); + .replace(/[-.]\w\w\w\w\w\w\w\w/g, ""); }); host.deleteFolder(root + "/a/b/node_modules/.staging", /*recursive*/ true); diff --git a/src/testRunner/unittests/tsserver/getEditsForFileRename.ts b/src/testRunner/unittests/tsserver/getEditsForFileRename.ts index e755bff4c3b..44797da8f0b 100644 --- a/src/testRunner/unittests/tsserver/getEditsForFileRename.ts +++ b/src/testRunner/unittests/tsserver/getEditsForFileRename.ts @@ -1,14 +1,20 @@ import * as ts from "../../_namespaces/ts.js"; +import { dedent } from "../../_namespaces/Utils.js"; import { jsonToReadableText } from "../helpers.js"; +import { libContent } from "../helpers/contents.js"; import { baselineTsserverLogs, + closeFilesForSession, openFilesForSession, + protocolTextSpanFromSubstring, TestSession, textSpanFromSubstring, + verifyGetErrRequest, } from "../helpers/tsserver.js"; import { createServerHost, File, + libFile, } from "../helpers/virtualFileSystemWithWatch.js"; describe("unittests:: tsserver:: getEditsForFileRename", () => { @@ -109,4 +115,184 @@ describe("unittests:: tsserver:: getEditsForFileRename", () => { }); baselineTsserverLogs("getEditsForFileRename", "works with file moved to inferred project", session); }); + + [false, true].forEach(withUpdateOpen => + [true, false].forEach(openedBeforeChange => { + [true, false].forEach(closedBeforeChange => { + if (closedBeforeChange && !openedBeforeChange) return; + it(`works with when file is opened ${openedBeforeChange ? "before" : "after"} seeing file existance on the disk${closedBeforeChange ? " closed before change" : ""}${withUpdateOpen ? " with updateOpen" : ""}`, () => { + const oldFilePath = "/home/src/myproject/src/old.ts"; + const host = createServerHost({ + "/home/src/myproject/src/index.ts": `import {} from '@/old';`, + [oldFilePath]: `export const x = 10;`, + "/home/src/myproject/tsconfig.json": jsonToReadableText({ + compilerOptions: { + paths: { + "@/*": ["./src/*"], + }, + }, + }), + [libFile.path]: libFile.content, + }); + const session = new TestSession({ host, canUseWatchEvents: true, canUseEvents: true }); + if (withUpdateOpen) { + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.UpdateOpen, + arguments: { + openFiles: [ + { + file: "/home/src/myproject/src/index.ts", + projectRootPath: "/home/src/myproject", + }, + { + file: oldFilePath, + projectRootPath: "/home/src/myproject", + }, + ], + }, + }); + } + else { + openFilesForSession([ + { file: "/home/src/myproject/src/index.ts", projectRootPath: "/home/src/myproject" }, + { file: oldFilePath, projectRootPath: "/home/src/myproject" }, + ], session); + } + const newFilePath = "/home/src/myproject/src/new.ts"; + host.renameFile(oldFilePath, newFilePath); + if (!openedBeforeChange) session.invokeWatchChanges(); + if (withUpdateOpen) { + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.UpdateOpen, + arguments: { + openFiles: [{ + file: newFilePath, + fileContent: `export const x = 10;`, + projectRootPath: "/home/src/myproject", + }], + closedFiles: [oldFilePath], + }, + }); + } + else { + closeFilesForSession([oldFilePath], session); + openFilesForSession([{ file: newFilePath, projectRootPath: "/home/src/myproject", content: `export const x = 10;` }], session); + } + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.GetEditsForFileRename, + arguments: { oldFilePath, newFilePath }, + }); + if (closedBeforeChange) { + if (withUpdateOpen) { + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.UpdateOpen, + arguments: { closedFiles: [newFilePath] }, + }); + } + else closeFilesForSession([newFilePath], session); + } + if (openedBeforeChange) session.invokeWatchChanges(); + if (!closedBeforeChange) { + if (withUpdateOpen) { + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.UpdateOpen, + arguments: { closedFiles: [newFilePath] }, + }); + } + else closeFilesForSession([newFilePath], session); + } + verifyGetErrRequest({ + session, + files: ["/home/src/myproject/src/index.ts"], + }); + baselineTsserverLogs("getEditsForFileRename", `works with when file is opened ${openedBeforeChange ? "before" : "after"} seeing file existance on the disk${closedBeforeChange ? " closed before change" : ""}${withUpdateOpen ? " with updateOpen" : ""}`, session); + }); + }); + }) + ); + + [true, false].forEach(canUseWatchEvents => + it(`works when moving file to and from folder${canUseWatchEvents ? " canUseWatchEvents" : ""}`, () => { + const alertText = dedent` + export function alert(message: string) { + console.log(\`ALERT: \${message}\`); + } + `; + const projectRootPath = "/home/src/myprojects/project"; + const indexTs = `${projectRootPath}/index.ts`; + const indexFileText = dedent` + import { alert } from '@app/components/whatever/alert'; + alert('Hello, world!'); + `; + const componentsWhatever = `${projectRootPath}/components/whatever`; + const functionsWhatever = `${projectRootPath}/functions/whatever`; + const host = createServerHost({ + "/home/src/myprojects/project/tsconfig.json": jsonToReadableText({ + compilerOptions: { + target: "es2016", + module: "commonjs", + paths: { + "@app/*": [ + "./*", + ], + }, + esModuleInterop: true, + forceConsistentCasingInFileNames: true, + strict: true, + skipLibCheck: true, + }, + }), + [indexTs]: indexFileText, + [`${componentsWhatever}/alert.ts`]: alertText, + [`${functionsWhatever}/placeholder.txt`]: "", + "/a/lib/lib.es2016.full.d.ts": libContent, + }); + const session = new TestSession({ host, canUseWatchEvents, canUseEvents: true }); + openFilesForSession([{ file: indexTs, projectRootPath }], session); + host.renameFolder(componentsWhatever, functionsWhatever, /*skipFolderEntryWatches*/ true); + if (canUseWatchEvents) session.invokeWatchChanges(); + openFilesForSession([{ + file: `${functionsWhatever}/alert.ts`, + content: alertText, + projectRootPath, + }], session); + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.GetEditsForFileRename, + arguments: { oldFilePath: componentsWhatever, newFilePath: functionsWhatever }, + }); + // Apply edit to index.ts + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.UpdateOpen, + arguments: { + changedFiles: [{ + fileName: indexTs, + textChanges: [{ + ...protocolTextSpanFromSubstring(indexFileText, "@app/components/whatever/alert"), + newText: "@app/functions/whatever/alert", + }], + }], + }, + }); + host.runQueuedTimeoutCallbacks(); + host.renameFolder(functionsWhatever, componentsWhatever, /*skipFolderEntryWatches*/ true); + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.UpdateOpen, + arguments: { + openFiles: [{ + file: `${componentsWhatever}/alert.ts`, + fileContent: alertText, + projectRootPath, + }], + closedFiles: [`${functionsWhatever}/alert.ts`], + }, + }); + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.GetEditsForFileRename, + arguments: { oldFilePath: functionsWhatever, newFilePath: componentsWhatever }, + }); + if (canUseWatchEvents) session.invokeWatchChanges(); + host.runQueuedTimeoutCallbacks(); + baselineTsserverLogs("getEditsForFileRename", `works when moving file to and from folder${canUseWatchEvents ? " canUseWatchEvents" : ""}`, session); + }) + ); }); diff --git a/src/testRunner/unittests/tsserver/projects.ts b/src/testRunner/unittests/tsserver/projects.ts index dfa40175390..9ab3439092b 100644 --- a/src/testRunner/unittests/tsserver/projects.ts +++ b/src/testRunner/unittests/tsserver/projects.ts @@ -1375,19 +1375,38 @@ describe("unittests:: tsserver:: projects::", () => { host.runQueuedTimeoutCallbacks(); // file is deleted but watches are not yet invoked - const originalFileExists = host.fileExists; - host.fileExists = s => s === fileA.path ? false : originalFileExists.call(host, s); + const invokeFileWatcher = host.invokeFileWatcher; + const fileWatches: Parameters[] = []; + host.invokeFileWatcher = (fileFullPath, eventKind, modifiedTime) => { + fileWatches.push([fileFullPath, eventKind, modifiedTime]); + }; + const invokeFsWatchesCallbacks = host.invokeFsWatchesCallbacks; + const fsWatches: Parameters[] = []; + host.invokeFsWatchesCallbacks = (fullPath, eventName, eventFullPath, useTildeSuffix) => { + fsWatches.push([fullPath, eventName, eventFullPath, useTildeSuffix]); + }; + const invokeFsWatchesRecursiveCallbacks = host.invokeFsWatchesRecursiveCallbacks; + const fsWatchesRecursive: Parameters[] = []; + host.invokeFsWatchesRecursiveCallbacks = (fullPath, eventName, eventFullPath, useTildeSuffix) => { + fsWatchesRecursive.push([fullPath, eventName, eventFullPath, useTildeSuffix]); + }; + + host.deleteFile(fileA.path); + host.ensureFileOrFolder(fileSubA); closeFilesForSession([fileA], session); // This should create inferred project since fileSubA not on the disk openFile(fileSubA); host.runQueuedTimeoutCallbacks(); // Update configured project and projects for open file - host.fileExists = originalFileExists; + host.invokeFileWatcher = invokeFileWatcher; + host.invokeFsWatchesCallbacks = invokeFsWatchesCallbacks; + host.invokeFsWatchesRecursiveCallbacks = invokeFsWatchesRecursiveCallbacks; // Actually trigger the file move - host.deleteFile(fileA.path); - host.ensureFileOrFolder(fileSubA); + fileWatches.forEach(args => host.invokeFileWatcher(...args)); + fsWatches.forEach(args => host.invokeFsWatchesCallbacks(...args)); + fsWatchesRecursive.forEach(args => host.invokeFsWatchesRecursiveCallbacks(...args)); verifyGetErrRequest({ session, files: [fileB, fileSubA], existingTimeouts: true }); baselineTsserverLogs("projects", "handles delayed directory watch invoke on file creation", session); diff --git a/src/tsserver/nodeServer.ts b/src/tsserver/nodeServer.ts index 6e89f665fe4..376caaa0e6a 100644 --- a/src/tsserver/nodeServer.ts +++ b/src/tsserver/nodeServer.ts @@ -124,7 +124,7 @@ export function initializeNodeSystem(): StartInput { try { this.fd = fs.openSync(this.logFilename, "w"); } - catch (_) { + catch { // swallow the error and keep logging disabled if file cannot be opened } } @@ -280,7 +280,7 @@ export function initializeNodeSystem(): StartInput { const factory = require("./cancellationToken.js"); cancellationToken = factory(sys.args); } - catch (e) { + catch { cancellationToken = ts.server.nullCancellationToken; } diff --git a/src/typingsInstaller/nodeTypingsInstaller.ts b/src/typingsInstaller/nodeTypingsInstaller.ts index 984d7b80c5b..e9fcfdfb533 100644 --- a/src/typingsInstaller/nodeTypingsInstaller.ts +++ b/src/typingsInstaller/nodeTypingsInstaller.ts @@ -28,7 +28,7 @@ class FileLog implements ts.server.typingsInstaller.Log { try { fs.appendFileSync(this.logFile, `[${ts.server.nowString()}] ${text}${sys.newLine}`); } - catch (e) { + catch { this.logFile = undefined; } }; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck10.errors.txt b/tests/baselines/reference/ES5For-ofTypeCheck10.errors.txt index bc8d5089170..5dbe9fe2b53 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck10.errors.txt +++ b/tests/baselines/reference/ES5For-ofTypeCheck10.errors.txt @@ -1,10 +1,10 @@ ES5For-ofTypeCheck10.ts(9,6): error TS2585: 'Symbol' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later. -ES5For-ofTypeCheck10.ts(14,15): error TS2495: Type 'StringIterator' is not an array type or a string type. +ES5For-ofTypeCheck10.ts(14,15): error TS2495: Type 'MyStringIterator' is not an array type or a string type. ==== ES5For-ofTypeCheck10.ts (2 errors) ==== // In ES3/5, you cannot for...of over an arbitrary iterable. - class StringIterator { + class MyStringIterator { next() { return { done: true, @@ -18,6 +18,6 @@ ES5For-ofTypeCheck10.ts(14,15): error TS2495: Type 'StringIterator' is not an ar } } - for (var v of new StringIterator) { } - ~~~~~~~~~~~~~~~~~~ -!!! error TS2495: Type 'StringIterator' is not an array type or a string type. \ No newline at end of file + for (var v of new MyStringIterator) { } + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS2495: Type 'MyStringIterator' is not an array type or a string type. \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-ofTypeCheck10.js b/tests/baselines/reference/ES5For-ofTypeCheck10.js index efe4b27967d..2537d78d12f 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck10.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck10.js @@ -2,7 +2,7 @@ //// [ES5For-ofTypeCheck10.ts] // In ES3/5, you cannot for...of over an arbitrary iterable. -class StringIterator { +class MyStringIterator { next() { return { done: true, @@ -14,24 +14,24 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [ES5For-ofTypeCheck10.js] // In ES3/5, you cannot for...of over an arbitrary iterable. -var StringIterator = /** @class */ (function () { - function StringIterator() { +var MyStringIterator = /** @class */ (function () { + function MyStringIterator() { } - StringIterator.prototype.next = function () { + MyStringIterator.prototype.next = function () { return { done: true, value: "" }; }; - StringIterator.prototype[Symbol.iterator] = function () { + MyStringIterator.prototype[Symbol.iterator] = function () { return this; }; - return StringIterator; + return MyStringIterator; }()); -for (var _i = 0, _a = new StringIterator; _i < _a.length; _i++) { +for (var _i = 0, _a = new MyStringIterator; _i < _a.length; _i++) { var v = _a[_i]; } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck10.symbols b/tests/baselines/reference/ES5For-ofTypeCheck10.symbols index d6764447cfb..f301fbbf6a7 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck10.symbols +++ b/tests/baselines/reference/ES5For-ofTypeCheck10.symbols @@ -2,11 +2,11 @@ === ES5For-ofTypeCheck10.ts === // In ES3/5, you cannot for...of over an arbitrary iterable. -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(ES5For-ofTypeCheck10.ts, 1, 22)) +>next : Symbol(MyStringIterator.next, Decl(ES5For-ofTypeCheck10.ts, 1, 24)) return { done: true, @@ -18,14 +18,14 @@ class StringIterator { }; } [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(ES5For-ofTypeCheck10.ts, 7, 5)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(ES5For-ofTypeCheck10.ts, 7, 5)) return this; ->this : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0)) } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(ES5For-ofTypeCheck10.ts, 13, 8)) ->StringIterator : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0)) diff --git a/tests/baselines/reference/ES5For-ofTypeCheck10.types b/tests/baselines/reference/ES5For-ofTypeCheck10.types index 65d626c82ee..5cb80fe9f97 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck10.types +++ b/tests/baselines/reference/ES5For-ofTypeCheck10.types @@ -2,9 +2,9 @@ === ES5For-ofTypeCheck10.ts === // In ES3/5, you cannot for...of over an arbitrary iterable. -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => { done: boolean; value: string; } @@ -44,11 +44,11 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : any > : ^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/YieldStarExpression4_es6.types b/tests/baselines/reference/YieldStarExpression4_es6.types index c2c8b54fde2..186939d8383 100644 --- a/tests/baselines/reference/YieldStarExpression4_es6.types +++ b/tests/baselines/reference/YieldStarExpression4_es6.types @@ -2,8 +2,8 @@ === YieldStarExpression4_es6.ts === function *g() { ->g : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield * []; >yield * [] : any diff --git a/tests/baselines/reference/allowJsCrossMonorepoPackage.trace.json b/tests/baselines/reference/allowJsCrossMonorepoPackage.trace.json index e6ee863686b..94f9c947b77 100644 --- a/tests/baselines/reference/allowJsCrossMonorepoPackage.trace.json +++ b/tests/baselines/reference/allowJsCrossMonorepoPackage.trace.json @@ -73,6 +73,9 @@ "File '/node_modules/pkg/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/pkg/index.d.ts', result '/node_modules/pkg/index.d.ts'.", "======== Module name 'pkg' was successfully resolved to '/node_modules/pkg/index.d.ts'. ========", + "File '/node_modules/pkg/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/packages/main/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 7070d1cdea4..963c5732b92 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -3268,6 +3268,7 @@ declare namespace ts { private delayUpdateProjectsOfScriptInfoPath; private handleDeletedFile; private watchWildcardDirectory; + private onWildCardDirectoryWatcherInvoke; private delayUpdateProjectsFromParsedConfigOnConfigFileChange; private onConfigFileChanged; private removeProject; @@ -3317,6 +3318,7 @@ declare namespace ts { setHostConfiguration(args: protocol.ConfigureRequestArguments): void; private getWatchOptionsFromProjectWatchOptions; closeLog(): void; + private sendSourceFileChange; /** * This function rebuilds the project for every file opened by the client * This does not reload contents of open files from disk. But we could do that if needed @@ -3338,6 +3340,7 @@ declare namespace ts { private ensureProjectChildren; private cleanupConfiguredProjects; private cleanupProjectsAndScriptInfos; + private tryInvokeWildCardDirectories; openClientFileWithNormalizedPath(fileName: NormalizedPath, fileContent?: string, scriptKind?: ScriptKind, hasMixedContent?: boolean, projectRootPath?: NormalizedPath): OpenConfiguredProjectResult; private removeOrphanScriptInfos; private telemetryOnOpenFile; @@ -6118,6 +6121,27 @@ declare namespace ts { getBaseTypes(type: InterfaceType): BaseType[]; getBaseTypeOfLiteralType(type: Type): Type; getWidenedType(type: Type): Type; + /** + * Gets the "awaited type" of a type. + * + * If an expression has a Promise-like type, the "awaited type" of the expression is + * derived from the type of the first argument of the fulfillment callback for that + * Promise's `then` method. If the "awaited type" is itself a Promise-like, it is + * recursively unwrapped in the same manner until a non-promise type is found. + * + * If an expression does not have a Promise-like type, its "awaited type" is the type + * of the expression. + * + * If the resulting "awaited type" is a generic object type, then it is wrapped in + * an `Awaited`. + * + * In the event the "awaited type" circularly references itself, or is a non-Promise + * object-type with a callable `then()` method, an "awaited type" cannot be determined + * and the value `undefined` will be returned. + * + * This is used to reflect the runtime behavior of the `await` keyword. + */ + getAwaitedType(type: Type): Type | undefined; getReturnTypeOfSignature(signature: Signature): Type; getNullableType(type: Type, flags: TypeFlags): Type; getNonNullableType(type: Type): Type; @@ -7344,9 +7368,10 @@ declare namespace ts { TypeAssertions = 2, NonNullAssertions = 4, PartiallyEmittedExpressions = 8, + ExpressionsWithTypeArguments = 16, Assertions = 6, - All = 15, - ExcludeJSDocTypeAssertion = 16, + All = 31, + ExcludeJSDocTypeAssertion = -2147483648, } type ImmediatelyInvokedFunctionExpression = CallExpression & { readonly expression: FunctionExpression; @@ -8238,6 +8263,7 @@ declare namespace ts { readonly interactiveInlayHints?: boolean; readonly allowRenameOfImportPath?: boolean; readonly autoImportFileExcludePatterns?: string[]; + readonly autoImportSpecifierExcludeRegexes?: string[]; readonly preferTypeOnlyAutoImports?: boolean; /** * Indicates whether imports should be organized in a case-insensitive manner. @@ -9797,6 +9823,7 @@ declare namespace ts { dry?: boolean; force?: boolean; verbose?: boolean; + stopBuildOnErrors?: boolean; incremental?: boolean; assumeChangesOnlyAffectDirectDependencies?: boolean; declaration?: boolean; diff --git a/tests/baselines/reference/argumentsObjectIterator02_ES6.types b/tests/baselines/reference/argumentsObjectIterator02_ES6.types index c192ab9617b..f77b4259cf9 100644 --- a/tests/baselines/reference/argumentsObjectIterator02_ES6.types +++ b/tests/baselines/reference/argumentsObjectIterator02_ES6.types @@ -12,10 +12,10 @@ function doubleAndReturnAsArray(x: number, y: number, z: number): [number, numbe > : ^^^^^^ let blah = arguments[Symbol.iterator]; ->blah : () => BuiltinIterator -> : ^^^^^^ ->arguments[Symbol.iterator] : () => BuiltinIterator -> : ^^^^^^ +>blah : () => ArrayIterator +> : ^^^^^^ +>arguments[Symbol.iterator] : () => ArrayIterator +> : ^^^^^^ >arguments : IArguments > : ^^^^^^^^^^ >Symbol.iterator : unique symbol @@ -33,10 +33,10 @@ function doubleAndReturnAsArray(x: number, y: number, z: number): [number, numbe for (let arg of blah()) { >arg : any ->blah() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->blah : () => BuiltinIterator -> : ^^^^^^ +>blah() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^ +>blah : () => ArrayIterator +> : ^^^^^^ result.push(arg + arg); >result.push(arg + arg) : number diff --git a/tests/baselines/reference/arrayFrom.types b/tests/baselines/reference/arrayFrom.types index 8829708cedd..4350bcd3047 100644 --- a/tests/baselines/reference/arrayFrom.types +++ b/tests/baselines/reference/arrayFrom.types @@ -83,14 +83,14 @@ const result2: A[] = Array.from(inputA.values()); > : ^^^^^^^^^^^^^^^^ >from : { (arrayLike: ArrayLike): T[]; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; (iterable: Iterable | ArrayLike): T[]; (iterable: Iterable | ArrayLike, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; } > : ^^^ ^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ->inputA.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->inputA.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>inputA.values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^ +>inputA.values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^ >inputA : A[] > : ^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^ const result3: B[] = Array.from(inputA.values()); // expect error >result3 : B[] @@ -103,14 +103,14 @@ const result3: B[] = Array.from(inputA.values()); // expect error > : ^^^^^^^^^^^^^^^^ >from : { (arrayLike: ArrayLike): T[]; (arrayLike: ArrayLike, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; (iterable: Iterable | ArrayLike): T[]; (iterable: Iterable | ArrayLike, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; } > : ^^^ ^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^^ ^^^ ^^^ ->inputA.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->inputA.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>inputA.values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^ +>inputA.values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^ >inputA : A[] > : ^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^ const result4: A[] = Array.from(inputB, ({ b }): A => ({ a: b })); >result4 : A[] diff --git a/tests/baselines/reference/assignmentToInstantiationExpression.errors.txt b/tests/baselines/reference/assignmentToInstantiationExpression.errors.txt new file mode 100644 index 00000000000..ba7138811a1 --- /dev/null +++ b/tests/baselines/reference/assignmentToInstantiationExpression.errors.txt @@ -0,0 +1,26 @@ +assignmentToInstantiationExpression.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. +assignmentToInstantiationExpression.ts(6,1): error TS2454: Variable 'getValue' is used before being assigned. +assignmentToInstantiationExpression.ts(6,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. +assignmentToInstantiationExpression.ts(10,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access. + + +==== assignmentToInstantiationExpression.ts (4 errors) ==== + let obj: { fn?: () => T } = {}; + obj.fn = () => 1234; + ~~~~~~~~~~~~~~ +!!! error TS2364: The left-hand side of an assignment expression must be a variable or a property access. + + + let getValue: () => T; + getValue = () => 1234; + ~~~~~~~~ +!!! error TS2454: Variable 'getValue' is used before being assigned. + ~~~~~~~~~~~~~~~~ +!!! error TS2364: The left-hand side of an assignment expression must be a variable or a property access. + + + let getValue2!: () => T; + getValue2 = () => 1234; + ~~~~~~~~~~~~~~~~~ +!!! error TS2364: The left-hand side of an assignment expression must be a variable or a property access. + \ No newline at end of file diff --git a/tests/baselines/reference/assignmentToInstantiationExpression.js b/tests/baselines/reference/assignmentToInstantiationExpression.js new file mode 100644 index 00000000000..e9a1d61ba0f --- /dev/null +++ b/tests/baselines/reference/assignmentToInstantiationExpression.js @@ -0,0 +1,23 @@ +//// [tests/cases/compiler/assignmentToInstantiationExpression.ts] //// + +//// [assignmentToInstantiationExpression.ts] +let obj: { fn?: () => T } = {}; +obj.fn = () => 1234; + + +let getValue: () => T; +getValue = () => 1234; + + +let getValue2!: () => T; +getValue2 = () => 1234; + + +//// [assignmentToInstantiationExpression.js] +"use strict"; +var obj = {}; +(obj.fn) = function () { return 1234; }; +var getValue; +(getValue) = function () { return 1234; }; +var getValue2; +(getValue2) = function () { return 1234; }; diff --git a/tests/baselines/reference/assignmentToInstantiationExpression.symbols b/tests/baselines/reference/assignmentToInstantiationExpression.symbols new file mode 100644 index 00000000000..9a4c902040a --- /dev/null +++ b/tests/baselines/reference/assignmentToInstantiationExpression.symbols @@ -0,0 +1,32 @@ +//// [tests/cases/compiler/assignmentToInstantiationExpression.ts] //// + +=== assignmentToInstantiationExpression.ts === +let obj: { fn?: () => T } = {}; +>obj : Symbol(obj, Decl(assignmentToInstantiationExpression.ts, 0, 3)) +>fn : Symbol(fn, Decl(assignmentToInstantiationExpression.ts, 0, 10)) +>T : Symbol(T, Decl(assignmentToInstantiationExpression.ts, 0, 17)) +>T : Symbol(T, Decl(assignmentToInstantiationExpression.ts, 0, 17)) + +obj.fn = () => 1234; +>obj.fn : Symbol(fn, Decl(assignmentToInstantiationExpression.ts, 0, 10)) +>obj : Symbol(obj, Decl(assignmentToInstantiationExpression.ts, 0, 3)) +>fn : Symbol(fn, Decl(assignmentToInstantiationExpression.ts, 0, 10)) + + +let getValue: () => T; +>getValue : Symbol(getValue, Decl(assignmentToInstantiationExpression.ts, 4, 3)) +>T : Symbol(T, Decl(assignmentToInstantiationExpression.ts, 4, 15)) +>T : Symbol(T, Decl(assignmentToInstantiationExpression.ts, 4, 15)) + +getValue = () => 1234; +>getValue : Symbol(getValue, Decl(assignmentToInstantiationExpression.ts, 4, 3)) + + +let getValue2!: () => T; +>getValue2 : Symbol(getValue2, Decl(assignmentToInstantiationExpression.ts, 8, 3)) +>T : Symbol(T, Decl(assignmentToInstantiationExpression.ts, 8, 17)) +>T : Symbol(T, Decl(assignmentToInstantiationExpression.ts, 8, 17)) + +getValue2 = () => 1234; +>getValue2 : Symbol(getValue2, Decl(assignmentToInstantiationExpression.ts, 8, 3)) + diff --git a/tests/baselines/reference/assignmentToInstantiationExpression.types b/tests/baselines/reference/assignmentToInstantiationExpression.types new file mode 100644 index 00000000000..76db87269b4 --- /dev/null +++ b/tests/baselines/reference/assignmentToInstantiationExpression.types @@ -0,0 +1,61 @@ +//// [tests/cases/compiler/assignmentToInstantiationExpression.ts] //// + +=== assignmentToInstantiationExpression.ts === +let obj: { fn?: () => T } = {}; +>obj : { fn?: () => T; } +> : ^^^^^^^ ^^^ +>fn : (() => T) | undefined +> : ^^ ^^^^^^^ ^^^^^^^^^^^^^ +>{} : {} +> : ^^ + +obj.fn = () => 1234; +>obj.fn = () => 1234 : () => number +> : ^^^^^^^^^^^^ +>obj.fn : (() => number) | undefined +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +>obj.fn : (() => T) | undefined +> : ^^ ^^^^^^^ ^^^^^^^^^^^^^ +>obj : { fn?: () => T; } +> : ^^^^^^^ ^^^ +>fn : (() => T) | undefined +> : ^^ ^^^^^^^ ^^^^^^^^^^^^^ +>() => 1234 : () => number +> : ^^^^^^^^^^^^ +>1234 : 1234 +> : ^^^^ + + +let getValue: () => T; +>getValue : () => T +> : ^ ^^^^^^^ + +getValue = () => 1234; +>getValue = () => 1234 : () => number +> : ^^^^^^^^^^^^ +>getValue : () => number +> : ^^^^^^^^^^^^ +>getValue : () => T +> : ^ ^^^^^^^ +>() => 1234 : () => number +> : ^^^^^^^^^^^^ +>1234 : 1234 +> : ^^^^ + + +let getValue2!: () => T; +>getValue2 : () => T +> : ^ ^^^^^^^ + +getValue2 = () => 1234; +>getValue2 = () => 1234 : () => number +> : ^^^^^^^^^^^^ +>getValue2 : () => number +> : ^^^^^^^^^^^^ +>getValue2 : () => T +> : ^ ^^^^^^^ +>() => 1234 : () => number +> : ^^^^^^^^^^^^ +>1234 : 1234 +> : ^^^^ + diff --git a/tests/baselines/reference/asyncArrowFunction11_es5.js b/tests/baselines/reference/asyncArrowFunction11_es5.js index 3f1f3491d7a..932079f3c83 100644 --- a/tests/baselines/reference/asyncArrowFunction11_es5.js +++ b/tests/baselines/reference/asyncArrowFunction11_es5.js @@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/asyncAwaitIsolatedModules_es5.js b/tests/baselines/reference/asyncAwaitIsolatedModules_es5.js index 7c763f9ecf8..c5e0e7aaa34 100644 --- a/tests/baselines/reference/asyncAwaitIsolatedModules_es5.js +++ b/tests/baselines/reference/asyncAwaitIsolatedModules_es5.js @@ -53,8 +53,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/asyncAwait_es5.js b/tests/baselines/reference/asyncAwait_es5.js index 2fd12346bb8..8bc581f48de 100644 --- a/tests/baselines/reference/asyncAwait_es5.js +++ b/tests/baselines/reference/asyncAwait_es5.js @@ -59,8 +59,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/asyncFunctionNoReturnType.js b/tests/baselines/reference/asyncFunctionNoReturnType.js index fb4f9585cc2..ef0a529fcc5 100644 --- a/tests/baselines/reference/asyncFunctionNoReturnType.js +++ b/tests/baselines/reference/asyncFunctionNoReturnType.js @@ -18,8 +18,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.js b/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.js index 523416cff6a..2863404726a 100644 --- a/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.js +++ b/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.js @@ -34,8 +34,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/asyncFunctionTempVariableScoping.js b/tests/baselines/reference/asyncFunctionTempVariableScoping.js index 16b6afaf7a5..a5a52a5c518 100644 --- a/tests/baselines/reference/asyncFunctionTempVariableScoping.js +++ b/tests/baselines/reference/asyncFunctionTempVariableScoping.js @@ -17,8 +17,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/asyncFunctionWithForStatementNoInitializer.js b/tests/baselines/reference/asyncFunctionWithForStatementNoInitializer.js index ddc852cb93a..8ea440e35ca 100644 --- a/tests/baselines/reference/asyncFunctionWithForStatementNoInitializer.js +++ b/tests/baselines/reference/asyncFunctionWithForStatementNoInitializer.js @@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/asyncGeneratorPromiseNextType.symbols b/tests/baselines/reference/asyncGeneratorPromiseNextType.symbols new file mode 100644 index 00000000000..a853c42452e --- /dev/null +++ b/tests/baselines/reference/asyncGeneratorPromiseNextType.symbols @@ -0,0 +1,121 @@ +//// [tests/cases/conformance/asyncGenerators/asyncGeneratorPromiseNextType.ts] //// + +=== asyncGeneratorPromiseNextType.ts === +// https://github.com/microsoft/TypeScript/issues/44808 + +type Result = {message: string} +>Result : Symbol(Result, Decl(asyncGeneratorPromiseNextType.ts, 0, 0)) +>message : Symbol(message, Decl(asyncGeneratorPromiseNextType.ts, 2, 15)) + +async function *saverGen(): AsyncGenerator | undefined> { +>saverGen : Symbol(saverGen, Decl(asyncGeneratorPromiseNextType.ts, 2, 31)) +>AsyncGenerator : Symbol(AsyncGenerator, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>Result : Symbol(Result, Decl(asyncGeneratorPromiseNextType.ts, 0, 0)) + + let pending: Promise[] = []; +>pending : Symbol(pending, Decl(asyncGeneratorPromiseNextType.ts, 5, 7)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>Result : Symbol(Result, Decl(asyncGeneratorPromiseNextType.ts, 0, 0)) + + while (true) { + const p: Promise | undefined = yield; +>p : Symbol(p, Decl(asyncGeneratorPromiseNextType.ts, 7, 13)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>Result : Symbol(Result, Decl(asyncGeneratorPromiseNextType.ts, 0, 0)) + + if (p != null) +>p : Symbol(p, Decl(asyncGeneratorPromiseNextType.ts, 7, 13)) + + pending.push(p); +>pending.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) +>pending : Symbol(pending, Decl(asyncGeneratorPromiseNextType.ts, 5, 7)) +>push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) +>p : Symbol(p, Decl(asyncGeneratorPromiseNextType.ts, 7, 13)) + + else { + const results = await Promise.all(pending); +>results : Symbol(results, Decl(asyncGeneratorPromiseNextType.ts, 11, 17)) +>Promise.all : Symbol(PromiseConstructor.all, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>all : Symbol(PromiseConstructor.all, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) +>pending : Symbol(pending, Decl(asyncGeneratorPromiseNextType.ts, 5, 7)) + + pending = []; +>pending : Symbol(pending, Decl(asyncGeneratorPromiseNextType.ts, 5, 7)) + + console.log('Storing...'); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) + + await storeResults(results); +>storeResults : Symbol(storeResults, Decl(asyncGeneratorPromiseNextType.ts, 17, 1)) +>results : Symbol(results, Decl(asyncGeneratorPromiseNextType.ts, 11, 17)) + } + } +} + +function storeResults(results: Result[]) { +>storeResults : Symbol(storeResults, Decl(asyncGeneratorPromiseNextType.ts, 17, 1)) +>results : Symbol(results, Decl(asyncGeneratorPromiseNextType.ts, 19, 22)) +>Result : Symbol(Result, Decl(asyncGeneratorPromiseNextType.ts, 0, 0)) + + console.log(results); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>results : Symbol(results, Decl(asyncGeneratorPromiseNextType.ts, 19, 22)) + + return Promise.resolve(); +>Promise.resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) +} + +async function *saverGen2() { +>saverGen2 : Symbol(saverGen2, Decl(asyncGeneratorPromiseNextType.ts, 22, 1)) + + let pending: Promise[] = []; +>pending : Symbol(pending, Decl(asyncGeneratorPromiseNextType.ts, 25, 7)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>Result : Symbol(Result, Decl(asyncGeneratorPromiseNextType.ts, 0, 0)) + + while (true) { + const p: Promise | undefined = yield; +>p : Symbol(p, Decl(asyncGeneratorPromiseNextType.ts, 27, 13)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>Result : Symbol(Result, Decl(asyncGeneratorPromiseNextType.ts, 0, 0)) + + if (p != null) +>p : Symbol(p, Decl(asyncGeneratorPromiseNextType.ts, 27, 13)) + + pending.push(p); +>pending.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) +>pending : Symbol(pending, Decl(asyncGeneratorPromiseNextType.ts, 25, 7)) +>push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) +>p : Symbol(p, Decl(asyncGeneratorPromiseNextType.ts, 27, 13)) + + else { + const results = await Promise.all(pending); +>results : Symbol(results, Decl(asyncGeneratorPromiseNextType.ts, 31, 17)) +>Promise.all : Symbol(PromiseConstructor.all, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +>all : Symbol(PromiseConstructor.all, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) +>pending : Symbol(pending, Decl(asyncGeneratorPromiseNextType.ts, 25, 7)) + + pending = []; +>pending : Symbol(pending, Decl(asyncGeneratorPromiseNextType.ts, 25, 7)) + + console.log('Storing...'); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) + + await storeResults(results); +>storeResults : Symbol(storeResults, Decl(asyncGeneratorPromiseNextType.ts, 17, 1)) +>results : Symbol(results, Decl(asyncGeneratorPromiseNextType.ts, 31, 17)) + } + } +} + diff --git a/tests/baselines/reference/asyncGeneratorPromiseNextType.types b/tests/baselines/reference/asyncGeneratorPromiseNextType.types new file mode 100644 index 00000000000..04df59c42c6 --- /dev/null +++ b/tests/baselines/reference/asyncGeneratorPromiseNextType.types @@ -0,0 +1,215 @@ +//// [tests/cases/conformance/asyncGenerators/asyncGeneratorPromiseNextType.ts] //// + +=== asyncGeneratorPromiseNextType.ts === +// https://github.com/microsoft/TypeScript/issues/44808 + +type Result = {message: string} +>Result : Result +> : ^^^^^^ +>message : string +> : ^^^^^^ + +async function *saverGen(): AsyncGenerator | undefined> { +>saverGen : () => AsyncGenerator | undefined> +> : ^^^^^^ + + let pending: Promise[] = []; +>pending : Promise[] +> : ^^^^^^^^^^^^^^^^^ +>[] : never[] +> : ^^^^^^^ + + while (true) { +>true : true +> : ^^^^ + + const p: Promise | undefined = yield; +>p : Promise | undefined +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>yield : Promise | undefined +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + if (p != null) +>p != null : boolean +> : ^^^^^^^ +>p : Promise | undefined +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + pending.push(p); +>pending.push(p) : number +> : ^^^^^^ +>pending.push : (...items: Promise[]) => number +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +>pending : Promise[] +> : ^^^^^^^^^^^^^^^^^ +>push : (...items: Promise[]) => number +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +>p : Promise +> : ^^^^^^^^^^^^^^^ + + else { + const results = await Promise.all(pending); +>results : Result[] +> : ^^^^^^^^ +>await Promise.all(pending) : Result[] +> : ^^^^^^^^ +>Promise.all(pending) : Promise +> : ^^^^^^^^^^^^^^^^^ +>Promise.all : { (values: Iterable>): Promise[]>; (values: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; } +> : ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^ ^^ ^^ ^^^ ^^^ +>Promise : PromiseConstructor +> : ^^^^^^^^^^^^^^^^^^ +>all : { (values: Iterable>): Promise[]>; (values: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; } +> : ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^ ^^ ^^ ^^^ ^^^ +>pending : Promise[] +> : ^^^^^^^^^^^^^^^^^ + + pending = []; +>pending = [] : never[] +> : ^^^^^^^ +>pending : Promise[] +> : ^^^^^^^^^^^^^^^^^ +>[] : never[] +> : ^^^^^^^ + + console.log('Storing...'); +>console.log('Storing...') : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>'Storing...' : "Storing..." +> : ^^^^^^^^^^^^ + + await storeResults(results); +>await storeResults(results) : void +> : ^^^^ +>storeResults(results) : Promise +> : ^^^^^^^^^^^^^ +>storeResults : (results: Result[]) => Promise +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ +>results : Result[] +> : ^^^^^^^^ + } + } +} + +function storeResults(results: Result[]) { +>storeResults : (results: Result[]) => Promise +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ +>results : Result[] +> : ^^^^^^^^ + + console.log(results); +>console.log(results) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>results : Result[] +> : ^^^^^^^^ + + return Promise.resolve(); +>Promise.resolve() : Promise +> : ^^^^^^^^^^^^^ +>Promise.resolve : { (): Promise; (value: T): Promise>; (value: T | PromiseLike): Promise>; } +> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ +>Promise : PromiseConstructor +> : ^^^^^^^^^^^^^^^^^^ +>resolve : { (): Promise; (value: T): Promise>; (value: T | PromiseLike): Promise>; } +> : ^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^ ^^ ^^^ ^^^ +} + +async function *saverGen2() { +>saverGen2 : () => AsyncGenerator | undefined> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + let pending: Promise[] = []; +>pending : Promise[] +> : ^^^^^^^^^^^^^^^^^ +>[] : never[] +> : ^^^^^^^ + + while (true) { +>true : true +> : ^^^^ + + const p: Promise | undefined = yield; +>p : Promise | undefined +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>yield : any + + if (p != null) +>p != null : boolean +> : ^^^^^^^ +>p : Promise | undefined +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + pending.push(p); +>pending.push(p) : number +> : ^^^^^^ +>pending.push : (...items: Promise[]) => number +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +>pending : Promise[] +> : ^^^^^^^^^^^^^^^^^ +>push : (...items: Promise[]) => number +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ +>p : Promise +> : ^^^^^^^^^^^^^^^ + + else { + const results = await Promise.all(pending); +>results : Result[] +> : ^^^^^^^^ +>await Promise.all(pending) : Result[] +> : ^^^^^^^^ +>Promise.all(pending) : Promise +> : ^^^^^^^^^^^^^^^^^ +>Promise.all : { (values: Iterable>): Promise[]>; (values: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; } +> : ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^ ^^ ^^ ^^^ ^^^ +>Promise : PromiseConstructor +> : ^^^^^^^^^^^^^^^^^^ +>all : { (values: Iterable>): Promise[]>; (values: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; } +> : ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^ ^^ ^^ ^^^ ^^^ +>pending : Promise[] +> : ^^^^^^^^^^^^^^^^^ + + pending = []; +>pending = [] : never[] +> : ^^^^^^^ +>pending : Promise[] +> : ^^^^^^^^^^^^^^^^^ +>[] : never[] +> : ^^^^^^^ + + console.log('Storing...'); +>console.log('Storing...') : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>'Storing...' : "Storing..." +> : ^^^^^^^^^^^^ + + await storeResults(results); +>await storeResults(results) : void +> : ^^^^ +>storeResults(results) : Promise +> : ^^^^^^^^^^^^^ +>storeResults : (results: Result[]) => Promise +> : ^ ^^ ^^^^^^^^^^^^^^^^^^ +>results : Result[] +> : ^^^^^^^^ + } + } +} + diff --git a/tests/baselines/reference/asyncImportNestedYield.js b/tests/baselines/reference/asyncImportNestedYield.js index f7e42c3e3df..a6251abe520 100644 --- a/tests/baselines/reference/asyncImportNestedYield.js +++ b/tests/baselines/reference/asyncImportNestedYield.js @@ -7,8 +7,8 @@ async function* foo() { //// [asyncImportNestedYield.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -37,7 +37,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/asyncImportedPromise_es5.js b/tests/baselines/reference/asyncImportedPromise_es5.js index aaaf4a95491..c6841ddd8a6 100644 --- a/tests/baselines/reference/asyncImportedPromise_es5.js +++ b/tests/baselines/reference/asyncImportedPromise_es5.js @@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/asyncMultiFile_es5.js b/tests/baselines/reference/asyncMultiFile_es5.js index 2dd73b8b6c7..e022b1e864a 100644 --- a/tests/baselines/reference/asyncMultiFile_es5.js +++ b/tests/baselines/reference/asyncMultiFile_es5.js @@ -16,8 +16,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/awaitUsingDeclarations.1(target=es2015).js b/tests/baselines/reference/awaitUsingDeclarations.1(target=es2015).js index 60d690d76bd..6468ced72c7 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.1(target=es2015).js +++ b/tests/baselines/reference/awaitUsingDeclarations.1(target=es2015).js @@ -165,7 +165,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/awaitUsingDeclarations.1(target=es2017).js b/tests/baselines/reference/awaitUsingDeclarations.1(target=es2017).js index 31b8b0bdf0b..1277db5bcdd 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.1(target=es2017).js +++ b/tests/baselines/reference/awaitUsingDeclarations.1(target=es2017).js @@ -156,7 +156,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/awaitUsingDeclarations.1(target=es5).js b/tests/baselines/reference/awaitUsingDeclarations.1(target=es5).js index a34ff409823..eb4005130a9 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.1(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarations.1(target=es5).js @@ -110,8 +110,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -192,7 +192,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/awaitUsingDeclarations.2(target=es5).js b/tests/baselines/reference/awaitUsingDeclarations.2(target=es5).js index 80fa7d99ba9..7241ac59bb6 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.2(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarations.2(target=es5).js @@ -19,8 +19,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/awaitUsingDeclarations.3(target=es5).js b/tests/baselines/reference/awaitUsingDeclarations.3(target=es5).js index 57e87730665..c774b207cdb 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.3(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarations.3(target=es5).js @@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).js b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).js index f01f673a988..d8226409a5d 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).js @@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).js b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).js index 2e401a48406..4deda344151 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).js @@ -17,8 +17,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.3(target=es5).js b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.3(target=es5).js index abe97e09c15..f929d3d0c6c 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.3(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.3(target=es5).js @@ -24,8 +24,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).js index 3dab903ba3c..b48951bbe6d 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).js @@ -18,8 +18,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.5(target=es5).js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.5(target=es5).js index 1b0ea1fd630..6b9e8308d45 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.5(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.5(target=es5).js @@ -24,8 +24,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.errors.txt b/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.errors.txt new file mode 100644 index 00000000000..82e1293db61 --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.errors.txt @@ -0,0 +1,19 @@ +awaitUsingDeclarationsWithAsyncIteratorObject.ts(11,23): error TS2851: The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'. + + +==== awaitUsingDeclarationsWithAsyncIteratorObject.ts (1 errors) ==== + declare const ai: AsyncIterator; + declare const aio: AsyncIteratorObject; + declare const ag: AsyncGenerator; + + async function f() { + // should pass + await using it0 = aio; + await using it1 = ag; + + // should fail + await using it2 = ai; + ~~ +!!! error TS2851: The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'. + } + \ No newline at end of file diff --git a/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.symbols b/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.symbols new file mode 100644 index 00000000000..6ff871600af --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.symbols @@ -0,0 +1,33 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithAsyncIteratorObject.ts] //// + +=== awaitUsingDeclarationsWithAsyncIteratorObject.ts === +declare const ai: AsyncIterator; +>ai : Symbol(ai, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 0, 13)) +>AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) + +declare const aio: AsyncIteratorObject; +>aio : Symbol(aio, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 1, 13)) +>AsyncIteratorObject : Symbol(AsyncIteratorObject, Decl(lib.es2018.asynciterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --)) + +declare const ag: AsyncGenerator; +>ag : Symbol(ag, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 2, 13)) +>AsyncGenerator : Symbol(AsyncGenerator, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) + +async function f() { +>f : Symbol(f, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 2, 47)) + + // should pass + await using it0 = aio; +>it0 : Symbol(it0, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 6, 15)) +>aio : Symbol(aio, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 1, 13)) + + await using it1 = ag; +>it1 : Symbol(it1, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 7, 15)) +>ag : Symbol(ag, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 2, 13)) + + // should fail + await using it2 = ai; +>it2 : Symbol(it2, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 10, 15)) +>ai : Symbol(ai, Decl(awaitUsingDeclarationsWithAsyncIteratorObject.ts, 0, 13)) +} + diff --git a/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.types b/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.types new file mode 100644 index 00000000000..43d7a7d5ed1 --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsWithAsyncIteratorObject.types @@ -0,0 +1,40 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithAsyncIteratorObject.ts] //// + +=== awaitUsingDeclarationsWithAsyncIteratorObject.ts === +declare const ai: AsyncIterator; +>ai : AsyncIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +declare const aio: AsyncIteratorObject; +>aio : AsyncIteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +declare const ag: AsyncGenerator; +>ag : AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +async function f() { +>f : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ + + // should pass + await using it0 = aio; +>it0 : AsyncIteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>aio : AsyncIteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + await using it1 = ag; +>it1 : AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>ag : AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + // should fail + await using it2 = ai; +>it2 : AsyncIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>ai : AsyncIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +} + diff --git a/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.errors.txt b/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.errors.txt new file mode 100644 index 00000000000..af20bc9b029 --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.errors.txt @@ -0,0 +1,28 @@ +awaitUsingDeclarationsWithIteratorObject.ts(20,23): error TS2851: The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'. + + +==== awaitUsingDeclarationsWithIteratorObject.ts (1 errors) ==== + declare const i: Iterator; + declare const io: IteratorObject; + declare const g: Generator; + + class MyIterator extends Iterator { + next() { return { done: true, value: undefined }; } + } + + async function f() { + // should pass + await using it0 = io; + await using it1 = g; + await using it2 = Iterator.from(i) + await using it3 = new MyIterator(); + await using it4 = [].values(); + await using it5 = new Map().entries(); + await using it6 = new Set().keys(); + + // should fail + await using it7 = i; + ~ +!!! error TS2851: The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'. + } + \ No newline at end of file diff --git a/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.symbols b/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.symbols new file mode 100644 index 00000000000..11f28871b6e --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.symbols @@ -0,0 +1,72 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithIteratorObject.ts] //// + +=== awaitUsingDeclarationsWithIteratorObject.ts === +declare const i: Iterator; +>i : Symbol(i, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 0, 13)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) + +declare const io: IteratorObject; +>io : Symbol(io, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 1, 13)) +>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) + +declare const g: Generator; +>g : Symbol(g, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 2, 13)) +>Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --)) + +class MyIterator extends Iterator { +>MyIterator : Symbol(MyIterator, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 2, 41)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) + + next() { return { done: true, value: undefined }; } +>next : Symbol(MyIterator.next, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 4, 43)) +>done : Symbol(done, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 5, 21)) +>value : Symbol(value, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 5, 33)) +>undefined : Symbol(undefined) +} + +async function f() { +>f : Symbol(f, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 6, 1)) + + // should pass + await using it0 = io; +>it0 : Symbol(it0, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 10, 15)) +>io : Symbol(io, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 1, 13)) + + await using it1 = g; +>it1 : Symbol(it1, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 11, 15)) +>g : Symbol(g, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 2, 13)) + + await using it2 = Iterator.from(i) +>it2 : Symbol(it2, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 12, 15)) +>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>i : Symbol(i, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 0, 13)) + + await using it3 = new MyIterator(); +>it3 : Symbol(it3, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 13, 15)) +>MyIterator : Symbol(MyIterator, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 2, 41)) + + await using it4 = [].values(); +>it4 : Symbol(it4, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 14, 15)) +>[].values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) +>values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) + + await using it5 = new Map().entries(); +>it5 : Symbol(it5, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 15, 15)) +>new Map().entries : Symbol(Map.entries, Decl(lib.es2015.iterable.d.ts, --, --)) +>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>entries : Symbol(Map.entries, Decl(lib.es2015.iterable.d.ts, --, --)) + + await using it6 = new Set().keys(); +>it6 : Symbol(it6, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 16, 15)) +>new Set().keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --)) + + // should fail + await using it7 = i; +>it7 : Symbol(it7, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 19, 15)) +>i : Symbol(i, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 0, 13)) +} + diff --git a/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.types b/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.types new file mode 100644 index 00000000000..54cd3d16dd0 --- /dev/null +++ b/tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.types @@ -0,0 +1,123 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithIteratorObject.ts] //// + +=== awaitUsingDeclarationsWithIteratorObject.ts === +declare const i: Iterator; +>i : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +declare const io: IteratorObject; +>io : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +declare const g: Generator; +>g : Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +class MyIterator extends Iterator { +>MyIterator : MyIterator +> : ^^^^^^^^^^ +>Iterator : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + next() { return { done: true, value: undefined }; } +>next : () => { done: boolean; value: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ done: true, value: undefined } : { done: boolean; value: undefined; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>done : boolean +> : ^^^^^^^ +>true : true +> : ^^^^ +>value : undefined +> : ^^^^^^^^^ +>undefined : undefined +> : ^^^^^^^^^ +} + +async function f() { +>f : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ + + // should pass + await using it0 = io; +>it0 : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>io : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + await using it1 = g; +>it1 : Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g : Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + await using it2 = Iterator.from(i) +>it2 : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from(i) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ +>Iterator : IteratorConstructor +> : ^^^^^^^^^^^^^^^^^^^ +>from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ +>i : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + await using it3 = new MyIterator(); +>it3 : MyIterator +> : ^^^^^^^^^^ +>new MyIterator() : MyIterator +> : ^^^^^^^^^^ +>MyIterator : typeof MyIterator +> : ^^^^^^^^^^^^^^^^^ + + await using it4 = [].values(); +>it4 : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^ +>[].values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^ +>[].values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>[] : undefined[] +> : ^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^ + + await using it5 = new Map().entries(); +>it5 : MapIterator<[string, string]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Map().entries() : MapIterator<[string, string]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Map().entries : () => MapIterator<[string, string]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Map() : Map +> : ^^^^^^^^^^^^^^^^^^^ +>Map : MapConstructor +> : ^^^^^^^^^^^^^^ +>entries : () => MapIterator<[string, string]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + await using it6 = new Set().keys(); +>it6 : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>new Set().keys() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>new Set().keys : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Set() : Set +> : ^^^^^^^^^^^ +>Set : SetConstructor +> : ^^^^^^^^^^^^^^ +>keys : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ + + // should fail + await using it7 = i; +>it7 : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +} + diff --git a/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator.js b/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator.js index fa6167ff384..ca74ec4d9dd 100644 --- a/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator.js +++ b/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator.js @@ -10,8 +10,8 @@ function* a() { //// [blockScopedBindingsInDownlevelGenerator.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/blockScopedVariablesUseBeforeDef.js b/tests/baselines/reference/blockScopedVariablesUseBeforeDef.js index fa9bd38069f..92f6719edaf 100644 --- a/tests/baselines/reference/blockScopedVariablesUseBeforeDef.js +++ b/tests/baselines/reference/blockScopedVariablesUseBeforeDef.js @@ -164,8 +164,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -198,7 +198,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/builtinIterator.errors.txt b/tests/baselines/reference/builtinIterator.errors.txt index 26749ea24a6..c4fc043ee36 100644 --- a/tests/baselines/reference/builtinIterator.errors.txt +++ b/tests/baselines/reference/builtinIterator.errors.txt @@ -1,19 +1,19 @@ builtinIterator.ts(38,1): error TS2511: Cannot create an instance of an abstract class. -builtinIterator.ts(40,7): error TS2515: Non-abstract class 'C' does not implement inherited abstract member next from class 'Iterator'. -builtinIterator.ts(44,3): error TS2416: Property 'next' in type 'BadIterator1' is not assignable to the same property in base type 'Iterator'. +builtinIterator.ts(40,7): error TS2515: Non-abstract class 'C' does not implement inherited abstract member next from class 'Iterator'. +builtinIterator.ts(44,3): error TS2416: Property 'next' in type 'BadIterator1' is not assignable to the same property in base type 'Iterator'. Type '() => { readonly done: false; readonly value: 0; } | { readonly done: true; readonly value: "a string"; }' is not assignable to type '(value?: unknown) => IteratorResult'. Type '{ readonly done: false; readonly value: 0; } | { readonly done: true; readonly value: "a string"; }' is not assignable to type 'IteratorResult'. Type '{ readonly done: true; readonly value: "a string"; }' is not assignable to type 'IteratorResult'. Type '{ readonly done: true; readonly value: "a string"; }' is not assignable to type 'IteratorReturnResult'. Types of property 'value' are incompatible. Type '"a string"' is not assignable to type 'undefined'. -builtinIterator.ts(54,3): error TS2416: Property 'next' in type 'BadIterator2' is not assignable to the same property in base type 'Iterator'. +builtinIterator.ts(54,3): error TS2416: Property 'next' in type 'BadIterator2' is not assignable to the same property in base type 'Iterator'. Type '() => { done: boolean; value: number; }' is not assignable to type '(value?: unknown) => IteratorResult'. Type '{ done: boolean; value: number; }' is not assignable to type 'IteratorResult'. Type '{ done: boolean; value: number; }' is not assignable to type 'IteratorYieldResult'. Types of property 'done' are incompatible. Type 'boolean' is not assignable to type 'false'. -builtinIterator.ts(60,3): error TS2416: Property 'next' in type 'BadIterator3' is not assignable to the same property in base type 'Iterator'. +builtinIterator.ts(60,3): error TS2416: Property 'next' in type 'BadIterator3' is not assignable to the same property in base type 'Iterator'. Type '() => { done: boolean; value: number; } | { done: boolean; value: string; }' is not assignable to type '(value?: unknown) => IteratorResult'. Type '{ done: boolean; value: number; } | { done: boolean; value: string; }' is not assignable to type 'IteratorResult'. Type '{ done: boolean; value: number; }' is not assignable to type 'IteratorResult'. @@ -84,13 +84,13 @@ builtinIterator.ts(73,35): error TS2322: Type 'Generator {} ~ -!!! error TS2515: Non-abstract class 'C' does not implement inherited abstract member next from class 'Iterator'. +!!! error TS2515: Non-abstract class 'C' does not implement inherited abstract member next from class 'Iterator'. // it's unfortunate that these are an error class BadIterator1 extends Iterator { next() { ~~~~ -!!! error TS2416: Property 'next' in type 'BadIterator1' is not assignable to the same property in base type 'Iterator'. +!!! error TS2416: Property 'next' in type 'BadIterator1' is not assignable to the same property in base type 'Iterator'. !!! error TS2416: Type '() => { readonly done: false; readonly value: 0; } | { readonly done: true; readonly value: "a string"; }' is not assignable to type '(value?: unknown) => IteratorResult'. !!! error TS2416: Type '{ readonly done: false; readonly value: 0; } | { readonly done: true; readonly value: "a string"; }' is not assignable to type 'IteratorResult'. !!! error TS2416: Type '{ readonly done: true; readonly value: "a string"; }' is not assignable to type 'IteratorResult'. @@ -108,7 +108,7 @@ builtinIterator.ts(73,35): error TS2322: Type 'Generator { next() { ~~~~ -!!! error TS2416: Property 'next' in type 'BadIterator2' is not assignable to the same property in base type 'Iterator'. +!!! error TS2416: Property 'next' in type 'BadIterator2' is not assignable to the same property in base type 'Iterator'. !!! error TS2416: Type '() => { done: boolean; value: number; }' is not assignable to type '(value?: unknown) => IteratorResult'. !!! error TS2416: Type '{ done: boolean; value: number; }' is not assignable to type 'IteratorResult'. !!! error TS2416: Type '{ done: boolean; value: number; }' is not assignable to type 'IteratorYieldResult'. @@ -121,7 +121,7 @@ builtinIterator.ts(73,35): error TS2322: Type 'Generator { next() { ~~~~ -!!! error TS2416: Property 'next' in type 'BadIterator3' is not assignable to the same property in base type 'Iterator'. +!!! error TS2416: Property 'next' in type 'BadIterator3' is not assignable to the same property in base type 'Iterator'. !!! error TS2416: Type '() => { done: boolean; value: number; } | { done: boolean; value: string; }' is not assignable to type '(value?: unknown) => IteratorResult'. !!! error TS2416: Type '{ done: boolean; value: number; } | { done: boolean; value: string; }' is not assignable to type 'IteratorResult'. !!! error TS2416: Type '{ done: boolean; value: number; }' is not assignable to type 'IteratorResult'. @@ -149,7 +149,7 @@ builtinIterator.ts(73,35): error TS2322: Type 'Generator; + declare const iter2: IteratorObject; const iter3 = iter2.flatMap(() => g1); ~~ !!! error TS2322: Type 'Generator' is not assignable to type 'Iterator | Iterable'. diff --git a/tests/baselines/reference/builtinIterator.js b/tests/baselines/reference/builtinIterator.js index 192d53b106b..a22b5baa673 100644 --- a/tests/baselines/reference/builtinIterator.js +++ b/tests/baselines/reference/builtinIterator.js @@ -72,7 +72,7 @@ class BadIterator3 extends Iterator { declare const g1: Generator; const iter1 = Iterator.from(g1); -declare const iter2: BuiltinIterator; +declare const iter2: IteratorObject; const iter3 = iter2.flatMap(() => g1); //// [builtinIterator.js] diff --git a/tests/baselines/reference/builtinIterator.symbols b/tests/baselines/reference/builtinIterator.symbols index 4c8795a5a1d..34ba5eea534 100644 --- a/tests/baselines/reference/builtinIterator.symbols +++ b/tests/baselines/reference/builtinIterator.symbols @@ -9,16 +9,16 @@ const iterator = Iterator.from([0, 1, 2]); const mapped = iterator.map(String); >mapped : Symbol(mapped, Decl(builtinIterator.ts, 2, 5)) ->iterator.map : Symbol(BuiltinIterator.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>iterator.map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) >iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5)) ->map : Symbol(BuiltinIterator.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) >String : Symbol(String, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --) ... and 7 more) const filtered = iterator.filter(x => x > 0); >filtered : Symbol(filtered, Decl(builtinIterator.ts, 4, 5)) ->iterator.filter : Symbol(BuiltinIterator.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>iterator.filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) >iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5)) ->filter : Symbol(BuiltinIterator.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) >x : Symbol(x, Decl(builtinIterator.ts, 4, 33)) >x : Symbol(x, Decl(builtinIterator.ts, 4, 33)) @@ -32,9 +32,9 @@ function isZero(x: number): x is 0 { } const zero = iterator.filter(isZero); >zero : Symbol(zero, Decl(builtinIterator.ts, 9, 5)) ->iterator.filter : Symbol(BuiltinIterator.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>iterator.filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) >iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5)) ->filter : Symbol(BuiltinIterator.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) >isZero : Symbol(isZero, Decl(builtinIterator.ts, 4, 45)) const iteratorFromBare = Iterator.from({ @@ -69,18 +69,18 @@ function* gen() { const mappedGen = gen().map(x => x === 0 ? "zero" : "other"); >mappedGen : Symbol(mappedGen, Decl(builtinIterator.ts, 25, 5)) ->gen().map : Symbol(BuiltinIterator.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>gen().map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) >gen : Symbol(gen, Decl(builtinIterator.ts, 18, 3)) ->map : Symbol(BuiltinIterator.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) >x : Symbol(x, Decl(builtinIterator.ts, 25, 28)) >x : Symbol(x, Decl(builtinIterator.ts, 25, 28)) const mappedValues = [0, 1, 2].values().map(x => x === 0 ? "zero" : "other"); >mappedValues : Symbol(mappedValues, Decl(builtinIterator.ts, 27, 5)) ->[0, 1, 2].values().map : Symbol(BuiltinIterator.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>[0, 1, 2].values().map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) >[0, 1, 2].values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) >values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) ->map : Symbol(BuiltinIterator.map, Decl(lib.esnext.iterator.d.ts, --, --)) +>map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --)) >x : Symbol(x, Decl(builtinIterator.ts, 27, 44)) >x : Symbol(x, Decl(builtinIterator.ts, 27, 44)) @@ -182,15 +182,14 @@ const iter1 = Iterator.from(g1); >from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) >g1 : Symbol(g1, Decl(builtinIterator.ts, 68, 13)) -declare const iter2: BuiltinIterator; +declare const iter2: IteratorObject; >iter2 : Symbol(iter2, Decl(builtinIterator.ts, 71, 13)) ->BuiltinIterator : Symbol(BuiltinIterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->BuiltinIteratorReturn : Symbol(BuiltinIteratorReturn, Decl(lib.es2015.iterable.d.ts, --, --)) +>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) const iter3 = iter2.flatMap(() => g1); >iter3 : Symbol(iter3, Decl(builtinIterator.ts, 72, 5)) ->iter2.flatMap : Symbol(BuiltinIterator.flatMap, Decl(lib.esnext.iterator.d.ts, --, --)) +>iter2.flatMap : Symbol(IteratorObject.flatMap, Decl(lib.esnext.iterator.d.ts, --, --)) >iter2 : Symbol(iter2, Decl(builtinIterator.ts, 71, 13)) ->flatMap : Symbol(BuiltinIterator.flatMap, Decl(lib.esnext.iterator.d.ts, --, --)) +>flatMap : Symbol(IteratorObject.flatMap, Decl(lib.esnext.iterator.d.ts, --, --)) >g1 : Symbol(g1, Decl(builtinIterator.ts, 68, 13)) diff --git a/tests/baselines/reference/builtinIterator.types b/tests/baselines/reference/builtinIterator.types index 7ee1560178e..75d934cddae 100644 --- a/tests/baselines/reference/builtinIterator.types +++ b/tests/baselines/reference/builtinIterator.types @@ -2,16 +2,16 @@ === builtinIterator.ts === const iterator = Iterator.from([0, 1, 2]); ->iterator : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->Iterator.from([0, 1, 2]) : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->Iterator.from : (value: Iterator | Iterable) => BuiltinIterator -> : ^ ^^ ^^ ^^^^^ +>iterator : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from([0, 1, 2]) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ >Iterator : IteratorConstructor > : ^^^^^^^^^^^^^^^^^^^ ->from : (value: Iterator | Iterable) => BuiltinIterator -> : ^ ^^ ^^ ^^^^^ +>from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ >[0, 1, 2] : number[] > : ^^^^^^^^ >0 : 0 @@ -22,30 +22,30 @@ const iterator = Iterator.from([0, 1, 2]); > : ^ const mapped = iterator.map(String); ->mapped : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator.map(String) : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator.map : (callbackfn: (value: number, index: number) => U) => BuiltinIterator -> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map : (callbackfn: (value: number, index: number) => U) => BuiltinIterator -> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>mapped : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator.map(String) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator.map : (callbackfn: (value: number, index: number) => U) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map : (callbackfn: (value: number, index: number) => U) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >String : StringConstructor > : ^^^^^^^^^^^^^^^^^ const filtered = iterator.filter(x => x > 0); ->filtered : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator.filter(x => x > 0) : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator.filter : { (predicate: (value: number, index: number) => value is S): BuiltinIterator; (predicate: (value: number, index: number) => unknown): BuiltinIterator; } -> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->filter : { (predicate: (value: number, index: number) => value is S): BuiltinIterator; (predicate: (value: number, index: number) => unknown): BuiltinIterator; } -> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>filtered : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator.filter(x => x > 0) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator.filter : { (predicate: (value: number, index: number) => value is S): IteratorObject; (predicate: (value: number, index: number) => unknown): IteratorObject; } +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>filter : { (predicate: (value: number, index: number) => value is S): IteratorObject; (predicate: (value: number, index: number) => unknown): IteratorObject; } +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x => x > 0 : (x: number) => boolean > : ^ ^^^^^^^^^^^^^^^^^^^^ >x : number @@ -72,30 +72,30 @@ function isZero(x: number): x is 0 { > : ^ } const zero = iterator.filter(isZero); ->zero : BuiltinIterator<0, undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator.filter(isZero) : BuiltinIterator<0, undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator.filter : { (predicate: (value: number, index: number) => value is S): BuiltinIterator; (predicate: (value: number, index: number) => unknown): BuiltinIterator; } -> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iterator : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->filter : { (predicate: (value: number, index: number) => value is S): BuiltinIterator; (predicate: (value: number, index: number) => unknown): BuiltinIterator; } -> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>zero : IteratorObject<0, undefined, unknown> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator.filter(isZero) : IteratorObject<0, undefined, unknown> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator.filter : { (predicate: (value: number, index: number) => value is S): IteratorObject; (predicate: (value: number, index: number) => unknown): IteratorObject; } +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iterator : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>filter : { (predicate: (value: number, index: number) => value is S): IteratorObject; (predicate: (value: number, index: number) => unknown): IteratorObject; } +> : ^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >isZero : (x: number) => x is 0 > : ^ ^^ ^^^^^ const iteratorFromBare = Iterator.from({ ->iteratorFromBare : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->Iterator.from({ next() { return { done: Math.random() < .5, value: "a string", }; },}) : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->Iterator.from : (value: Iterator | Iterable) => BuiltinIterator -> : ^ ^^ ^^ ^^^^^ +>iteratorFromBare : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from({ next() { return { done: Math.random() < .5, value: "a string", }; },}) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ >Iterator : IteratorConstructor > : ^^^^^^^^^^^^^^^^^^^ ->from : (value: Iterator | Iterable) => BuiltinIterator -> : ^ ^^ ^^ ^^^^^ +>from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ >{ next() { return { done: Math.random() < .5, value: "a string", }; },} : { next(): { done: boolean; value: string; }; } > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -146,18 +146,18 @@ function* gen() { } const mappedGen = gen().map(x => x === 0 ? "zero" : "other"); ->mappedGen : BuiltinIterator<"zero" | "other", undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->gen().map(x => x === 0 ? "zero" : "other") : BuiltinIterator<"zero" | "other", undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->gen().map : (callbackfn: (value: number, index: number) => U) => BuiltinIterator -> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>mappedGen : IteratorObject<"zero" | "other", undefined, unknown> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>gen().map(x => x === 0 ? "zero" : "other") : IteratorObject<"zero" | "other", undefined, unknown> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>gen().map : (callbackfn: (value: number, index: number) => U) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >gen() : Generator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >gen : () => Generator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map : (callbackfn: (value: number, index: number) => U) => BuiltinIterator -> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map : (callbackfn: (value: number, index: number) => U) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x => x === 0 ? "zero" : "other" : (x: number) => "zero" | "other" > : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number @@ -176,16 +176,16 @@ const mappedGen = gen().map(x => x === 0 ? "zero" : "other"); > : ^^^^^^^ const mappedValues = [0, 1, 2].values().map(x => x === 0 ? "zero" : "other"); ->mappedValues : BuiltinIterator<"zero" | "other", undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->[0, 1, 2].values().map(x => x === 0 ? "zero" : "other") : BuiltinIterator<"zero" | "other", undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->[0, 1, 2].values().map : (callbackfn: (value: number, index: number) => U) => BuiltinIterator -> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->[0, 1, 2].values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->[0, 1, 2].values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>mappedValues : IteratorObject<"zero" | "other", undefined, unknown> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[0, 1, 2].values().map(x => x === 0 ? "zero" : "other") : IteratorObject<"zero" | "other", undefined, unknown> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[0, 1, 2].values().map : (callbackfn: (value: number, index: number) => U) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[0, 1, 2].values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>[0, 1, 2].values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[0, 1, 2] : number[] > : ^^^^^^^^ >0 : 0 @@ -194,10 +194,10 @@ const mappedValues = [0, 1, 2].values().map(x => x === 0 ? "zero" : "other"); > : ^ >2 : 2 > : ^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map : (callbackfn: (value: number, index: number) => U) => BuiltinIterator -> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map : (callbackfn: (value: number, index: number) => U) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x => x === 0 ? "zero" : "other" : (x: number) => "zero" | "other" > : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >x : number @@ -219,8 +219,8 @@ const mappedValues = [0, 1, 2].values().map(x => x === 0 ? "zero" : "other"); class GoodIterator extends Iterator { >GoodIterator : GoodIterator > : ^^^^^^^^^^^^ ->Iterator : Iterator -> : ^^^^^^^^^^^^^^^^ +>Iterator : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ next() { >next : () => { readonly done: false; readonly value: 0; } @@ -252,15 +252,15 @@ new Iterator(); class C extends Iterator {} >C : C > : ^ ->Iterator : Iterator -> : ^^^^^^^^^^^^^^^^ +>Iterator : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // it's unfortunate that these are an error class BadIterator1 extends Iterator { >BadIterator1 : BadIterator1 > : ^^^^^^^^^^^^ ->Iterator : Iterator -> : ^^^^^^^^^^^^^^^^ +>Iterator : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ next() { >next : () => { readonly done: false; readonly value: 0; } | { readonly done: true; readonly value: "a string"; } @@ -315,8 +315,8 @@ class BadIterator1 extends Iterator { class BadIterator2 extends Iterator { >BadIterator2 : BadIterator2 > : ^^^^^^^^^^^^ ->Iterator : Iterator -> : ^^^^^^^^^^^^^^^^ +>Iterator : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ next() { >next : () => { done: boolean; value: number; } @@ -339,8 +339,8 @@ class BadIterator2 extends Iterator { class BadIterator3 extends Iterator { >BadIterator3 : BadIterator3 > : ^^^^^^^^^^^^ ->Iterator : Iterator -> : ^^^^^^^^^^^^^^^^ +>Iterator : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ next() { >next : () => { done: boolean; value: number; } | { done: boolean; value: string; } @@ -393,34 +393,34 @@ declare const g1: Generator; > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const iter1 = Iterator.from(g1); ->iter1 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->Iterator.from(g1) : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->Iterator.from : (value: Iterator | Iterable) => BuiltinIterator -> : ^ ^^ ^^ ^^^^^ +>iter1 : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from(g1) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ >Iterator : IteratorConstructor > : ^^^^^^^^^^^^^^^^^^^ ->from : (value: Iterator | Iterable) => BuiltinIterator -> : ^ ^^ ^^ ^^^^^ +>from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ >g1 : Generator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -declare const iter2: BuiltinIterator; ->iter2 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +declare const iter2: IteratorObject; +>iter2 : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const iter3 = iter2.flatMap(() => g1); ->iter3 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iter2.flatMap(() => g1) : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iter2.flatMap : (callback: (value: string, index: number) => Iterator | Iterable) => BuiltinIterator -> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->iter2 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->flatMap : (callback: (value: string, index: number) => Iterator | Iterable) => BuiltinIterator -> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iter3 : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iter2.flatMap(() => g1) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iter2.flatMap : (callback: (value: string, index: number) => Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>iter2 : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>flatMap : (callback: (value: string, index: number) => Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >() => g1 : () => Generator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >g1 : Generator diff --git a/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).types b/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).types index 3ed79289266..8c2630930a4 100644 --- a/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).types +++ b/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).types @@ -14,12 +14,12 @@ declare const set: Set; > : ^^^^^^^^^^^ const i0 = array[Symbol.iterator](); ->i0 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array[Symbol.iterator]() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array[Symbol.iterator] : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i0 : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array[Symbol.iterator]() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array[Symbol.iterator] : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : number[] > : ^^^^^^^^ >Symbol.iterator : unique symbol @@ -30,40 +30,40 @@ const i0 = array[Symbol.iterator](); > : ^^^^^^^^^^^^^ const i1 = array.values(); ->i1 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i1 : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array.values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array.values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : number[] > : ^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ const i2 = array.keys(); ->i2 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.keys : () => BuiltinIterator -> : ^^^^^^ +>i2 : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array.keys() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array.keys : () => ArrayIterator +> : ^^^^^^ >array : number[] > : ^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^ +>keys : () => ArrayIterator +> : ^^^^^^ const i3 = array.entries(); ->i3 : BuiltinIterator<[number, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.entries() : BuiltinIterator<[number, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.entries : () => BuiltinIterator<[number, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i3 : ArrayIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>array.entries() : ArrayIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>array.entries : () => ArrayIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : number[] > : ^^^^^^^^ ->entries : () => BuiltinIterator<[number, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>entries : () => ArrayIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ for (const x of array); >x : number @@ -72,12 +72,12 @@ for (const x of array); > : ^^^^^^^^ const i4 = map[Symbol.iterator](); ->i4 : BuiltinIterator<[string, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map[Symbol.iterator]() : BuiltinIterator<[string, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map[Symbol.iterator] : () => BuiltinIterator<[string, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i4 : MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map[Symbol.iterator]() : MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map[Symbol.iterator] : () => MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ >Symbol.iterator : unique symbol @@ -88,40 +88,40 @@ const i4 = map[Symbol.iterator](); > : ^^^^^^^^^^^^^ const i5 = map.values(); ->i5 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i5 : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.values() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ const i6 = map.keys(); ->i6 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i6 : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.keys() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ const i7 = map.entries(); ->i7 : BuiltinIterator<[string, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.entries() : BuiltinIterator<[string, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.entries : () => BuiltinIterator<[string, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i7 : MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.entries() : MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.entries : () => MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->entries : () => BuiltinIterator<[string, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>entries : () => MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ for (const x of map); >x : [string, number] @@ -130,12 +130,12 @@ for (const x of map); > : ^^^^^^^^^^^^^^^^^^^ const i8 = set[Symbol.iterator](); ->i8 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set[Symbol.iterator]() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set[Symbol.iterator] : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i8 : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set[Symbol.iterator]() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set[Symbol.iterator] : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ >Symbol.iterator : unique symbol @@ -146,40 +146,40 @@ const i8 = set[Symbol.iterator](); > : ^^^^^^^^^^^^^ const i9 = set.values(); ->i9 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i9 : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.values() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.values : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ const i10 = set.keys(); ->i10 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i10 : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.keys() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.keys : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>keys : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ const i11 = set.entries(); ->i11 : BuiltinIterator<[number, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.entries() : BuiltinIterator<[number, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.entries : () => BuiltinIterator<[number, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i11 : SetIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>set.entries() : SetIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>set.entries : () => SetIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ ->entries : () => BuiltinIterator<[number, number], any, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>entries : () => SetIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ for (const x of set); >x : number diff --git a/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).types b/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).types index 4a4d461d4a7..8c2630930a4 100644 --- a/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).types +++ b/tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).types @@ -14,12 +14,12 @@ declare const set: Set; > : ^^^^^^^^^^^ const i0 = array[Symbol.iterator](); ->i0 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array[Symbol.iterator]() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array[Symbol.iterator] : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i0 : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array[Symbol.iterator]() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array[Symbol.iterator] : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : number[] > : ^^^^^^^^ >Symbol.iterator : unique symbol @@ -30,40 +30,40 @@ const i0 = array[Symbol.iterator](); > : ^^^^^^^^^^^^^ const i1 = array.values(); ->i1 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i1 : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array.values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array.values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : number[] > : ^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ const i2 = array.keys(); ->i2 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.keys : () => BuiltinIterator -> : ^^^^^^ +>i2 : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array.keys() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>array.keys : () => ArrayIterator +> : ^^^^^^ >array : number[] > : ^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^ +>keys : () => ArrayIterator +> : ^^^^^^ const i3 = array.entries(); ->i3 : BuiltinIterator<[number, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.entries() : BuiltinIterator<[number, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->array.entries : () => BuiltinIterator<[number, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i3 : ArrayIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>array.entries() : ArrayIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>array.entries : () => ArrayIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >array : number[] > : ^^^^^^^^ ->entries : () => BuiltinIterator<[number, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>entries : () => ArrayIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ for (const x of array); >x : number @@ -72,12 +72,12 @@ for (const x of array); > : ^^^^^^^^ const i4 = map[Symbol.iterator](); ->i4 : BuiltinIterator<[string, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map[Symbol.iterator]() : BuiltinIterator<[string, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map[Symbol.iterator] : () => BuiltinIterator<[string, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i4 : MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map[Symbol.iterator]() : MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map[Symbol.iterator] : () => MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ >Symbol.iterator : unique symbol @@ -88,40 +88,40 @@ const i4 = map[Symbol.iterator](); > : ^^^^^^^^^^^^^ const i5 = map.values(); ->i5 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i5 : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.values() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ const i6 = map.keys(); ->i6 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i6 : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.keys() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ const i7 = map.entries(); ->i7 : BuiltinIterator<[string, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.entries() : BuiltinIterator<[string, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.entries : () => BuiltinIterator<[string, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i7 : MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.entries() : MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.entries : () => MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->entries : () => BuiltinIterator<[string, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>entries : () => MapIterator<[string, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ for (const x of map); >x : [string, number] @@ -130,12 +130,12 @@ for (const x of map); > : ^^^^^^^^^^^^^^^^^^^ const i8 = set[Symbol.iterator](); ->i8 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set[Symbol.iterator]() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set[Symbol.iterator] : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i8 : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set[Symbol.iterator]() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set[Symbol.iterator] : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ >Symbol.iterator : unique symbol @@ -146,40 +146,40 @@ const i8 = set[Symbol.iterator](); > : ^^^^^^^^^^^^^ const i9 = set.values(); ->i9 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i9 : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.values() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.values : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ const i10 = set.keys(); ->i10 : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i10 : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.keys() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.keys : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>keys : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ const i11 = set.entries(); ->i11 : BuiltinIterator<[number, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.entries() : BuiltinIterator<[number, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.entries : () => BuiltinIterator<[number, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i11 : SetIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>set.entries() : SetIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>set.entries : () => SetIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ ->entries : () => BuiltinIterator<[number, number], undefined, any> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>entries : () => SetIterator<[number, number]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ for (const x of set); >x : number diff --git a/tests/baselines/reference/bundlerConditionsExcludesNode(module=esnext).trace.json b/tests/baselines/reference/bundlerConditionsExcludesNode(module=esnext).trace.json index 2b67a19c808..36b71d80233 100644 --- a/tests/baselines/reference/bundlerConditionsExcludesNode(module=esnext).trace.json +++ b/tests/baselines/reference/bundlerConditionsExcludesNode(module=esnext).trace.json @@ -1,11 +1,13 @@ [ + "Found 'package.json' at '/node_modules/conditions/package.json'.", + "File '/node_modules/conditions/package.json' exists according to earlier cached lookups.", "======== Resolving module 'conditions' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", "File '/package.json' does not exist.", "Loading module 'conditions' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/conditions/package.json'.", + "File '/node_modules/conditions/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Saw non-matching condition 'node'.", "Matched 'exports' condition 'default'.", diff --git a/tests/baselines/reference/bundlerConditionsExcludesNode(module=preserve).trace.json b/tests/baselines/reference/bundlerConditionsExcludesNode(module=preserve).trace.json index 2b67a19c808..36b71d80233 100644 --- a/tests/baselines/reference/bundlerConditionsExcludesNode(module=preserve).trace.json +++ b/tests/baselines/reference/bundlerConditionsExcludesNode(module=preserve).trace.json @@ -1,11 +1,13 @@ [ + "Found 'package.json' at '/node_modules/conditions/package.json'.", + "File '/node_modules/conditions/package.json' exists according to earlier cached lookups.", "======== Resolving module 'conditions' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", "File '/package.json' does not exist.", "Loading module 'conditions' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/conditions/package.json'.", + "File '/node_modules/conditions/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Saw non-matching condition 'node'.", "Matched 'exports' condition 'default'.", diff --git a/tests/baselines/reference/bundlerImportESM(module=esnext).js b/tests/baselines/reference/bundlerImportESM(module=esnext).js index 48e483322c2..54887aeaed8 100644 --- a/tests/baselines/reference/bundlerImportESM(module=esnext).js +++ b/tests/baselines/reference/bundlerImportESM(module=esnext).js @@ -16,6 +16,7 @@ import { esm } from "./esm.mjs"; //// [esm.mjs] export var esm = 0; //// [not-actually-cjs.cjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [still-not-cjs.js] export {}; diff --git a/tests/baselines/reference/bundlerNodeModules1(module=esnext).errors.txt b/tests/baselines/reference/bundlerNodeModules1(module=esnext).errors.txt index 69921a8ce14..b25d226dacf 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=esnext).errors.txt +++ b/tests/baselines/reference/bundlerNodeModules1(module=esnext).errors.txt @@ -4,7 +4,7 @@ error TS6504: File '/node_modules/dual/index.cjs' is a JavaScript file. Did you error TS6504: File '/node_modules/dual/index.js' is a JavaScript file. Did you mean to enable the 'allowJs' option? The file is in the program because: Root file specified for compilation -/main.cts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. +/main.cts(1,10): error TS2305: Module '"dual"' has no exported member 'esm'. /main.mts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. /main.ts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. @@ -54,6 +54,6 @@ error TS6504: File '/node_modules/dual/index.js' is a JavaScript file. Did you m ==== /main.cts (1 errors) ==== import { esm, cjs } from "dual"; - ~~~ -!!! error TS2305: Module '"dual"' has no exported member 'cjs'. + ~~~ +!!! error TS2305: Module '"dual"' has no exported member 'esm'. \ No newline at end of file diff --git a/tests/baselines/reference/bundlerNodeModules1(module=esnext).js b/tests/baselines/reference/bundlerNodeModules1(module=esnext).js index 1272b9f38f8..c870e2e4522 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=esnext).js +++ b/tests/baselines/reference/bundlerNodeModules1(module=esnext).js @@ -42,4 +42,5 @@ export {}; //// [main.mjs] export {}; //// [main.cjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/bundlerNodeModules1(module=esnext).trace.json b/tests/baselines/reference/bundlerNodeModules1(module=esnext).trace.json index 9976c48b130..fe723e33866 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=esnext).trace.json +++ b/tests/baselines/reference/bundlerNodeModules1(module=esnext).trace.json @@ -1,11 +1,12 @@ [ + "Found 'package.json' at '/node_modules/dual/package.json'.", "======== Resolving module 'dual' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", "File '/package.json' does not exist.", "Loading module 'dual' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/dual/package.json'.", + "File '/node_modules/dual/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.js'.", @@ -22,8 +23,23 @@ "Resolution for module 'dual' was found in cache from location '/'.", "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.ts' with Package ID 'dual/index.d.ts@1.0.0'. ========", "======== Resolving module 'dual' from '/main.cts'. ========", - "Resolution for module 'dual' was found in cache from location '/'.", - "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.ts' with Package ID 'dual/index.d.ts@1.0.0'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'dual' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/dual/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'import'.", + "Matched 'exports' condition 'require'.", + "Using 'exports' subpath '.' with target './index.cjs'.", + "File name '/node_modules/dual/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/dual/index.cts' does not exist.", + "File '/node_modules/dual/index.d.cts' exists - use it as a name resolution result.", + "Resolved under condition 'require'.", + "Exiting conditional exports.", + "Resolving real path for '/node_modules/dual/index.d.cts', result '/node_modules/dual/index.d.cts'.", + "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.cts' with Package ID 'dual/index.d.cts@1.0.0'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/bundlerNodeModules1(module=esnext).types b/tests/baselines/reference/bundlerNodeModules1(module=esnext).types index 2d8967df384..a225f0203cc 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=esnext).types +++ b/tests/baselines/reference/bundlerNodeModules1(module=esnext).types @@ -26,8 +26,8 @@ import { esm, cjs } from "dual"; === /main.cts === import { esm, cjs } from "dual"; ->esm : number -> : ^^^^^^ ->cjs : any +>esm : any > : ^^^ +>cjs : number +> : ^^^^^^ diff --git a/tests/baselines/reference/bundlerNodeModules1(module=preserve).errors.txt b/tests/baselines/reference/bundlerNodeModules1(module=preserve).errors.txt index 69921a8ce14..b25d226dacf 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=preserve).errors.txt +++ b/tests/baselines/reference/bundlerNodeModules1(module=preserve).errors.txt @@ -4,7 +4,7 @@ error TS6504: File '/node_modules/dual/index.cjs' is a JavaScript file. Did you error TS6504: File '/node_modules/dual/index.js' is a JavaScript file. Did you mean to enable the 'allowJs' option? The file is in the program because: Root file specified for compilation -/main.cts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. +/main.cts(1,10): error TS2305: Module '"dual"' has no exported member 'esm'. /main.mts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. /main.ts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. @@ -54,6 +54,6 @@ error TS6504: File '/node_modules/dual/index.js' is a JavaScript file. Did you m ==== /main.cts (1 errors) ==== import { esm, cjs } from "dual"; - ~~~ -!!! error TS2305: Module '"dual"' has no exported member 'cjs'. + ~~~ +!!! error TS2305: Module '"dual"' has no exported member 'esm'. \ No newline at end of file diff --git a/tests/baselines/reference/bundlerNodeModules1(module=preserve).trace.json b/tests/baselines/reference/bundlerNodeModules1(module=preserve).trace.json index 9976c48b130..fe723e33866 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=preserve).trace.json +++ b/tests/baselines/reference/bundlerNodeModules1(module=preserve).trace.json @@ -1,11 +1,12 @@ [ + "Found 'package.json' at '/node_modules/dual/package.json'.", "======== Resolving module 'dual' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", "File '/package.json' does not exist.", "Loading module 'dual' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/dual/package.json'.", + "File '/node_modules/dual/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.js'.", @@ -22,8 +23,23 @@ "Resolution for module 'dual' was found in cache from location '/'.", "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.ts' with Package ID 'dual/index.d.ts@1.0.0'. ========", "======== Resolving module 'dual' from '/main.cts'. ========", - "Resolution for module 'dual' was found in cache from location '/'.", - "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.ts' with Package ID 'dual/index.d.ts@1.0.0'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'require', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'dual' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/dual/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'import'.", + "Matched 'exports' condition 'require'.", + "Using 'exports' subpath '.' with target './index.cjs'.", + "File name '/node_modules/dual/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/dual/index.cts' does not exist.", + "File '/node_modules/dual/index.d.cts' exists - use it as a name resolution result.", + "Resolved under condition 'require'.", + "Exiting conditional exports.", + "Resolving real path for '/node_modules/dual/index.d.cts', result '/node_modules/dual/index.d.cts'.", + "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.cts' with Package ID 'dual/index.d.cts@1.0.0'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/bundlerNodeModules1(module=preserve).types b/tests/baselines/reference/bundlerNodeModules1(module=preserve).types index 2d8967df384..a225f0203cc 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=preserve).types +++ b/tests/baselines/reference/bundlerNodeModules1(module=preserve).types @@ -26,8 +26,8 @@ import { esm, cjs } from "dual"; === /main.cts === import { esm, cjs } from "dual"; ->esm : number -> : ^^^^^^ ->cjs : any +>esm : any > : ^^^ +>cjs : number +> : ^^^^^^ diff --git a/tests/baselines/reference/cachedModuleResolution1.trace.json b/tests/baselines/reference/cachedModuleResolution1.trace.json index e0abb568e03..6df05454677 100644 --- a/tests/baselines/reference/cachedModuleResolution1.trace.json +++ b/tests/baselines/reference/cachedModuleResolution1.trace.json @@ -1,4 +1,8 @@ [ + "File '/a/b/node_modules/package.json' does not exist.", + "File '/a/b/package.json' does not exist.", + "File '/a/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/cachedModuleResolution2.trace.json b/tests/baselines/reference/cachedModuleResolution2.trace.json index af31f721e87..d65f34c9c39 100644 --- a/tests/baselines/reference/cachedModuleResolution2.trace.json +++ b/tests/baselines/reference/cachedModuleResolution2.trace.json @@ -1,4 +1,8 @@ [ + "File '/a/b/node_modules/package.json' does not exist.", + "File '/a/b/package.json' does not exist.", + "File '/a/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/cachedModuleResolution5.trace.json b/tests/baselines/reference/cachedModuleResolution5.trace.json index 897fc3aa4c3..1fbadddc744 100644 --- a/tests/baselines/reference/cachedModuleResolution5.trace.json +++ b/tests/baselines/reference/cachedModuleResolution5.trace.json @@ -1,4 +1,8 @@ [ + "File '/a/b/node_modules/package.json' does not exist.", + "File '/a/b/package.json' does not exist.", + "File '/a/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/capturedLetConstInLoop14.errors.txt b/tests/baselines/reference/capturedLetConstInLoop14.errors.txt new file mode 100644 index 00000000000..ab5b98288ac --- /dev/null +++ b/tests/baselines/reference/capturedLetConstInLoop14.errors.txt @@ -0,0 +1,21 @@ +capturedLetConstInLoop14.ts(7,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'v' must be of type 'number', but here has type 'any'. + + +==== capturedLetConstInLoop14.ts (1 errors) ==== + function use(v: number) {} + + function foo(x: number) { + var v = 1; + do { + let x = v; + var v; + ~ +!!! error TS2403: Subsequent variable declarations must have the same type. Variable 'v' must be of type 'number', but here has type 'any'. +!!! related TS6203 capturedLetConstInLoop14.ts:4:7: 'v' was also declared here. + var v = 2; + () => x + v; + } while (false); + + use(v); + } + \ No newline at end of file diff --git a/tests/baselines/reference/capturedLetConstInLoop14.js b/tests/baselines/reference/capturedLetConstInLoop14.js new file mode 100644 index 00000000000..cbf8119def9 --- /dev/null +++ b/tests/baselines/reference/capturedLetConstInLoop14.js @@ -0,0 +1,34 @@ +//// [tests/cases/compiler/capturedLetConstInLoop14.ts] //// + +//// [capturedLetConstInLoop14.ts] +function use(v: number) {} + +function foo(x: number) { + var v = 1; + do { + let x = v; + var v; + var v = 2; + () => x + v; + } while (false); + + use(v); +} + + +//// [capturedLetConstInLoop14.js] +"use strict"; +function use(v) { } +function foo(x) { + var v = 1; + var _loop_1 = function () { + var x_1 = v; + v = 2; + (function () { return x_1 + v; }); + }; + var v, v; + do { + _loop_1(); + } while (false); + use(v); +} diff --git a/tests/baselines/reference/castOfYield.js b/tests/baselines/reference/castOfYield.js index 0392eb7e354..94de9e5dddf 100644 --- a/tests/baselines/reference/castOfYield.js +++ b/tests/baselines/reference/castOfYield.js @@ -10,8 +10,8 @@ function* f() { //// [castOfYield.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/checkJsxSubtleSkipContextSensitiveBug.js b/tests/baselines/reference/checkJsxSubtleSkipContextSensitiveBug.js index 0393f492811..2eca8424cd8 100644 --- a/tests/baselines/reference/checkJsxSubtleSkipContextSensitiveBug.js +++ b/tests/baselines/reference/checkJsxSubtleSkipContextSensitiveBug.js @@ -53,8 +53,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/classStaticBlock6.js b/tests/baselines/reference/classStaticBlock6.js index ff75c42c44a..be445fb7d49 100644 --- a/tests/baselines/reference/classStaticBlock6.js +++ b/tests/baselines/reference/classStaticBlock6.js @@ -91,8 +91,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/classStaticBlock7.js b/tests/baselines/reference/classStaticBlock7.js index 238a20e1429..29d74bf4260 100644 --- a/tests/baselines/reference/classStaticBlock7.js +++ b/tests/baselines/reference/classStaticBlock7.js @@ -57,8 +57,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/completionsServerCommitCharacters.baseline b/tests/baselines/reference/completionsServerCommitCharacters.baseline index d91362a48bd..d55de049f78 100644 --- a/tests/baselines/reference/completionsServerCommitCharacters.baseline +++ b/tests/baselines/reference/completionsServerCommitCharacters.baseline @@ -21,8 +21,8 @@ "entries": [ { "name": "aa", - "kind": "string", "kindModifiers": "", + "kind": "string", "sortText": "11", "replacementSpan": { "start": 24, @@ -39,8 +39,8 @@ }, { "name": "bb", - "kind": "string", "kindModifiers": "", + "kind": "string", "sortText": "11", "replacementSpan": { "start": 24, diff --git a/tests/baselines/reference/conditionalExportsResolutionFallback(moduleresolution=bundler).trace.json b/tests/baselines/reference/conditionalExportsResolutionFallback(moduleresolution=bundler).trace.json index 5cf2ce2ba81..03336ac61ee 100644 --- a/tests/baselines/reference/conditionalExportsResolutionFallback(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/conditionalExportsResolutionFallback(moduleresolution=bundler).trace.json @@ -1,11 +1,13 @@ [ + "File '/node_modules/dep/dist/package.json' does not exist.", + "Found 'package.json' at '/node_modules/dep/package.json'.", "======== Resolving module 'dep' from '/index.mts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", "File '/package.json' does not exist.", "Loading module 'dep' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/dep/package.json'.", + "File '/node_modules/dep/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './dist/index.mjs'.", diff --git a/tests/baselines/reference/conditionalTypeDoesntSpinForever.types b/tests/baselines/reference/conditionalTypeDoesntSpinForever.types index 9d9489fd8dd..73fb1f2d6e1 100644 --- a/tests/baselines/reference/conditionalTypeDoesntSpinForever.types +++ b/tests/baselines/reference/conditionalTypeDoesntSpinForever.types @@ -1,8 +1,8 @@ //// [tests/cases/compiler/conditionalTypeDoesntSpinForever.ts] //// === Performance Stats === -Type Count: 1,000 -> 2,500 -Instantiation count: 5,000 +Type Count: 1,000 +Instantiation count: 2,500 -> 5,000 === conditionalTypeDoesntSpinForever.ts === // A *self-contained* demonstration of the problem follows... diff --git a/tests/baselines/reference/constructorOverloads9.js b/tests/baselines/reference/constructorOverloads9.js new file mode 100644 index 00000000000..868263711d8 --- /dev/null +++ b/tests/baselines/reference/constructorOverloads9.js @@ -0,0 +1,19 @@ +//// [tests/cases/compiler/constructorOverloads9.ts] //// + +//// [constructorOverloads9.ts] +export class C { + a; + constructor(); + constructor(x = '') { + this.a = x; + } +} + + +//// [constructorOverloads9.js] +export class C { + a; + constructor(x = '') { + this.a = x; + } +} diff --git a/tests/baselines/reference/constructorOverloads9.symbols b/tests/baselines/reference/constructorOverloads9.symbols new file mode 100644 index 00000000000..27527a8d823 --- /dev/null +++ b/tests/baselines/reference/constructorOverloads9.symbols @@ -0,0 +1,21 @@ +//// [tests/cases/compiler/constructorOverloads9.ts] //// + +=== constructorOverloads9.ts === +export class C { +>C : Symbol(C, Decl(constructorOverloads9.ts, 0, 0)) + + a; +>a : Symbol(C.a, Decl(constructorOverloads9.ts, 0, 16)) + + constructor(); + constructor(x = '') { +>x : Symbol(x, Decl(constructorOverloads9.ts, 3, 16)) + + this.a = x; +>this.a : Symbol(C.a, Decl(constructorOverloads9.ts, 0, 16)) +>this : Symbol(C, Decl(constructorOverloads9.ts, 0, 0)) +>a : Symbol(C.a, Decl(constructorOverloads9.ts, 0, 16)) +>x : Symbol(x, Decl(constructorOverloads9.ts, 3, 16)) + } +} + diff --git a/tests/baselines/reference/constructorOverloads9.types b/tests/baselines/reference/constructorOverloads9.types new file mode 100644 index 00000000000..0f5459e0d81 --- /dev/null +++ b/tests/baselines/reference/constructorOverloads9.types @@ -0,0 +1,30 @@ +//// [tests/cases/compiler/constructorOverloads9.ts] //// + +=== constructorOverloads9.ts === +export class C { +>C : C +> : ^ + + a; +>a : any + + constructor(); + constructor(x = '') { +>x : string +> : ^^^^^^ +>'' : "" +> : ^^ + + this.a = x; +>this.a = x : string +> : ^^^^^^ +>this.a : any +>this : this +> : ^^^^ +>a : any +> : ^^^ +>x : string +> : ^^^^^^ + } +} + diff --git a/tests/baselines/reference/contextualOuterTypeParameters.symbols b/tests/baselines/reference/contextualOuterTypeParameters.symbols new file mode 100644 index 00000000000..72ec61e99b1 --- /dev/null +++ b/tests/baselines/reference/contextualOuterTypeParameters.symbols @@ -0,0 +1,90 @@ +//// [tests/cases/compiler/contextualOuterTypeParameters.ts] //// + +=== contextualOuterTypeParameters.ts === +// https://github.com/microsoft/TypeScript/issues/59450 + +declare function f(fun: (t: T) => void): void +>f : Symbol(f, Decl(contextualOuterTypeParameters.ts, 0, 0)) +>fun : Symbol(fun, Decl(contextualOuterTypeParameters.ts, 2, 19)) +>T : Symbol(T, Decl(contextualOuterTypeParameters.ts, 2, 25)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 2, 28)) +>T : Symbol(T, Decl(contextualOuterTypeParameters.ts, 2, 25)) + +f(t => { +>f : Symbol(f, Decl(contextualOuterTypeParameters.ts, 0, 0)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 4, 2)) + + type isArray = (typeof t)[] extends string[] ? true : false; +>isArray : Symbol(isArray, Decl(contextualOuterTypeParameters.ts, 4, 8)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 4, 2)) + + type IsObject = { x: typeof t } extends { x: string } ? true : false; +>IsObject : Symbol(IsObject, Decl(contextualOuterTypeParameters.ts, 5, 64)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 6, 21)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 4, 2)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 6, 45)) + +}); + +const fn1: (x: T) => void = t => { +>fn1 : Symbol(fn1, Decl(contextualOuterTypeParameters.ts, 9, 5)) +>T : Symbol(T, Decl(contextualOuterTypeParameters.ts, 9, 12)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 9, 15)) +>T : Symbol(T, Decl(contextualOuterTypeParameters.ts, 9, 12)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 9, 30)) + + type isArray = (typeof t)[] extends string[] ? true : false; +>isArray : Symbol(isArray, Decl(contextualOuterTypeParameters.ts, 9, 37)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 9, 30)) + + type IsObject = { x: typeof t } extends { x: string } ? true : false; +>IsObject : Symbol(IsObject, Decl(contextualOuterTypeParameters.ts, 10, 64)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 11, 21)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 9, 30)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 11, 45)) + +}; + +const fn2: (x: T) => void = function test(t) { +>fn2 : Symbol(fn2, Decl(contextualOuterTypeParameters.ts, 14, 5)) +>T : Symbol(T, Decl(contextualOuterTypeParameters.ts, 14, 12)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 14, 15)) +>T : Symbol(T, Decl(contextualOuterTypeParameters.ts, 14, 12)) +>test : Symbol(test, Decl(contextualOuterTypeParameters.ts, 14, 30)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 14, 45)) + + type isArray = (typeof t)[] extends string[] ? true : false; +>isArray : Symbol(isArray, Decl(contextualOuterTypeParameters.ts, 14, 49)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 14, 45)) + + type IsObject = { x: typeof t } extends { x: string } ? true : false; +>IsObject : Symbol(IsObject, Decl(contextualOuterTypeParameters.ts, 15, 64)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 16, 21)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 14, 45)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 16, 45)) + +}; + +const obj: { f: (x: T) => void } = { +>obj : Symbol(obj, Decl(contextualOuterTypeParameters.ts, 19, 5)) +>f : Symbol(f, Decl(contextualOuterTypeParameters.ts, 19, 12)) +>T : Symbol(T, Decl(contextualOuterTypeParameters.ts, 19, 17)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 19, 20)) +>T : Symbol(T, Decl(contextualOuterTypeParameters.ts, 19, 17)) + + f(t) { +>f : Symbol(f, Decl(contextualOuterTypeParameters.ts, 19, 39)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 20, 6)) + + type isArray = (typeof t)[] extends string[] ? true : false; +>isArray : Symbol(isArray, Decl(contextualOuterTypeParameters.ts, 20, 10)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 20, 6)) + + type IsObject = { x: typeof t } extends { x: string } ? true : false; +>IsObject : Symbol(IsObject, Decl(contextualOuterTypeParameters.ts, 21, 68)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 22, 25)) +>t : Symbol(t, Decl(contextualOuterTypeParameters.ts, 20, 6)) +>x : Symbol(x, Decl(contextualOuterTypeParameters.ts, 22, 49)) + } +}; + diff --git a/tests/baselines/reference/contextualOuterTypeParameters.types b/tests/baselines/reference/contextualOuterTypeParameters.types new file mode 100644 index 00000000000..d18525d58c1 --- /dev/null +++ b/tests/baselines/reference/contextualOuterTypeParameters.types @@ -0,0 +1,165 @@ +//// [tests/cases/compiler/contextualOuterTypeParameters.ts] //// + +=== contextualOuterTypeParameters.ts === +// https://github.com/microsoft/TypeScript/issues/59450 + +declare function f(fun: (t: T) => void): void +>f : (fun: (t: T) => void) => void +> : ^ ^^ ^^^^^ +>fun : (t: T) => void +> : ^ ^^ ^^ ^^^^^ +>t : T +> : ^ + +f(t => { +>f(t => { type isArray = (typeof t)[] extends string[] ? true : false; type IsObject = { x: typeof t } extends { x: string } ? true : false;}) : void +> : ^^^^ +>f : (fun: (t: T) => void) => void +> : ^ ^^ ^^^^^ +>t => { type isArray = (typeof t)[] extends string[] ? true : false; type IsObject = { x: typeof t } extends { x: string } ? true : false;} : (t: T) => void +> : ^ ^^ ^^^^^^^^^^^^ +>t : T +> : ^ + + type isArray = (typeof t)[] extends string[] ? true : false; +>isArray : T[] extends string[] ? true : false +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>t : T +> : ^ +>true : true +> : ^^^^ +>false : false +> : ^^^^^ + + type IsObject = { x: typeof t } extends { x: string } ? true : false; +>IsObject : { x: typeof t; } extends { x: string; } ? true : false +> : ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +>x : T +> : ^ +>t : T +> : ^ +>x : string +> : ^^^^^^ +>true : true +> : ^^^^ +>false : false +> : ^^^^^ + +}); + +const fn1: (x: T) => void = t => { +>fn1 : (x: T) => void +> : ^ ^^ ^^ ^^^^^ +>x : T +> : ^ +>t => { type isArray = (typeof t)[] extends string[] ? true : false; type IsObject = { x: typeof t } extends { x: string } ? true : false;} : (t: T) => void +> : ^ ^^ ^^^^^^^^^^^^ +>t : T +> : ^ + + type isArray = (typeof t)[] extends string[] ? true : false; +>isArray : T[] extends string[] ? true : false +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>t : T +> : ^ +>true : true +> : ^^^^ +>false : false +> : ^^^^^ + + type IsObject = { x: typeof t } extends { x: string } ? true : false; +>IsObject : { x: typeof t; } extends { x: string; } ? true : false +> : ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +>x : T +> : ^ +>t : T +> : ^ +>x : string +> : ^^^^^^ +>true : true +> : ^^^^ +>false : false +> : ^^^^^ + +}; + +const fn2: (x: T) => void = function test(t) { +>fn2 : (x: T) => void +> : ^ ^^ ^^ ^^^^^ +>x : T +> : ^ +>function test(t) { type isArray = (typeof t)[] extends string[] ? true : false; type IsObject = { x: typeof t } extends { x: string } ? true : false;} : (t: T) => void +> : ^ ^^ ^^^^^^^^^^^^ +>test : (t: T) => void +> : ^ ^^ ^^^^^^^^^^^^ +>t : T +> : ^ + + type isArray = (typeof t)[] extends string[] ? true : false; +>isArray : T[] extends string[] ? true : false +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>t : T +> : ^ +>true : true +> : ^^^^ +>false : false +> : ^^^^^ + + type IsObject = { x: typeof t } extends { x: string } ? true : false; +>IsObject : { x: typeof t; } extends { x: string; } ? true : false +> : ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +>x : T +> : ^ +>t : T +> : ^ +>x : string +> : ^^^^^^ +>true : true +> : ^^^^ +>false : false +> : ^^^^^ + +}; + +const obj: { f: (x: T) => void } = { +>obj : { f: (x: T) => void; } +> : ^^^^^ ^^^ +>f : (x: T) => void +> : ^ ^^ ^^ ^^^^^ +>x : T +> : ^ +>{ f(t) { type isArray = (typeof t)[] extends string[] ? true : false; type IsObject = { x: typeof t } extends { x: string } ? true : false; }} : { f(t: T): void; } +> : ^^^^ ^^ ^^^^^^^^^^^^^ + + f(t) { +>f : (t: T) => void +> : ^ ^^ ^^^^^^^^^^^^ +>t : T +> : ^ + + type isArray = (typeof t)[] extends string[] ? true : false; +>isArray : T[] extends string[] ? true : false +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>t : T +> : ^ +>true : true +> : ^^^^ +>false : false +> : ^^^^^ + + type IsObject = { x: typeof t } extends { x: string } ? true : false; +>IsObject : { x: typeof t; } extends { x: string; } ? true : false +> : ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ +>x : T +> : ^ +>t : T +> : ^ +>x : string +> : ^^^^^^ +>true : true +> : ^^^^ +>false : false +> : ^^^^^ + } +}; + diff --git a/tests/baselines/reference/contextualPropertyOfGenericFilteringMappedType.symbols b/tests/baselines/reference/contextualPropertyOfGenericFilteringMappedType.symbols new file mode 100644 index 00000000000..5bcaba07ec2 --- /dev/null +++ b/tests/baselines/reference/contextualPropertyOfGenericFilteringMappedType.symbols @@ -0,0 +1,90 @@ +//// [tests/cases/compiler/contextualPropertyOfGenericFilteringMappedType.ts] //// + +=== contextualPropertyOfGenericFilteringMappedType.ts === +declare function f1( +>f1 : Symbol(f1, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 0, 0)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 0, 20)) + + data: T, +>data : Symbol(data, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 0, 38)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 0, 20)) + + handlers: { [P in keyof T as P]: (value: T[P], prop: P) => void }, +>handlers : Symbol(handlers, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 1, 10)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 2, 15)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 0, 20)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 2, 15)) +>value : Symbol(value, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 2, 36)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 0, 20)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 2, 15)) +>prop : Symbol(prop, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 2, 48)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 2, 15)) + +): void; + +f1( +>f1 : Symbol(f1, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 0, 0)) + { + foo: 0, +>foo : Symbol(foo, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 6, 3)) + + bar: "", +>bar : Symbol(bar, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 7, 11)) + + }, + { + foo: (value, key) => {}, +>foo : Symbol(foo, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 10, 3)) +>value : Symbol(value, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 11, 10)) +>key : Symbol(key, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 11, 16)) + + bar: (value, key) => {}, +>bar : Symbol(bar, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 11, 28)) +>value : Symbol(value, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 12, 10)) +>key : Symbol(key, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 12, 16)) + + }, +); + +declare function f2( +>f2 : Symbol(f2, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 14, 2)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 16, 20)) + + data: T, +>data : Symbol(data, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 16, 38)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 16, 20)) + + handlers: { [P in keyof T as T[P] extends string ? P : never]: (value: T[P], prop: P) => void }, +>handlers : Symbol(handlers, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 17, 10)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 18, 15)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 16, 20)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 16, 20)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 18, 15)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 18, 15)) +>value : Symbol(value, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 18, 66)) +>T : Symbol(T, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 16, 20)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 18, 15)) +>prop : Symbol(prop, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 18, 78)) +>P : Symbol(P, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 18, 15)) + +): void; + +f2( +>f2 : Symbol(f2, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 14, 2)) + { + foo: 0, +>foo : Symbol(foo, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 22, 3)) + + bar: "", +>bar : Symbol(bar, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 23, 11)) + + }, + { + bar: (value, key) => {}, +>bar : Symbol(bar, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 26, 3)) +>value : Symbol(value, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 27, 10)) +>key : Symbol(key, Decl(contextualPropertyOfGenericFilteringMappedType.ts, 27, 16)) + + }, +); + diff --git a/tests/baselines/reference/contextualPropertyOfGenericFilteringMappedType.types b/tests/baselines/reference/contextualPropertyOfGenericFilteringMappedType.types new file mode 100644 index 00000000000..b55c98f6f65 --- /dev/null +++ b/tests/baselines/reference/contextualPropertyOfGenericFilteringMappedType.types @@ -0,0 +1,127 @@ +//// [tests/cases/compiler/contextualPropertyOfGenericFilteringMappedType.ts] //// + +=== contextualPropertyOfGenericFilteringMappedType.ts === +declare function f1( +>f1 : (data: T, handlers: { [P in keyof T as P]: (value: T[P], prop: P) => void; }) => void +> : ^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^ + + data: T, +>data : T +> : ^ + + handlers: { [P in keyof T as P]: (value: T[P], prop: P) => void }, +>handlers : { [P in keyof T as P]: (value: T[P], prop: P) => void; } +> : ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^ +>value : T[P] +> : ^^^^ +>prop : P +> : ^ + +): void; + +f1( +>f1( { foo: 0, bar: "", }, { foo: (value, key) => {}, bar: (value, key) => {}, },) : void +> : ^^^^ +>f1 : (data: T, handlers: { [P in keyof T as P]: (value: T[P], prop: P) => void; }) => void +> : ^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^ + { +>{ foo: 0, bar: "", } : { foo: number; bar: string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + foo: 0, +>foo : number +> : ^^^^^^ +>0 : 0 +> : ^ + + bar: "", +>bar : string +> : ^^^^^^ +>"" : "" +> : ^^ + + }, + { +>{ foo: (value, key) => {}, bar: (value, key) => {}, } : { foo: (value: number, key: "foo") => void; bar: (value: string, key: "bar") => void; } +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ + + foo: (value, key) => {}, +>foo : (value: number, key: "foo") => void +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +>(value, key) => {} : (value: number, key: "foo") => void +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +>value : number +> : ^^^^^^ +>key : "foo" +> : ^^^^^ + + bar: (value, key) => {}, +>bar : (value: string, key: "bar") => void +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +>(value, key) => {} : (value: string, key: "bar") => void +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +>value : string +> : ^^^^^^ +>key : "bar" +> : ^^^^^ + + }, +); + +declare function f2( +>f2 : (data: T, handlers: { [P in keyof T as T[P] extends string ? P : never]: (value: T[P], prop: P) => void; }) => void +> : ^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^ + + data: T, +>data : T +> : ^ + + handlers: { [P in keyof T as T[P] extends string ? P : never]: (value: T[P], prop: P) => void }, +>handlers : { [P in keyof T as T[P] extends string ? P : never]: (value: T[P], prop: P) => void; } +> : ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^ +>value : T[P] +> : ^^^^ +>prop : P +> : ^ + +): void; + +f2( +>f2( { foo: 0, bar: "", }, { bar: (value, key) => {}, },) : void +> : ^^^^ +>f2 : (data: T, handlers: { [P in keyof T as T[P] extends string ? P : never]: (value: T[P], prop: P) => void; }) => void +> : ^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^^^ + { +>{ foo: 0, bar: "", } : { foo: number; bar: string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + foo: 0, +>foo : number +> : ^^^^^^ +>0 : 0 +> : ^ + + bar: "", +>bar : string +> : ^^^^^^ +>"" : "" +> : ^^ + + }, + { +>{ bar: (value, key) => {}, } : { bar: (value: string, key: "bar") => void; } +> : ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ + + bar: (value, key) => {}, +>bar : (value: string, key: "bar") => void +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +>(value, key) => {} : (value: string, key: "bar") => void +> : ^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ +>value : string +> : ^^^^^^ +>key : "bar" +> : ^^^^^ + + }, +); + diff --git a/tests/baselines/reference/contextualReturnTypeOfIIFE.js b/tests/baselines/reference/contextualReturnTypeOfIIFE.js index 74b82182ceb..7baee9f0d4c 100644 --- a/tests/baselines/reference/contextualReturnTypeOfIIFE.js +++ b/tests/baselines/reference/contextualReturnTypeOfIIFE.js @@ -25,8 +25,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/controlFlowForCatchAndFinally.js b/tests/baselines/reference/controlFlowForCatchAndFinally.js index 949a178f7e4..65f0fe897cc 100644 --- a/tests/baselines/reference/controlFlowForCatchAndFinally.js +++ b/tests/baselines/reference/controlFlowForCatchAndFinally.js @@ -54,8 +54,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/controlFlowUnionContainingTypeParameter1.symbols b/tests/baselines/reference/controlFlowUnionContainingTypeParameter1.symbols new file mode 100644 index 00000000000..4429e97076f --- /dev/null +++ b/tests/baselines/reference/controlFlowUnionContainingTypeParameter1.symbols @@ -0,0 +1,105 @@ +//// [tests/cases/compiler/controlFlowUnionContainingTypeParameter1.ts] //// + +=== controlFlowUnionContainingTypeParameter1.ts === +// https://github.com/microsoft/TypeScript/issues/44814 + +class TestClass { +>TestClass : Symbol(TestClass, Decl(controlFlowUnionContainingTypeParameter1.ts, 0, 0)) +>T : Symbol(T, Decl(controlFlowUnionContainingTypeParameter1.ts, 2, 16)) + + typeguard(val: unknown): val is T { +>typeguard : Symbol(TestClass.typeguard, Decl(controlFlowUnionContainingTypeParameter1.ts, 2, 20)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 3, 12)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 3, 12)) +>T : Symbol(T, Decl(controlFlowUnionContainingTypeParameter1.ts, 2, 16)) + + return true; + } + f(v: number): void {} +>f : Symbol(TestClass.f, Decl(controlFlowUnionContainingTypeParameter1.ts, 5, 3)) +>v : Symbol(v, Decl(controlFlowUnionContainingTypeParameter1.ts, 6, 4)) + + h(v: T): void {} +>h : Symbol(TestClass.h, Decl(controlFlowUnionContainingTypeParameter1.ts, 6, 23)) +>v : Symbol(v, Decl(controlFlowUnionContainingTypeParameter1.ts, 7, 4)) +>T : Symbol(T, Decl(controlFlowUnionContainingTypeParameter1.ts, 2, 16)) + + func(val: T | number): void { +>func : Symbol(TestClass.func, Decl(controlFlowUnionContainingTypeParameter1.ts, 7, 18)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 8, 7)) +>T : Symbol(T, Decl(controlFlowUnionContainingTypeParameter1.ts, 2, 16)) + + if (this.typeguard(val)) { +>this.typeguard : Symbol(TestClass.typeguard, Decl(controlFlowUnionContainingTypeParameter1.ts, 2, 20)) +>this : Symbol(TestClass, Decl(controlFlowUnionContainingTypeParameter1.ts, 0, 0)) +>typeguard : Symbol(TestClass.typeguard, Decl(controlFlowUnionContainingTypeParameter1.ts, 2, 20)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 8, 7)) + + this.h(val); +>this.h : Symbol(TestClass.h, Decl(controlFlowUnionContainingTypeParameter1.ts, 6, 23)) +>this : Symbol(TestClass, Decl(controlFlowUnionContainingTypeParameter1.ts, 0, 0)) +>h : Symbol(TestClass.h, Decl(controlFlowUnionContainingTypeParameter1.ts, 6, 23)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 8, 7)) + + return; + } + this.f(val); +>this.f : Symbol(TestClass.f, Decl(controlFlowUnionContainingTypeParameter1.ts, 5, 3)) +>this : Symbol(TestClass, Decl(controlFlowUnionContainingTypeParameter1.ts, 0, 0)) +>f : Symbol(TestClass.f, Decl(controlFlowUnionContainingTypeParameter1.ts, 5, 3)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 8, 7)) + } +} + +class TestClass2 { +>TestClass2 : Symbol(TestClass2, Decl(controlFlowUnionContainingTypeParameter1.ts, 15, 1)) +>T : Symbol(T, Decl(controlFlowUnionContainingTypeParameter1.ts, 17, 17)) +>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --)) + + typeguard(val: unknown): val is T { +>typeguard : Symbol(TestClass2.typeguard, Decl(controlFlowUnionContainingTypeParameter1.ts, 17, 34)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 18, 12)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 18, 12)) +>T : Symbol(T, Decl(controlFlowUnionContainingTypeParameter1.ts, 17, 17)) + + return true; + } + f(v: number): void {} +>f : Symbol(TestClass2.f, Decl(controlFlowUnionContainingTypeParameter1.ts, 20, 3)) +>v : Symbol(v, Decl(controlFlowUnionContainingTypeParameter1.ts, 21, 4)) + + h(v: T): void {} +>h : Symbol(TestClass2.h, Decl(controlFlowUnionContainingTypeParameter1.ts, 21, 23)) +>v : Symbol(v, Decl(controlFlowUnionContainingTypeParameter1.ts, 22, 4)) +>T : Symbol(T, Decl(controlFlowUnionContainingTypeParameter1.ts, 17, 17)) + + func(val: T | number): void { +>func : Symbol(TestClass2.func, Decl(controlFlowUnionContainingTypeParameter1.ts, 22, 18)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 23, 7)) +>T : Symbol(T, Decl(controlFlowUnionContainingTypeParameter1.ts, 17, 17)) + + if (this.typeguard(val)) { +>this.typeguard : Symbol(TestClass2.typeguard, Decl(controlFlowUnionContainingTypeParameter1.ts, 17, 34)) +>this : Symbol(TestClass2, Decl(controlFlowUnionContainingTypeParameter1.ts, 15, 1)) +>typeguard : Symbol(TestClass2.typeguard, Decl(controlFlowUnionContainingTypeParameter1.ts, 17, 34)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 23, 7)) + + this.h(val); +>this.h : Symbol(TestClass2.h, Decl(controlFlowUnionContainingTypeParameter1.ts, 21, 23)) +>this : Symbol(TestClass2, Decl(controlFlowUnionContainingTypeParameter1.ts, 15, 1)) +>h : Symbol(TestClass2.h, Decl(controlFlowUnionContainingTypeParameter1.ts, 21, 23)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 23, 7)) + + return; + } + val; +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 23, 7)) + + this.f(val); +>this.f : Symbol(TestClass2.f, Decl(controlFlowUnionContainingTypeParameter1.ts, 20, 3)) +>this : Symbol(TestClass2, Decl(controlFlowUnionContainingTypeParameter1.ts, 15, 1)) +>f : Symbol(TestClass2.f, Decl(controlFlowUnionContainingTypeParameter1.ts, 20, 3)) +>val : Symbol(val, Decl(controlFlowUnionContainingTypeParameter1.ts, 23, 7)) + } +} + diff --git a/tests/baselines/reference/controlFlowUnionContainingTypeParameter1.types b/tests/baselines/reference/controlFlowUnionContainingTypeParameter1.types new file mode 100644 index 00000000000..4a3c2dd1f84 --- /dev/null +++ b/tests/baselines/reference/controlFlowUnionContainingTypeParameter1.types @@ -0,0 +1,153 @@ +//// [tests/cases/compiler/controlFlowUnionContainingTypeParameter1.ts] //// + +=== controlFlowUnionContainingTypeParameter1.ts === +// https://github.com/microsoft/TypeScript/issues/44814 + +class TestClass { +>TestClass : TestClass +> : ^^^^^^^^^^^^ + + typeguard(val: unknown): val is T { +>typeguard : (val: unknown) => val is T +> : ^ ^^ ^^^^^ +>val : unknown +> : ^^^^^^^ + + return true; +>true : true +> : ^^^^ + } + f(v: number): void {} +>f : (v: number) => void +> : ^ ^^ ^^^^^ +>v : number +> : ^^^^^^ + + h(v: T): void {} +>h : (v: T) => void +> : ^ ^^ ^^^^^ +>v : T +> : ^ + + func(val: T | number): void { +>func : (val: T | number) => void +> : ^ ^^ ^^^^^ +>val : number | T +> : ^^^^^^^^^^ + + if (this.typeguard(val)) { +>this.typeguard(val) : boolean +> : ^^^^^^^ +>this.typeguard : (val: unknown) => val is T +> : ^ ^^ ^^^^^ +>this : this +> : ^^^^ +>typeguard : (val: unknown) => val is T +> : ^ ^^ ^^^^^ +>val : number | T +> : ^^^^^^^^^^ + + this.h(val); +>this.h(val) : void +> : ^^^^ +>this.h : (v: T) => void +> : ^ ^^ ^^^^^ +>this : this +> : ^^^^ +>h : (v: T) => void +> : ^ ^^ ^^^^^ +>val : T +> : ^ + + return; + } + this.f(val); +>this.f(val) : void +> : ^^^^ +>this.f : (v: number) => void +> : ^ ^^ ^^^^^ +>this : this +> : ^^^^ +>f : (v: number) => void +> : ^ ^^ ^^^^^ +>val : number +> : ^^^^^^ + } +} + +class TestClass2 { +>TestClass2 : TestClass2 +> : ^^^^^^^^^^^^^ + + typeguard(val: unknown): val is T { +>typeguard : (val: unknown) => val is T +> : ^ ^^ ^^^^^ +>val : unknown +> : ^^^^^^^ + + return true; +>true : true +> : ^^^^ + } + f(v: number): void {} +>f : (v: number) => void +> : ^ ^^ ^^^^^ +>v : number +> : ^^^^^^ + + h(v: T): void {} +>h : (v: T) => void +> : ^ ^^ ^^^^^ +>v : T +> : ^ + + func(val: T | number): void { +>func : (val: T | number) => void +> : ^ ^^ ^^^^^ +>val : number | T +> : ^^^^^^^^^^ + + if (this.typeguard(val)) { +>this.typeguard(val) : boolean +> : ^^^^^^^ +>this.typeguard : (val: unknown) => val is T +> : ^ ^^ ^^^^^ +>this : this +> : ^^^^ +>typeguard : (val: unknown) => val is T +> : ^ ^^ ^^^^^ +>val : number | T +> : ^^^^^^^^^^ + + this.h(val); +>this.h(val) : void +> : ^^^^ +>this.h : (v: T) => void +> : ^ ^^ ^^^^^ +>this : this +> : ^^^^ +>h : (v: T) => void +> : ^ ^^ ^^^^^ +>val : T +> : ^ + + return; + } + val; +>val : number +> : ^^^^^^ + + this.f(val); +>this.f(val) : void +> : ^^^^ +>this.f : (v: number) => void +> : ^ ^^ ^^^^^ +>this : this +> : ^^^^ +>f : (v: number) => void +> : ^ ^^ ^^^^^ +>val : number +> : ^^^^^^ + } +} + diff --git a/tests/baselines/reference/correctOrderOfPromiseMethod.js b/tests/baselines/reference/correctOrderOfPromiseMethod.js index 900ffee4fb9..4ae573b8341 100644 --- a/tests/baselines/reference/correctOrderOfPromiseMethod.js +++ b/tests/baselines/reference/correctOrderOfPromiseMethod.js @@ -43,8 +43,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json b/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json index 92c6aa7e035..807136499cb 100644 --- a/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json +++ b/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json @@ -1,11 +1,14 @@ [ + "Found 'package.json' at '/node_modules/lodash/package.json'.", + "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", + "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", "======== Resolving module 'lodash' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types', 'webpack', ' browser'.", "File '/package.json' does not exist.", "Loading module 'lodash' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/lodash/package.json'.", + "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", "File '/node_modules/lodash.ts' does not exist.", "File '/node_modules/lodash.tsx' does not exist.", "File '/node_modules/lodash.d.ts' does not exist.", diff --git a/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json b/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json index c91e61256b1..c3dc1f71a2e 100644 --- a/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json +++ b/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json @@ -1,11 +1,14 @@ [ + "Found 'package.json' at '/node_modules/lodash/package.json'.", + "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", + "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", "======== Resolving module 'lodash' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types', 'webpack', ' browser'.", "File '/package.json' does not exist.", "Loading module 'lodash' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/lodash/package.json'.", + "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Saw non-matching condition 'browser'.", "Matched 'exports' condition 'webpack'.", diff --git a/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.js b/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.js new file mode 100644 index 00000000000..e1ec678e65d --- /dev/null +++ b/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.js @@ -0,0 +1,88 @@ +//// [tests/cases/compiler/declarationEmitEnumReferenceViaImportEquals.ts] //// + +//// [translation.ts] +export interface Translation { + translationKey: Translation.TranslationKeyEnum; +} + +export namespace Translation { + export type TranslationKeyEnum = 'translation1' | 'translation2'; + export const TranslationKeyEnum = { + Translation1: 'translation1' as TranslationKeyEnum, + Translation2: 'translation2' as TranslationKeyEnum, + } +} + + +//// [test.ts] +import { Translation } from "./translation"; +import TranslationKeyEnum = Translation.TranslationKeyEnum; + +export class Test { + TranslationKeyEnum = TranslationKeyEnum; + print() { + console.log(TranslationKeyEnum.Translation1); + } +} + +//// [index.ts] +import { Test } from "./test"; +new Test().print(); + +//// [translation.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Translation = void 0; +var Translation; +(function (Translation) { + Translation.TranslationKeyEnum = { + Translation1: 'translation1', + Translation2: 'translation2', + }; +})(Translation || (exports.Translation = Translation = {})); +//// [test.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Test = void 0; +var translation_1 = require("./translation"); +var TranslationKeyEnum = translation_1.Translation.TranslationKeyEnum; +var Test = /** @class */ (function () { + function Test() { + this.TranslationKeyEnum = TranslationKeyEnum; + } + Test.prototype.print = function () { + console.log(TranslationKeyEnum.Translation1); + }; + return Test; +}()); +exports.Test = Test; +//// [index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var test_1 = require("./test"); +new test_1.Test().print(); + + +//// [translation.d.ts] +export interface Translation { + translationKey: Translation.TranslationKeyEnum; +} +export declare namespace Translation { + type TranslationKeyEnum = 'translation1' | 'translation2'; + const TranslationKeyEnum: { + Translation1: TranslationKeyEnum; + Translation2: TranslationKeyEnum; + }; +} +//// [test.d.ts] +import { Translation } from "./translation"; +import TranslationKeyEnum = Translation.TranslationKeyEnum; +export declare class Test { + TranslationKeyEnum: { + Translation1: TranslationKeyEnum; + Translation2: TranslationKeyEnum; + }; + print(): void; +} +//// [index.d.ts] +export {}; diff --git a/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.symbols b/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.symbols new file mode 100644 index 00000000000..8a88df9f883 --- /dev/null +++ b/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.symbols @@ -0,0 +1,70 @@ +//// [tests/cases/compiler/declarationEmitEnumReferenceViaImportEquals.ts] //// + +=== translation.ts === +export interface Translation { +>Translation : Symbol(Translation, Decl(translation.ts, 0, 0), Decl(translation.ts, 2, 1)) + + translationKey: Translation.TranslationKeyEnum; +>translationKey : Symbol(Translation.translationKey, Decl(translation.ts, 0, 30)) +>Translation : Symbol(Translation, Decl(translation.ts, 0, 0), Decl(translation.ts, 2, 1)) +>TranslationKeyEnum : Symbol(Translation.TranslationKeyEnum, Decl(translation.ts, 4, 30), Decl(translation.ts, 6, 14)) +} + +export namespace Translation { +>Translation : Symbol(Translation, Decl(translation.ts, 0, 0), Decl(translation.ts, 2, 1)) + + export type TranslationKeyEnum = 'translation1' | 'translation2'; +>TranslationKeyEnum : Symbol(TranslationKeyEnum, Decl(translation.ts, 4, 30), Decl(translation.ts, 6, 14)) + + export const TranslationKeyEnum = { +>TranslationKeyEnum : Symbol(TranslationKeyEnum, Decl(translation.ts, 4, 30), Decl(translation.ts, 6, 14)) + + Translation1: 'translation1' as TranslationKeyEnum, +>Translation1 : Symbol(Translation1, Decl(translation.ts, 6, 37)) +>TranslationKeyEnum : Symbol(TranslationKeyEnum, Decl(translation.ts, 4, 30), Decl(translation.ts, 6, 14)) + + Translation2: 'translation2' as TranslationKeyEnum, +>Translation2 : Symbol(Translation2, Decl(translation.ts, 7, 55)) +>TranslationKeyEnum : Symbol(TranslationKeyEnum, Decl(translation.ts, 4, 30), Decl(translation.ts, 6, 14)) + } +} + + +=== test.ts === +import { Translation } from "./translation"; +>Translation : Symbol(Translation, Decl(test.ts, 0, 8)) + +import TranslationKeyEnum = Translation.TranslationKeyEnum; +>TranslationKeyEnum : Symbol(TranslationKeyEnum, Decl(test.ts, 0, 44)) +>Translation : Symbol(Translation, Decl(test.ts, 0, 8)) +>TranslationKeyEnum : Symbol(Translation.TranslationKeyEnum, Decl(translation.ts, 4, 30), Decl(translation.ts, 6, 14)) + +export class Test { +>Test : Symbol(Test, Decl(test.ts, 1, 59)) + + TranslationKeyEnum = TranslationKeyEnum; +>TranslationKeyEnum : Symbol(Test.TranslationKeyEnum, Decl(test.ts, 3, 19)) +>TranslationKeyEnum : Symbol(TranslationKeyEnum, Decl(test.ts, 0, 44)) + + print() { +>print : Symbol(Test.print, Decl(test.ts, 4, 42)) + + console.log(TranslationKeyEnum.Translation1); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>TranslationKeyEnum.Translation1 : Symbol(Translation1, Decl(translation.ts, 6, 37)) +>TranslationKeyEnum : Symbol(TranslationKeyEnum, Decl(test.ts, 0, 44)) +>Translation1 : Symbol(Translation1, Decl(translation.ts, 6, 37)) + } +} + +=== index.ts === +import { Test } from "./test"; +>Test : Symbol(Test, Decl(index.ts, 0, 8)) + +new Test().print(); +>new Test().print : Symbol(Test.print, Decl(test.ts, 4, 42)) +>Test : Symbol(Test, Decl(index.ts, 0, 8)) +>print : Symbol(Test.print, Decl(test.ts, 4, 42)) + diff --git a/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.types b/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.types new file mode 100644 index 00000000000..87ddff957a5 --- /dev/null +++ b/tests/baselines/reference/declarationEmitEnumReferenceViaImportEquals.types @@ -0,0 +1,106 @@ +//// [tests/cases/compiler/declarationEmitEnumReferenceViaImportEquals.ts] //// + +=== translation.ts === +export interface Translation { + translationKey: Translation.TranslationKeyEnum; +>translationKey : Translation.TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Translation : any +> : ^^^ +} + +export namespace Translation { +>Translation : typeof Translation +> : ^^^^^^^^^^^^^^^^^^ + + export type TranslationKeyEnum = 'translation1' | 'translation2'; +>TranslationKeyEnum : TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^ + + export const TranslationKeyEnum = { +>TranslationKeyEnum : { Translation1: TranslationKeyEnum; Translation2: TranslationKeyEnum; } +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ +>{ Translation1: 'translation1' as TranslationKeyEnum, Translation2: 'translation2' as TranslationKeyEnum, } : { Translation1: TranslationKeyEnum; Translation2: TranslationKeyEnum; } +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ + + Translation1: 'translation1' as TranslationKeyEnum, +>Translation1 : TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^ +>'translation1' as TranslationKeyEnum : TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^ +>'translation1' : "translation1" +> : ^^^^^^^^^^^^^^ + + Translation2: 'translation2' as TranslationKeyEnum, +>Translation2 : TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^ +>'translation2' as TranslationKeyEnum : TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^ +>'translation2' : "translation2" +> : ^^^^^^^^^^^^^^ + } +} + + +=== test.ts === +import { Translation } from "./translation"; +>Translation : typeof Translation +> : ^^^^^^^^^^^^^^^^^^ + +import TranslationKeyEnum = Translation.TranslationKeyEnum; +>TranslationKeyEnum : { Translation1: TranslationKeyEnum; Translation2: TranslationKeyEnum; } +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ +>Translation : Translation +> : ^^^^^^^^^^^ +>TranslationKeyEnum : Translation.TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +export class Test { +>Test : Test +> : ^^^^ + + TranslationKeyEnum = TranslationKeyEnum; +>TranslationKeyEnum : { Translation1: TranslationKeyEnum; Translation2: TranslationKeyEnum; } +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ +>TranslationKeyEnum : { Translation1: TranslationKeyEnum; Translation2: TranslationKeyEnum; } +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ + + print() { +>print : () => void +> : ^^^^^^^^^^ + + console.log(TranslationKeyEnum.Translation1); +>console.log(TranslationKeyEnum.Translation1) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>TranslationKeyEnum.Translation1 : Translation.TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>TranslationKeyEnum : { Translation1: TranslationKeyEnum; Translation2: TranslationKeyEnum; } +> : ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^ +>Translation1 : Translation.TranslationKeyEnum +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + } +} + +=== index.ts === +import { Test } from "./test"; +>Test : typeof Test +> : ^^^^^^^^^^^ + +new Test().print(); +>new Test().print() : void +> : ^^^^ +>new Test().print : () => void +> : ^^^^^^^^^^ +>new Test() : Test +> : ^^^^ +>Test : typeof Test +> : ^^^^^^^^^^^ +>print : () => void +> : ^^^^^^^^^^ + diff --git a/tests/baselines/reference/declarationEmitForModuleImportingModuleAugmentationRetainsImport.types b/tests/baselines/reference/declarationEmitForModuleImportingModuleAugmentationRetainsImport.types index b19648a579c..5e6804230c2 100644 --- a/tests/baselines/reference/declarationEmitForModuleImportingModuleAugmentationRetainsImport.types +++ b/tests/baselines/reference/declarationEmitForModuleImportingModuleAugmentationRetainsImport.types @@ -52,7 +52,7 @@ export function child1(prototype: ParentThing) { === parent.ts === import { child1 } from './child1'; // this import should still exist in some form in the output, since it augments this module >child1 : (prototype: ParentThing) => void -> : ^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^ export class ParentThing implements ParentThing {} >ParentThing : ParentThing @@ -62,7 +62,7 @@ child1(ParentThing.prototype); >child1(ParentThing.prototype) : void > : ^^^^ >child1 : (prototype: ParentThing) => void -> : ^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^ >ParentThing.prototype : ParentThing > : ^^^^^^^^^^^ >ParentThing : typeof ParentThing diff --git a/tests/baselines/reference/declarationEmitPrivateAsync.js b/tests/baselines/reference/declarationEmitPrivateAsync.js index 336c908724f..b3da5fed3f0 100644 --- a/tests/baselines/reference/declarationEmitPrivateAsync.js +++ b/tests/baselines/reference/declarationEmitPrivateAsync.js @@ -19,8 +19,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/declarationEmitThisPredicates02.errors.txt b/tests/baselines/reference/declarationEmitThisPredicates02.errors.txt deleted file mode 100644 index 396e12c0b6f..00000000000 --- a/tests/baselines/reference/declarationEmitThisPredicates02.errors.txt +++ /dev/null @@ -1,18 +0,0 @@ -declarationEmitThisPredicates02.ts(8,10): error TS2526: A 'this' type is available only in a non-static member of a class or interface. - - -==== declarationEmitThisPredicates02.ts (1 errors) ==== - export interface Foo { - a: string; - b: number; - c: boolean; - } - - export const obj = { - m(): this is Foo { - ~~~~ -!!! error TS2526: A 'this' type is available only in a non-static member of a class or interface. - let dis = this as {} as Foo; - return dis.a != null && dis.b != null && dis.c != null; - } - } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitThisPredicates02.types b/tests/baselines/reference/declarationEmitThisPredicates02.types index 790e599a604..4baa55abd85 100644 --- a/tests/baselines/reference/declarationEmitThisPredicates02.types +++ b/tests/baselines/reference/declarationEmitThisPredicates02.types @@ -33,7 +33,6 @@ export const obj = { >this as {} : {} > : ^^ >this : any -> : ^^^ return dis.a != null && dis.b != null && dis.c != null; >dis.a != null && dis.b != null && dis.c != null : boolean diff --git a/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName02.errors.txt b/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName02.errors.txt deleted file mode 100644 index b720ce2d668..00000000000 --- a/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName02.errors.txt +++ /dev/null @@ -1,18 +0,0 @@ -declarationEmitThisPredicatesWithPrivateName02.ts(8,10): error TS2526: A 'this' type is available only in a non-static member of a class or interface. - - -==== declarationEmitThisPredicatesWithPrivateName02.ts (1 errors) ==== - interface Foo { - a: string; - b: number; - c: boolean; - } - - export const obj = { - m(): this is Foo { - ~~~~ -!!! error TS2526: A 'this' type is available only in a non-static member of a class or interface. - let dis = this as {} as Foo; - return dis.a != null && dis.b != null && dis.c != null; - } - } \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName02.types b/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName02.types index 6927ce89778..906206df114 100644 --- a/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName02.types +++ b/tests/baselines/reference/declarationEmitThisPredicatesWithPrivateName02.types @@ -33,7 +33,6 @@ export const obj = { >this as {} : {} > : ^^ >this : any -> : ^^^ return dis.a != null && dis.b != null && dis.c != null; >dis.a != null && dis.b != null && dis.c != null : boolean diff --git a/tests/baselines/reference/declarationEmitUsingTypeAlias2.types b/tests/baselines/reference/declarationEmitUsingTypeAlias2.types index a64aa378cc9..b99ee19d2b2 100644 --- a/tests/baselines/reference/declarationEmitUsingTypeAlias2.types +++ b/tests/baselines/reference/declarationEmitUsingTypeAlias2.types @@ -98,7 +98,7 @@ export { shouldLookupName, shouldReuseLocalName, reuseDepName, shouldBeElided }; === src/index.ts === import { goodDeclaration, shouldReuseLocalName, shouldBeElided } from "some-dep"; >goodDeclaration : () => () => { shouldPrintResult: T extends import("node_modules/some-dep/dist/inner").Other ? "O" : "N"; shouldPrintResult2: T extends typeof shouldBeElided ? import("node_modules/some-dep/dist/inner").Other : "N"; shouldLookupName: typeof import("node_modules/some-dep/dist/other").shouldLookupName; shouldReuseLocalName: typeof shouldReuseLocalName; reuseDepName: typeof import("node_modules/some-dep/dist/other").reuseDepName; } -> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ >shouldReuseLocalName : unique symbol > : ^^^^^^^^^^^^^ >shouldBeElided : unique symbol @@ -106,10 +106,10 @@ import { goodDeclaration, shouldReuseLocalName, shouldBeElided } from "some-dep" export const bar = goodDeclaration<{}>; >bar : () => () => { shouldPrintResult: "N"; shouldPrintResult2: "N"; shouldLookupName: typeof import("node_modules/some-dep/dist/other").shouldLookupName; shouldReuseLocalName: typeof shouldReuseLocalName; reuseDepName: typeof import("node_modules/some-dep/dist/other").reuseDepName; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >goodDeclaration<{}> : () => () => { shouldPrintResult: "N"; shouldPrintResult2: "N"; shouldLookupName: typeof import("node_modules/some-dep/dist/other").shouldLookupName; shouldReuseLocalName: typeof shouldReuseLocalName; reuseDepName: typeof import("node_modules/some-dep/dist/other").reuseDepName; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >goodDeclaration : () => () => { shouldPrintResult: T extends import("node_modules/some-dep/dist/inner").Other ? "O" : "N"; shouldPrintResult2: T extends typeof shouldBeElided ? import("node_modules/some-dep/dist/inner").Other : "N"; shouldLookupName: typeof import("node_modules/some-dep/dist/other").shouldLookupName; shouldReuseLocalName: typeof shouldReuseLocalName; reuseDepName: typeof import("node_modules/some-dep/dist/other").reuseDepName; } -> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ +> : ^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/dependentDestructuredVariables.js b/tests/baselines/reference/dependentDestructuredVariables.js index 7d32808909b..a91ecf55ada 100644 --- a/tests/baselines/reference/dependentDestructuredVariables.js +++ b/tests/baselines/reference/dependentDestructuredVariables.js @@ -482,7 +482,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/destructureOfVariableSameAsShorthand.js b/tests/baselines/reference/destructureOfVariableSameAsShorthand.js index 26cf986a844..c8e0620ea8a 100644 --- a/tests/baselines/reference/destructureOfVariableSameAsShorthand.js +++ b/tests/baselines/reference/destructureOfVariableSameAsShorthand.js @@ -39,8 +39,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/destructuredLateBoundNameHasCorrectTypes.types b/tests/baselines/reference/destructuredLateBoundNameHasCorrectTypes.types index 3a69a723a7b..eb6edb1fac6 100644 --- a/tests/baselines/reference/destructuredLateBoundNameHasCorrectTypes.types +++ b/tests/baselines/reference/destructuredLateBoundNameHasCorrectTypes.types @@ -8,16 +8,16 @@ let { [Symbol.iterator]: destructured } = []; > : ^^^^^^^^^^^^^^^^^ >iterator : unique symbol > : ^^^^^^^^^^^^^ ->destructured : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>destructured : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[] : undefined[] > : ^^^^^^^^^^^ void destructured; >void destructured : undefined > : ^^^^^^^^^ ->destructured : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>destructured : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const named = "prop"; >named : "prop" diff --git a/tests/baselines/reference/destructuringControlFlowNoCrash.js b/tests/baselines/reference/destructuringControlFlowNoCrash.js index 8335829ac43..1cadd21894a 100644 --- a/tests/baselines/reference/destructuringControlFlowNoCrash.js +++ b/tests/baselines/reference/destructuringControlFlowNoCrash.js @@ -30,8 +30,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).symbols b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).symbols index 92e1297495f..d0e1cd81e82 100644 --- a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).symbols +++ b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).symbols @@ -110,8 +110,10 @@ function mapAsyncIterable( >next : Symbol(AsyncIterator.next, Decl(lib.es2018.asynciterable.d.ts, --, --)) }, - async return(): Promise> { + async return(value: R): Promise> { >return : Symbol(return, Decl(discriminateWithOptionalProperty2.ts, 32, 6)) +>value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 33, 17)) +>R : Symbol(R, Decl(discriminateWithOptionalProperty2.ts, 4, 31)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) >IteratorResult : Symbol(IteratorResult, Decl(lib.es2015.iterable.d.ts, --, --)) >U : Symbol(U, Decl(discriminateWithOptionalProperty2.ts, 4, 28)) @@ -122,11 +124,12 @@ function mapAsyncIterable( >iterator : Symbol(iterator, Decl(discriminateWithOptionalProperty2.ts, 8, 7)) >return : Symbol(AsyncIterator.return, Decl(lib.es2018.asynciterable.d.ts, --, --)) - ? mapResult(await iterator.return()) + ? mapResult(await iterator.return(value)) >mapResult : Symbol(mapResult, Decl(discriminateWithOptionalProperty2.ts, 8, 52)) >iterator.return : Symbol(AsyncIterator.return, Decl(lib.es2018.asynciterable.d.ts, --, --)) >iterator : Symbol(iterator, Decl(discriminateWithOptionalProperty2.ts, 8, 7)) >return : Symbol(AsyncIterator.return, Decl(lib.es2018.asynciterable.d.ts, --, --)) +>value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 33, 17)) : { value: undefined as any, done: true }; >value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 36, 11)) @@ -164,35 +167,47 @@ function mapAsyncIterable( >this : Symbol(AsyncGenerator, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) }, + async [Symbol.asyncDispose]() { +>[Symbol.asyncDispose] : Symbol([Symbol.asyncDispose], Decl(discriminateWithOptionalProperty2.ts, 46, 6)) +>Symbol.asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) + + await this.return(undefined!); +>this.return : Symbol(AsyncGenerator.return, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) +>this : Symbol(AsyncGenerator, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) +>return : Symbol(AsyncGenerator.return, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) +>undefined : Symbol(undefined) + } }; } const items = [1, 2, 3]; ->items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 50, 5)) +>items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 53, 5)) const iterable = { ->iterable : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 52, 5)) +>iterable : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 55, 5)) [Symbol.asyncIterator]() { ->[Symbol.asyncIterator] : Symbol([Symbol.asyncIterator], Decl(discriminateWithOptionalProperty2.ts, 52, 18)) +>[Symbol.asyncIterator] : Symbol([Symbol.asyncIterator], Decl(discriminateWithOptionalProperty2.ts, 55, 18)) >Symbol.asyncIterator : Symbol(SymbolConstructor.asyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) >asyncIterator : Symbol(SymbolConstructor.asyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) return this; ->this : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 52, 16)) +>this : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 55, 16)) }, next() { ->next : Symbol(next, Decl(discriminateWithOptionalProperty2.ts, 55, 4)) +>next : Symbol(next, Decl(discriminateWithOptionalProperty2.ts, 58, 4)) const value = items[0]; ->value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 57, 9)) ->items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 50, 5)) +>value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 60, 9)) +>items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 53, 5)) items.shift(); >items.shift : Symbol(Array.shift, Decl(lib.es5.d.ts, --, --)) ->items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 50, 5)) +>items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 53, 5)) >shift : Symbol(Array.shift, Decl(lib.es5.d.ts, --, --)) return Promise.resolve({ @@ -201,23 +216,23 @@ const iterable = { >resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) done: items.length === 0, ->done : Symbol(done, Decl(discriminateWithOptionalProperty2.ts, 59, 28)) +>done : Symbol(done, Decl(discriminateWithOptionalProperty2.ts, 62, 28)) >items.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) ->items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 50, 5)) +>items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 53, 5)) >length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) value, ->value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 60, 31)) +>value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 63, 31)) }); }, }; const doubles = mapAsyncIterable(iterable, (x) => x + x); ->doubles : Symbol(doubles, Decl(discriminateWithOptionalProperty2.ts, 66, 5)) +>doubles : Symbol(doubles, Decl(discriminateWithOptionalProperty2.ts, 69, 5)) >mapAsyncIterable : Symbol(mapAsyncIterable, Decl(discriminateWithOptionalProperty2.ts, 2, 40)) ->iterable : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 52, 5)) ->x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 66, 44)) ->x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 66, 44)) ->x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 66, 44)) +>iterable : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 55, 5)) +>x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 69, 44)) +>x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 69, 44)) +>x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 69, 44)) diff --git a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).types b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).types index ef7c8c5ae73..e0c4f8568b6 100644 --- a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).types +++ b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=false).types @@ -125,8 +125,8 @@ function mapAsyncIterable( } return { ->{ async next() { return mapResult(await iterator.next()); }, async return(): Promise> { return typeof iterator.return === "function" ? mapResult(await iterator.return()) : { value: undefined as any, done: true }; }, async throw(error?: unknown) { if (typeof iterator.throw === "function") { return mapResult(await iterator.throw(error)); } throw error; }, [Symbol.asyncIterator]() { return this; }, } : { next(): Promise>; return(): Promise>; throw(error?: unknown): Promise>; [Symbol.asyncIterator](): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async next() { return mapResult(await iterator.next()); }, async return(value: R): Promise> { return typeof iterator.return === "function" ? mapResult(await iterator.return(value)) : { value: undefined as any, done: true }; }, async throw(error?: unknown) { if (typeof iterator.throw === "function") { return mapResult(await iterator.throw(error)); } throw error; }, [Symbol.asyncIterator]() { return this; }, async [Symbol.asyncDispose]() { await this.return(undefined!); } } : { next(): Promise>; return(value: R): Promise>; throw(error?: unknown): Promise>; [Symbol.asyncIterator](): AsyncGenerator; [Symbol.asyncDispose](): Promise; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ async next() { >next : () => Promise> @@ -149,13 +149,15 @@ function mapAsyncIterable( > : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ }, - async return(): Promise> { ->return : () => Promise> -> : ^^^^^^ + async return(value: R): Promise> { +>return : (value: R) => Promise> +> : ^ ^^ ^^^^^ +>value : R +> : ^ return typeof iterator.return === "function" ->typeof iterator.return === "function" ? mapResult(await iterator.return()) : { value: undefined as any, done: true } : Promise> | { value: any; done: true; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +>typeof iterator.return === "function" ? mapResult(await iterator.return(value)) : { value: undefined as any, done: true } : Promise> | { value: any; done: true; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >typeof iterator.return === "function" : boolean > : ^^^^^^^ >typeof iterator.return : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" @@ -169,21 +171,23 @@ function mapAsyncIterable( >"function" : "function" > : ^^^^^^^^^^ - ? mapResult(await iterator.return()) ->mapResult(await iterator.return()) : Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ? mapResult(await iterator.return(value)) +>mapResult(await iterator.return(value)) : Promise> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >mapResult : (result: IteratorResult) => Promise> > : ^ ^^ ^^^^^ ->await iterator.return() : IteratorResult -> : ^^^^^^^^^^^^^^^^^^^^ ->iterator.return() : Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>await iterator.return(value) : IteratorResult +> : ^^^^^^^^^^^^^^^^^^^^ +>iterator.return(value) : Promise> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator.return : (value?: R | PromiseLike | undefined) => Promise> > : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : AsyncIterator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >return : (value?: R | PromiseLike | undefined) => Promise> > : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>value : R +> : ^ : { value: undefined as any, done: true }; >{ value: undefined as any, done: true } : { value: any; done: true; } @@ -256,6 +260,32 @@ function mapAsyncIterable( > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ }, + async [Symbol.asyncDispose]() { +>[Symbol.asyncDispose] : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ +>Symbol.asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ + + await this.return(undefined!); +>await this.return(undefined!) : IteratorResult +> : ^^^^^^^^^^^^^^^^^^^^ +>this.return(undefined!) : Promise> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>this.return : (value: R | PromiseLike) => Promise> +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>this : AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +>return : (value: R | PromiseLike) => Promise> +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>undefined! : never +> : ^^^^^ +>undefined : undefined +> : ^^^^^^^^^ + } }; } diff --git a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).symbols b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).symbols index 92e1297495f..d0e1cd81e82 100644 --- a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).symbols +++ b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).symbols @@ -110,8 +110,10 @@ function mapAsyncIterable( >next : Symbol(AsyncIterator.next, Decl(lib.es2018.asynciterable.d.ts, --, --)) }, - async return(): Promise> { + async return(value: R): Promise> { >return : Symbol(return, Decl(discriminateWithOptionalProperty2.ts, 32, 6)) +>value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 33, 17)) +>R : Symbol(R, Decl(discriminateWithOptionalProperty2.ts, 4, 31)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) >IteratorResult : Symbol(IteratorResult, Decl(lib.es2015.iterable.d.ts, --, --)) >U : Symbol(U, Decl(discriminateWithOptionalProperty2.ts, 4, 28)) @@ -122,11 +124,12 @@ function mapAsyncIterable( >iterator : Symbol(iterator, Decl(discriminateWithOptionalProperty2.ts, 8, 7)) >return : Symbol(AsyncIterator.return, Decl(lib.es2018.asynciterable.d.ts, --, --)) - ? mapResult(await iterator.return()) + ? mapResult(await iterator.return(value)) >mapResult : Symbol(mapResult, Decl(discriminateWithOptionalProperty2.ts, 8, 52)) >iterator.return : Symbol(AsyncIterator.return, Decl(lib.es2018.asynciterable.d.ts, --, --)) >iterator : Symbol(iterator, Decl(discriminateWithOptionalProperty2.ts, 8, 7)) >return : Symbol(AsyncIterator.return, Decl(lib.es2018.asynciterable.d.ts, --, --)) +>value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 33, 17)) : { value: undefined as any, done: true }; >value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 36, 11)) @@ -164,35 +167,47 @@ function mapAsyncIterable( >this : Symbol(AsyncGenerator, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) }, + async [Symbol.asyncDispose]() { +>[Symbol.asyncDispose] : Symbol([Symbol.asyncDispose], Decl(discriminateWithOptionalProperty2.ts, 46, 6)) +>Symbol.asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) + + await this.return(undefined!); +>this.return : Symbol(AsyncGenerator.return, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) +>this : Symbol(AsyncGenerator, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) +>return : Symbol(AsyncGenerator.return, Decl(lib.es2018.asyncgenerator.d.ts, --, --)) +>undefined : Symbol(undefined) + } }; } const items = [1, 2, 3]; ->items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 50, 5)) +>items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 53, 5)) const iterable = { ->iterable : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 52, 5)) +>iterable : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 55, 5)) [Symbol.asyncIterator]() { ->[Symbol.asyncIterator] : Symbol([Symbol.asyncIterator], Decl(discriminateWithOptionalProperty2.ts, 52, 18)) +>[Symbol.asyncIterator] : Symbol([Symbol.asyncIterator], Decl(discriminateWithOptionalProperty2.ts, 55, 18)) >Symbol.asyncIterator : Symbol(SymbolConstructor.asyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) >asyncIterator : Symbol(SymbolConstructor.asyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) return this; ->this : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 52, 16)) +>this : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 55, 16)) }, next() { ->next : Symbol(next, Decl(discriminateWithOptionalProperty2.ts, 55, 4)) +>next : Symbol(next, Decl(discriminateWithOptionalProperty2.ts, 58, 4)) const value = items[0]; ->value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 57, 9)) ->items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 50, 5)) +>value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 60, 9)) +>items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 53, 5)) items.shift(); >items.shift : Symbol(Array.shift, Decl(lib.es5.d.ts, --, --)) ->items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 50, 5)) +>items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 53, 5)) >shift : Symbol(Array.shift, Decl(lib.es5.d.ts, --, --)) return Promise.resolve({ @@ -201,23 +216,23 @@ const iterable = { >resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) done: items.length === 0, ->done : Symbol(done, Decl(discriminateWithOptionalProperty2.ts, 59, 28)) +>done : Symbol(done, Decl(discriminateWithOptionalProperty2.ts, 62, 28)) >items.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) ->items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 50, 5)) +>items : Symbol(items, Decl(discriminateWithOptionalProperty2.ts, 53, 5)) >length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) value, ->value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 60, 31)) +>value : Symbol(value, Decl(discriminateWithOptionalProperty2.ts, 63, 31)) }); }, }; const doubles = mapAsyncIterable(iterable, (x) => x + x); ->doubles : Symbol(doubles, Decl(discriminateWithOptionalProperty2.ts, 66, 5)) +>doubles : Symbol(doubles, Decl(discriminateWithOptionalProperty2.ts, 69, 5)) >mapAsyncIterable : Symbol(mapAsyncIterable, Decl(discriminateWithOptionalProperty2.ts, 2, 40)) ->iterable : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 52, 5)) ->x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 66, 44)) ->x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 66, 44)) ->x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 66, 44)) +>iterable : Symbol(iterable, Decl(discriminateWithOptionalProperty2.ts, 55, 5)) +>x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 69, 44)) +>x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 69, 44)) +>x : Symbol(x, Decl(discriminateWithOptionalProperty2.ts, 69, 44)) diff --git a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).types b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).types index ef7c8c5ae73..e0c4f8568b6 100644 --- a/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).types +++ b/tests/baselines/reference/discriminateWithOptionalProperty2(exactoptionalpropertytypes=true).types @@ -125,8 +125,8 @@ function mapAsyncIterable( } return { ->{ async next() { return mapResult(await iterator.next()); }, async return(): Promise> { return typeof iterator.return === "function" ? mapResult(await iterator.return()) : { value: undefined as any, done: true }; }, async throw(error?: unknown) { if (typeof iterator.throw === "function") { return mapResult(await iterator.throw(error)); } throw error; }, [Symbol.asyncIterator]() { return this; }, } : { next(): Promise>; return(): Promise>; throw(error?: unknown): Promise>; [Symbol.asyncIterator](): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async next() { return mapResult(await iterator.next()); }, async return(value: R): Promise> { return typeof iterator.return === "function" ? mapResult(await iterator.return(value)) : { value: undefined as any, done: true }; }, async throw(error?: unknown) { if (typeof iterator.throw === "function") { return mapResult(await iterator.throw(error)); } throw error; }, [Symbol.asyncIterator]() { return this; }, async [Symbol.asyncDispose]() { await this.return(undefined!); } } : { next(): Promise>; return(value: R): Promise>; throw(error?: unknown): Promise>; [Symbol.asyncIterator](): AsyncGenerator; [Symbol.asyncDispose](): Promise; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ async next() { >next : () => Promise> @@ -149,13 +149,15 @@ function mapAsyncIterable( > : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ }, - async return(): Promise> { ->return : () => Promise> -> : ^^^^^^ + async return(value: R): Promise> { +>return : (value: R) => Promise> +> : ^ ^^ ^^^^^ +>value : R +> : ^ return typeof iterator.return === "function" ->typeof iterator.return === "function" ? mapResult(await iterator.return()) : { value: undefined as any, done: true } : Promise> | { value: any; done: true; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ +>typeof iterator.return === "function" ? mapResult(await iterator.return(value)) : { value: undefined as any, done: true } : Promise> | { value: any; done: true; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ >typeof iterator.return === "function" : boolean > : ^^^^^^^ >typeof iterator.return : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" @@ -169,21 +171,23 @@ function mapAsyncIterable( >"function" : "function" > : ^^^^^^^^^^ - ? mapResult(await iterator.return()) ->mapResult(await iterator.return()) : Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ? mapResult(await iterator.return(value)) +>mapResult(await iterator.return(value)) : Promise> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >mapResult : (result: IteratorResult) => Promise> > : ^ ^^ ^^^^^ ->await iterator.return() : IteratorResult -> : ^^^^^^^^^^^^^^^^^^^^ ->iterator.return() : Promise> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>await iterator.return(value) : IteratorResult +> : ^^^^^^^^^^^^^^^^^^^^ +>iterator.return(value) : Promise> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator.return : (value?: R | PromiseLike | undefined) => Promise> > : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >iterator : AsyncIterator > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >return : (value?: R | PromiseLike | undefined) => Promise> > : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>value : R +> : ^ : { value: undefined as any, done: true }; >{ value: undefined as any, done: true } : { value: any; done: true; } @@ -256,6 +260,32 @@ function mapAsyncIterable( > : ^^^^^^^^^^^^^^^^^^^^^^^^^^ }, + async [Symbol.asyncDispose]() { +>[Symbol.asyncDispose] : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ +>Symbol.asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ + + await this.return(undefined!); +>await this.return(undefined!) : IteratorResult +> : ^^^^^^^^^^^^^^^^^^^^ +>this.return(undefined!) : Promise> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>this.return : (value: R | PromiseLike) => Promise> +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>this : AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^ +>return : (value: R | PromiseLike) => Promise> +> : ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>undefined! : never +> : ^^^^^ +>undefined : undefined +> : ^^^^^^^^^ + } }; } diff --git a/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.js b/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.js index 5d8d8ca8f4b..e0cc967c195 100644 --- a/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.js +++ b/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.js @@ -25,8 +25,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json index 557fda775e6..af4393c30fc 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json @@ -24,6 +24,7 @@ "File '/node_modules/a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/a/index.d.ts', result '/node_modules/a/index.d.ts'.", "======== Module name 'a' was successfully resolved to '/node_modules/a/index.d.ts'. ========", + "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "======== Resolving module './index' from '/node_modules/foo/use.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/node_modules/foo/index', target file types: TypeScript, Declaration.", @@ -32,6 +33,10 @@ "File '/node_modules/foo/index.d.ts' exists - use it as a name resolution result.", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "======== Module name './index' was successfully resolved to '/node_modules/foo/index.d.ts' with Package ID 'foo/index.d.ts@1.2.3'. ========", + "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", + "File '/node_modules/a/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/node_modules/a/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,6 +55,7 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/a/node_modules/foo/index.d.ts', result '/node_modules/a/node_modules/foo/index.d.ts'.", "======== Module name 'foo' was successfully resolved to '/node_modules/a/node_modules/foo/index.d.ts' with Package ID 'foo/index.d.ts@1.2.3'. ========", + "File '/node_modules/a/node_modules/foo/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json index 98916c4ce30..02c88237bb6 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json @@ -24,6 +24,7 @@ "File '/node_modules/a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/a/index.d.ts', result '/node_modules/a/index.d.ts'.", "======== Module name 'a' was successfully resolved to '/node_modules/a/index.d.ts'. ========", + "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", "======== Resolving module './index' from '/node_modules/@foo/bar/use.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/node_modules/@foo/bar/index', target file types: TypeScript, Declaration.", @@ -32,6 +33,10 @@ "File '/node_modules/@foo/bar/index.d.ts' exists - use it as a name resolution result.", "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", "======== Module name './index' was successfully resolved to '/node_modules/@foo/bar/index.d.ts' with Package ID '@foo/bar/index.d.ts@1.2.3'. ========", + "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", + "File '/node_modules/a/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@foo/bar' from '/node_modules/a/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module '@foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,6 +55,7 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/a/node_modules/@foo/bar/index.d.ts', result '/node_modules/a/node_modules/@foo/bar/index.d.ts'.", "======== Module name '@foo/bar' was successfully resolved to '/node_modules/a/node_modules/@foo/bar/index.d.ts' with Package ID '@foo/bar/index.d.ts@1.2.3'. ========", + "File '/node_modules/a/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.js b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.js index 5be6ad0fe39..34333f4d0bc 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.js +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.js @@ -65,7 +65,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -85,7 +85,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -106,7 +106,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -139,7 +139,7 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -160,7 +160,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -193,7 +193,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -214,7 +214,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -235,7 +235,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -258,7 +258,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.types b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.types index dc92b10c489..21621981a4c 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.types +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.types @@ -46,8 +46,8 @@ class C4 { > : ^^ async * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.types b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.types index 42a23acadf4..01da6be0850 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.types +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.types @@ -46,8 +46,8 @@ class C4 { > : ^^ async * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js index 9bbe5eb7129..d39903e2835 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js @@ -62,8 +62,8 @@ class C9 extends B9 { //// [C1.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -92,7 +92,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -115,8 +115,8 @@ var C1 = /** @class */ (function () { }()); //// [C2.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -145,7 +145,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -175,8 +175,8 @@ var C2 = /** @class */ (function () { }()); //// [C3.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -205,7 +205,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -235,8 +235,8 @@ var C3 = /** @class */ (function () { }()); //// [C4.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -277,7 +277,7 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -318,8 +318,8 @@ var C4 = /** @class */ (function () { }()); //// [C5.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -348,7 +348,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -409,8 +409,8 @@ var C5 = /** @class */ (function () { }()); //// [C6.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -439,7 +439,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -468,8 +468,8 @@ var C6 = /** @class */ (function () { }()); //// [C7.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -498,7 +498,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -524,8 +524,8 @@ var C7 = /** @class */ (function () { }()); //// [C8.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -554,7 +554,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -595,8 +595,8 @@ var __extends = (this && this.__extends) || (function () { }; })(); var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -625,7 +625,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.types b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.types index 93ea693423f..b11c7c75fa4 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.types +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.types @@ -46,8 +46,8 @@ class C4 { > : ^^ async * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.js b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.js index bebb30336db..22715107718 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.js @@ -34,7 +34,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -52,7 +52,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -71,7 +71,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -102,7 +102,7 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -121,7 +121,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -152,7 +152,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -171,7 +171,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.types b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.types index d3f253300a5..d291bdc0cd0 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.types +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.types @@ -27,8 +27,8 @@ async function * f3() { } === F4.ts === async function * f4() { ->f4 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f4 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.types b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.types index c9e8a861c14..f737ba595ef 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.types +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.types @@ -27,8 +27,8 @@ async function * f3() { } === F4.ts === async function * f4() { ->f4 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f4 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js index 04b4bc949ac..a129d13003a 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js @@ -31,8 +31,8 @@ async function * f7() { //// [F1.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -61,7 +61,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -79,8 +79,8 @@ function f1() { } //// [F2.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -109,7 +109,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -134,8 +134,8 @@ function f2() { } //// [F3.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -164,7 +164,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -189,8 +189,8 @@ function f3() { } //// [F4.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -231,7 +231,7 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -267,8 +267,8 @@ function f4() { } //// [F5.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -297,7 +297,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -353,8 +353,8 @@ function f5() { } //// [F6.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -383,7 +383,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -407,8 +407,8 @@ function f6() { } //// [F7.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -437,7 +437,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.types b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.types index e9f6d8a5c12..3489a92210c 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.types +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.types @@ -27,8 +27,8 @@ async function * f3() { } === F4.ts === async function * f4() { ->f4 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f4 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.js b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.js index e89e9b9d6a8..88ae6f0e405 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.js @@ -34,7 +34,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -52,7 +52,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -71,7 +71,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -102,7 +102,7 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -121,7 +121,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -152,7 +152,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -171,7 +171,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.types b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.types index 385726d4ec8..b3d8d1525c9 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.types +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.types @@ -33,10 +33,10 @@ const f3 = async function * () { } === F4.ts === const f4 = async function * () { ->f4 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->async function * () { const x = yield* [1];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f4 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { const x = yield* [1];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.types b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.types index 074449e1ccf..05ff8b2df10 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.types +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.types @@ -33,10 +33,10 @@ const f3 = async function * () { } === F4.ts === const f4 = async function * () { ->f4 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->async function * () { const x = yield* [1];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f4 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { const x = yield* [1];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js index 699df6cff0b..e4076be6c7a 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js @@ -31,8 +31,8 @@ const f7 = async function * () { //// [F1.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -61,7 +61,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -79,8 +79,8 @@ var f1 = function () { }; //// [F2.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -109,7 +109,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -134,8 +134,8 @@ var f2 = function () { }; //// [F3.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -164,7 +164,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -189,8 +189,8 @@ var f3 = function () { }; //// [F4.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -231,7 +231,7 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -267,8 +267,8 @@ var f4 = function () { }; //// [F5.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -297,7 +297,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -353,8 +353,8 @@ var f5 = function () { }; //// [F6.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -383,7 +383,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -407,8 +407,8 @@ var f6 = function () { }; //// [F7.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -437,7 +437,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.types b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.types index 0e2315bd1dd..ff2dc953caf 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.types +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.types @@ -33,10 +33,10 @@ const f3 = async function * () { } === F4.ts === const f4 = async function * () { ->f4 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->async function * () { const x = yield* [1];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f4 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { const x = yield* [1];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.js b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.js index 97ea27906a2..e24410353e5 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.js +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.js @@ -48,7 +48,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -68,7 +68,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -89,7 +89,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -122,7 +122,7 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -143,7 +143,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -176,7 +176,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -197,7 +197,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.types b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.types index 58de2b68a6c..3aa61b810a2 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.types +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.types @@ -48,14 +48,14 @@ const o3 = { } === O4.ts === const o4 = { ->o4 : { f(): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->{ async * f() { const x = yield* [1]; }} : { f(): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>o4 : { f(): AsyncGenerator; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async * f() { const x = yield* [1]; }} : { f(): AsyncGenerator; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ async * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.types b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.types index 024281295e4..91624582a4e 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.types +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.types @@ -48,14 +48,14 @@ const o3 = { } === O4.ts === const o4 = { ->o4 : { f(): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->{ async * f() { const x = yield* [1]; }} : { f(): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>o4 : { f(): AsyncGenerator; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async * f() { const x = yield* [1]; }} : { f(): AsyncGenerator; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ async * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js index f65bf2d3cae..194c26f59da 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js @@ -45,8 +45,8 @@ const o7 = { //// [O1.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -75,7 +75,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -95,8 +95,8 @@ var o1 = { }; //// [O2.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -125,7 +125,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -152,8 +152,8 @@ var o2 = { }; //// [O3.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -182,7 +182,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -209,8 +209,8 @@ var o3 = { }; //// [O4.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -251,7 +251,7 @@ var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -289,8 +289,8 @@ var o4 = { }; //// [O5.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -319,7 +319,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -377,8 +377,8 @@ var o5 = { }; //// [O6.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -407,7 +407,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -433,8 +433,8 @@ var o6 = { }; //// [O7.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -463,7 +463,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.types b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.types index 6bb7ecf6240..3ffdf9a7456 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.types +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.types @@ -48,14 +48,14 @@ const o3 = { } === O4.ts === const o4 = { ->o4 : { f(): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->{ async * f() { const x = yield* [1]; }} : { f(): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>o4 : { f(): AsyncGenerator; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async * f() { const x = yield* [1]; }} : { f(): AsyncGenerator; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ async * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const x = yield* [1]; >x : any diff --git a/tests/baselines/reference/emitter.forAwait(target=es2015).js b/tests/baselines/reference/emitter.forAwait(target=es2015).js index 5e77358f5ef..1fe4ae6da47 100644 --- a/tests/baselines/reference/emitter.forAwait(target=es2015).js +++ b/tests/baselines/reference/emitter.forAwait(target=es2015).js @@ -136,7 +136,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -177,7 +177,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -257,7 +257,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -300,7 +300,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.forAwait(target=es2017).js b/tests/baselines/reference/emitter.forAwait(target=es2017).js index 9477434034b..76499a01b26 100644 --- a/tests/baselines/reference/emitter.forAwait(target=es2017).js +++ b/tests/baselines/reference/emitter.forAwait(target=es2017).js @@ -114,7 +114,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -155,7 +155,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -224,7 +224,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -267,7 +267,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/emitter.forAwait(target=es5).js b/tests/baselines/reference/emitter.forAwait(target=es5).js index da767cdc764..212f6b4eeb9 100644 --- a/tests/baselines/reference/emitter.forAwait(target=es5).js +++ b/tests/baselines/reference/emitter.forAwait(target=es5).js @@ -61,8 +61,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -147,8 +147,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -224,8 +224,8 @@ function f2() { } //// [file3.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -261,7 +261,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -314,8 +314,8 @@ function f3() { } //// [file4.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -351,7 +351,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -413,8 +413,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -491,8 +491,8 @@ function f5() { } //// [file6.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -528,7 +528,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } @@ -582,8 +582,8 @@ function f6() { } //// [file7.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -619,7 +619,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/es5-asyncFunction.js b/tests/baselines/reference/es5-asyncFunction.js index df6b0627cd5..9b262e16c88 100644 --- a/tests/baselines/reference/es5-asyncFunction.js +++ b/tests/baselines/reference/es5-asyncFunction.js @@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral.js b/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral.js index 76cbea45560..48fdc5eb360 100644 --- a/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral.js +++ b/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral.js @@ -41,8 +41,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/es5-importHelpersAsyncFunctions.js b/tests/baselines/reference/es5-importHelpersAsyncFunctions.js index 472c206c08e..03a239f9219 100644 --- a/tests/baselines/reference/es5-importHelpersAsyncFunctions.js +++ b/tests/baselines/reference/es5-importHelpersAsyncFunctions.js @@ -40,8 +40,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.types b/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.types index a5fdfa43c94..b409385e2c4 100644 --- a/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.types +++ b/tests/baselines/reference/esNextWeakRefs_IterableWeakMap.types @@ -2,7 +2,7 @@ === Performance Stats === Type Count: 1,000 -Instantiation count: 1,000 -> 2,500 +Instantiation count: 2,500 === esNextWeakRefs_IterableWeakMap.ts === /** `static #cleanup` */ diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).errors.txt b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).errors.txt new file mode 100644 index 00000000000..1c86c3703f8 --- /dev/null +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).errors.txt @@ -0,0 +1,23 @@ +/index.ts(1,8): error TS1192: Module '"/node_modules/mdast-util-to-string/index"' has no default export. +/index.ts(7,8): error TS2339: Property 'default' does not exist on type 'typeof import("/node_modules/mdast-util-to-string/index")'. + + +==== /node_modules/mdast-util-to-string/package.json (0 errors) ==== + { "type": "module" } + +==== /node_modules/mdast-util-to-string/index.d.ts (0 errors) ==== + export function toString(): string; + +==== /index.ts (2 errors) ==== + import mdast, { toString } from 'mdast-util-to-string'; + ~~~~~ +!!! error TS1192: Module '"/node_modules/mdast-util-to-string/index"' has no default export. + mdast; + mdast.toString(); + + const mdast2 = await import('mdast-util-to-string'); + mdast2.toString(); + mdast2.default; + ~~~~~~~ +!!! error TS2339: Property 'default' does not exist on type 'typeof import("/node_modules/mdast-util-to-string/index")'. + \ No newline at end of file diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).symbols b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).symbols index 49f52de2941..a9c981cfa7c 100644 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).symbols +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).symbols @@ -13,21 +13,17 @@ mdast; >mdast : Symbol(mdast, Decl(index.ts, 0, 6)) mdast.toString(); ->mdast.toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) >mdast : Symbol(mdast, Decl(index.ts, 0, 6)) ->toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) const mdast2 = await import('mdast-util-to-string'); >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->'mdast-util-to-string' : Symbol(mdast, Decl(index.d.ts, 0, 0)) +>'mdast-util-to-string' : Symbol("/node_modules/mdast-util-to-string/index", Decl(index.d.ts, 0, 0)) mdast2.toString(); ->mdast2.toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) +>mdast2.toString : Symbol(toString, Decl(index.d.ts, 0, 0)) >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) +>toString : Symbol(toString, Decl(index.d.ts, 0, 0)) mdast2.default; ->mdast2.default : Symbol(mdast.default) >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->default : Symbol(mdast.default) diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).types b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).types index fa24f3a5362..226775c657b 100644 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).types +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).types @@ -7,32 +7,32 @@ export function toString(): string; === /index.ts === import mdast, { toString } from 'mdast-util-to-string'; ->mdast : typeof mdast -> : ^^^^^^^^^^^^ +>mdast : any +> : ^^^ >toString : () => string > : ^^^^^^ mdast; ->mdast : typeof mdast -> : ^^^^^^^^^^^^ +>mdast : any +> : ^^^ mdast.toString(); ->mdast.toString() : string -> : ^^^^^^ ->mdast.toString : () => string -> : ^^^^^^ ->mdast : typeof mdast -> : ^^^^^^^^^^^^ ->toString : () => string -> : ^^^^^^ +>mdast.toString() : any +> : ^^^ +>mdast.toString : any +> : ^^^ +>mdast : any +> : ^^^ +>toString : any +> : ^^^ const mdast2 = await import('mdast-util-to-string'); ->mdast2 : { default: typeof mdast; toString(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ->await import('mdast-util-to-string') : { default: typeof mdast; toString(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ->import('mdast-util-to-string') : Promise<{ default: typeof mdast; toString(): string; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +>mdast2 : typeof import("/node_modules/mdast-util-to-string/index") +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>await import('mdast-util-to-string') : typeof import("/node_modules/mdast-util-to-string/index") +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>import('mdast-util-to-string') : Promise +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >'mdast-util-to-string' : "mdast-util-to-string" > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -41,16 +41,16 @@ mdast2.toString(); > : ^^^^^^ >mdast2.toString : () => string > : ^^^^^^ ->mdast2 : { default: typeof mdast; toString(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>mdast2 : typeof import("/node_modules/mdast-util-to-string/index") +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >toString : () => string > : ^^^^^^ mdast2.default; ->mdast2.default : typeof mdast -> : ^^^^^^^^^^^^ ->mdast2 : { default: typeof mdast; toString(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ->default : typeof mdast -> : ^^^^^^^^^^^^ +>mdast2.default : any +> : ^^^ +>mdast2 : typeof import("/node_modules/mdast-util-to-string/index") +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>default : any +> : ^^^ diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).errors.txt b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).errors.txt new file mode 100644 index 00000000000..1c86c3703f8 --- /dev/null +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).errors.txt @@ -0,0 +1,23 @@ +/index.ts(1,8): error TS1192: Module '"/node_modules/mdast-util-to-string/index"' has no default export. +/index.ts(7,8): error TS2339: Property 'default' does not exist on type 'typeof import("/node_modules/mdast-util-to-string/index")'. + + +==== /node_modules/mdast-util-to-string/package.json (0 errors) ==== + { "type": "module" } + +==== /node_modules/mdast-util-to-string/index.d.ts (0 errors) ==== + export function toString(): string; + +==== /index.ts (2 errors) ==== + import mdast, { toString } from 'mdast-util-to-string'; + ~~~~~ +!!! error TS1192: Module '"/node_modules/mdast-util-to-string/index"' has no default export. + mdast; + mdast.toString(); + + const mdast2 = await import('mdast-util-to-string'); + mdast2.toString(); + mdast2.default; + ~~~~~~~ +!!! error TS2339: Property 'default' does not exist on type 'typeof import("/node_modules/mdast-util-to-string/index")'. + \ No newline at end of file diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).symbols b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).symbols index 49f52de2941..a9c981cfa7c 100644 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).symbols +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).symbols @@ -13,21 +13,17 @@ mdast; >mdast : Symbol(mdast, Decl(index.ts, 0, 6)) mdast.toString(); ->mdast.toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) >mdast : Symbol(mdast, Decl(index.ts, 0, 6)) ->toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) const mdast2 = await import('mdast-util-to-string'); >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->'mdast-util-to-string' : Symbol(mdast, Decl(index.d.ts, 0, 0)) +>'mdast-util-to-string' : Symbol("/node_modules/mdast-util-to-string/index", Decl(index.d.ts, 0, 0)) mdast2.toString(); ->mdast2.toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) +>mdast2.toString : Symbol(toString, Decl(index.d.ts, 0, 0)) >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) +>toString : Symbol(toString, Decl(index.d.ts, 0, 0)) mdast2.default; ->mdast2.default : Symbol(mdast.default) >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->default : Symbol(mdast.default) diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).types b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).types index fa24f3a5362..226775c657b 100644 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).types +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).types @@ -7,32 +7,32 @@ export function toString(): string; === /index.ts === import mdast, { toString } from 'mdast-util-to-string'; ->mdast : typeof mdast -> : ^^^^^^^^^^^^ +>mdast : any +> : ^^^ >toString : () => string > : ^^^^^^ mdast; ->mdast : typeof mdast -> : ^^^^^^^^^^^^ +>mdast : any +> : ^^^ mdast.toString(); ->mdast.toString() : string -> : ^^^^^^ ->mdast.toString : () => string -> : ^^^^^^ ->mdast : typeof mdast -> : ^^^^^^^^^^^^ ->toString : () => string -> : ^^^^^^ +>mdast.toString() : any +> : ^^^ +>mdast.toString : any +> : ^^^ +>mdast : any +> : ^^^ +>toString : any +> : ^^^ const mdast2 = await import('mdast-util-to-string'); ->mdast2 : { default: typeof mdast; toString(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ->await import('mdast-util-to-string') : { default: typeof mdast; toString(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ->import('mdast-util-to-string') : Promise<{ default: typeof mdast; toString(): string; }> -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ +>mdast2 : typeof import("/node_modules/mdast-util-to-string/index") +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>await import('mdast-util-to-string') : typeof import("/node_modules/mdast-util-to-string/index") +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>import('mdast-util-to-string') : Promise +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >'mdast-util-to-string' : "mdast-util-to-string" > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -41,16 +41,16 @@ mdast2.toString(); > : ^^^^^^ >mdast2.toString : () => string > : ^^^^^^ ->mdast2 : { default: typeof mdast; toString(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>mdast2 : typeof import("/node_modules/mdast-util-to-string/index") +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >toString : () => string > : ^^^^^^ mdast2.default; ->mdast2.default : typeof mdast -> : ^^^^^^^^^^^^ ->mdast2 : { default: typeof mdast; toString(): string; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ->default : typeof mdast -> : ^^^^^^^^^^^^ +>mdast2.default : any +> : ^^^ +>mdast2 : typeof import("/node_modules/mdast-util-to-string/index") +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>default : any +> : ^^^ diff --git a/tests/baselines/reference/excessiveStackDepthFlatArray.types b/tests/baselines/reference/excessiveStackDepthFlatArray.types index 60586093860..17365af09d8 100644 --- a/tests/baselines/reference/excessiveStackDepthFlatArray.types +++ b/tests/baselines/reference/excessiveStackDepthFlatArray.types @@ -1,7 +1,8 @@ //// [tests/cases/compiler/excessiveStackDepthFlatArray.ts] //// === Performance Stats === -Instantiation count: 1,000 -> 2,500 +Type Count: 1,000 +Instantiation count: 2,500 === index.tsx === interface MiddlewareArray extends Array {} diff --git a/tests/baselines/reference/exportClassExtendingIntersection.types b/tests/baselines/reference/exportClassExtendingIntersection.types index bfda7a0dca2..25dad432c7c 100644 --- a/tests/baselines/reference/exportClassExtendingIntersection.types +++ b/tests/baselines/reference/exportClassExtendingIntersection.types @@ -56,7 +56,7 @@ import { MyBaseClass } from './BaseClass'; import { MyMixin } from './MixinClass'; >MyMixin : >>(base: T) => T & import("BaseClass").Constructor -> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ export class MyExtendedClass extends MyMixin(MyBaseClass) { >MyExtendedClass : MyExtendedClass @@ -64,7 +64,7 @@ export class MyExtendedClass extends MyMixin(MyBaseClass) { >MyMixin(MyBaseClass) : MyBaseClass & MyMixin > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >MyMixin : >>(base: T) => T & import("BaseClass").Constructor -> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ >MyBaseClass : typeof MyBaseClass > : ^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/exportDefaultFunctionInNamespace.js b/tests/baselines/reference/exportDefaultFunctionInNamespace.js index 0ef66b3be84..a0746a0e492 100644 --- a/tests/baselines/reference/exportDefaultFunctionInNamespace.js +++ b/tests/baselines/reference/exportDefaultFunctionInNamespace.js @@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/expressionsForbiddenInParameterInitializers.js b/tests/baselines/reference/expressionsForbiddenInParameterInitializers.js index 851d68ec372..986f220e657 100644 --- a/tests/baselines/reference/expressionsForbiddenInParameterInitializers.js +++ b/tests/baselines/reference/expressionsForbiddenInParameterInitializers.js @@ -20,8 +20,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/flatArrayNoExcessiveStackDepth.types b/tests/baselines/reference/flatArrayNoExcessiveStackDepth.types index e4ec2fa695c..38636565617 100644 --- a/tests/baselines/reference/flatArrayNoExcessiveStackDepth.types +++ b/tests/baselines/reference/flatArrayNoExcessiveStackDepth.types @@ -1,8 +1,8 @@ //// [tests/cases/compiler/flatArrayNoExcessiveStackDepth.ts] //// === Performance Stats === -Type Count: 1,000 -Instantiation count: 2,500 +Type Count: 2,500 +Instantiation count: 5,000 === flatArrayNoExcessiveStackDepth.ts === // Repro from #43493 diff --git a/tests/baselines/reference/for-of12.types b/tests/baselines/reference/for-of12.types index 3bab8ba5859..0a803fbce71 100644 --- a/tests/baselines/reference/for-of12.types +++ b/tests/baselines/reference/for-of12.types @@ -8,16 +8,16 @@ var v: string; for (v of [0, ""].values()) { } >v : string > : ^^^^^^ ->[0, ""].values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->[0, ""].values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[0, ""].values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[0, ""].values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[0, ""] : (string | number)[] > : ^^^^^^^^^^^^^^^^^^^ >0 : 0 > : ^ >"" : "" > : ^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of13.types b/tests/baselines/reference/for-of13.types index 42aef034f74..1cb2638d64f 100644 --- a/tests/baselines/reference/for-of13.types +++ b/tests/baselines/reference/for-of13.types @@ -8,14 +8,14 @@ var v: string; for (v of [""].values()) { } >v : string > : ^^^^^^ ->[""].values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->[""].values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[""].values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^ +>[""].values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[""] : string[] > : ^^^^^^^^ >"" : "" > : ^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of14.errors.txt b/tests/baselines/reference/for-of14.errors.txt index d6608338f57..4aa61b4a766 100644 --- a/tests/baselines/reference/for-of14.errors.txt +++ b/tests/baselines/reference/for-of14.errors.txt @@ -1,14 +1,14 @@ -for-of14.ts(8,11): error TS2488: Type 'StringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. +for-of14.ts(8,11): error TS2488: Type 'MyStringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. ==== for-of14.ts (1 errors) ==== - class StringIterator { + class MyStringIterator { next() { return ""; } } var v: string; - for (v of new StringIterator) { } // Should fail because the iterator is not iterable - ~~~~~~~~~~~~~~~~~~ -!!! error TS2488: Type 'StringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. \ No newline at end of file + for (v of new MyStringIterator) { } // Should fail because the iterator is not iterable + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS2488: Type 'MyStringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. \ No newline at end of file diff --git a/tests/baselines/reference/for-of14.js b/tests/baselines/reference/for-of14.js index ee51477b121..92d9613bfe6 100644 --- a/tests/baselines/reference/for-of14.js +++ b/tests/baselines/reference/for-of14.js @@ -1,20 +1,20 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of14.ts] //// //// [for-of14.ts] -class StringIterator { +class MyStringIterator { next() { return ""; } } var v: string; -for (v of new StringIterator) { } // Should fail because the iterator is not iterable +for (v of new MyStringIterator) { } // Should fail because the iterator is not iterable //// [for-of14.js] -class StringIterator { +class MyStringIterator { next() { return ""; } } var v; -for (v of new StringIterator) { } // Should fail because the iterator is not iterable +for (v of new MyStringIterator) { } // Should fail because the iterator is not iterable diff --git a/tests/baselines/reference/for-of14.symbols b/tests/baselines/reference/for-of14.symbols index e38832fcce1..23b893e125c 100644 --- a/tests/baselines/reference/for-of14.symbols +++ b/tests/baselines/reference/for-of14.symbols @@ -1,11 +1,11 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of14.ts] //// === for-of14.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of14.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of14.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(for-of14.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of14.ts, 0, 24)) return ""; } @@ -14,7 +14,7 @@ class StringIterator { var v: string; >v : Symbol(v, Decl(for-of14.ts, 6, 3)) -for (v of new StringIterator) { } // Should fail because the iterator is not iterable +for (v of new MyStringIterator) { } // Should fail because the iterator is not iterable >v : Symbol(v, Decl(for-of14.ts, 6, 3)) ->StringIterator : Symbol(StringIterator, Decl(for-of14.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of14.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of14.types b/tests/baselines/reference/for-of14.types index e72978e40db..60fb9f7fad6 100644 --- a/tests/baselines/reference/for-of14.types +++ b/tests/baselines/reference/for-of14.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of14.ts] //// === for-of14.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => string @@ -19,11 +19,11 @@ var v: string; >v : string > : ^^^^^^ -for (v of new StringIterator) { } // Should fail because the iterator is not iterable +for (v of new MyStringIterator) { } // Should fail because the iterator is not iterable >v : string > : ^^^^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of15.errors.txt b/tests/baselines/reference/for-of15.errors.txt index 301ee3da74b..37ee2d77dac 100644 --- a/tests/baselines/reference/for-of15.errors.txt +++ b/tests/baselines/reference/for-of15.errors.txt @@ -2,7 +2,7 @@ for-of15.ts(11,11): error TS2490: The type returned by the 'next()' method of an ==== for-of15.ts (1 errors) ==== - class StringIterator { + class MyStringIterator { next() { return ""; } @@ -12,6 +12,6 @@ for-of15.ts(11,11): error TS2490: The type returned by the 'next()' method of an } var v: string; - for (v of new StringIterator) { } // Should fail - ~~~~~~~~~~~~~~~~~~ + for (v of new MyStringIterator) { } // Should fail + ~~~~~~~~~~~~~~~~~~~~ !!! error TS2490: The type returned by the 'next()' method of an iterator must have a 'value' property. \ No newline at end of file diff --git a/tests/baselines/reference/for-of15.js b/tests/baselines/reference/for-of15.js index 519b7ba792e..3505ed87fe2 100644 --- a/tests/baselines/reference/for-of15.js +++ b/tests/baselines/reference/for-of15.js @@ -1,7 +1,7 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of15.ts] //// //// [for-of15.ts] -class StringIterator { +class MyStringIterator { next() { return ""; } @@ -11,10 +11,10 @@ class StringIterator { } var v: string; -for (v of new StringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should fail //// [for-of15.js] -class StringIterator { +class MyStringIterator { next() { return ""; } @@ -23,4 +23,4 @@ class StringIterator { } } var v; -for (v of new StringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should fail diff --git a/tests/baselines/reference/for-of15.symbols b/tests/baselines/reference/for-of15.symbols index 43c14cf824f..e4bf338a054 100644 --- a/tests/baselines/reference/for-of15.symbols +++ b/tests/baselines/reference/for-of15.symbols @@ -1,29 +1,29 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of15.ts] //// === for-of15.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of15.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of15.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(for-of15.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of15.ts, 0, 24)) return ""; } [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of15.ts, 3, 5)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of15.ts, 3, 5)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of15.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of15.ts, 0, 0)) } } var v: string; >v : Symbol(v, Decl(for-of15.ts, 9, 3)) -for (v of new StringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should fail >v : Symbol(v, Decl(for-of15.ts, 9, 3)) ->StringIterator : Symbol(StringIterator, Decl(for-of15.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of15.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of15.types b/tests/baselines/reference/for-of15.types index 9bd1335f79d..3eeabe29b5d 100644 --- a/tests/baselines/reference/for-of15.types +++ b/tests/baselines/reference/for-of15.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of15.ts] //// === for-of15.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => string @@ -33,11 +33,11 @@ var v: string; >v : string > : ^^^^^^ -for (v of new StringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should fail >v : string > : ^^^^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of16.errors.txt b/tests/baselines/reference/for-of16.errors.txt index 37b9b6d0550..0af867a2c66 100644 --- a/tests/baselines/reference/for-of16.errors.txt +++ b/tests/baselines/reference/for-of16.errors.txt @@ -1,21 +1,21 @@ -for-of16.ts(8,11): error TS2488: Type 'StringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. -for-of16.ts(10,11): error TS2488: Type 'StringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. +for-of16.ts(8,11): error TS2488: Type 'MyStringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. +for-of16.ts(10,11): error TS2488: Type 'MyStringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. ==== for-of16.ts (2 errors) ==== - class StringIterator { + class MyStringIterator { [Symbol.iterator]() { return this; } } var v: string; - for (v of new StringIterator) { } // Should fail - ~~~~~~~~~~~~~~~~~~ -!!! error TS2488: Type 'StringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. + for (v of new MyStringIterator) { } // Should fail + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS2488: Type 'MyStringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. !!! related TS2489 for-of16.ts:8:11: An iterator must have a 'next()' method. - for (v of new StringIterator) { } // Should still fail (related errors should still be shown even though type is cached). - ~~~~~~~~~~~~~~~~~~ -!!! error TS2488: Type 'StringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. + for (v of new MyStringIterator) { } // Should still fail (related errors should still be shown even though type is cached). + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS2488: Type 'MyStringIterator' must have a '[Symbol.iterator]()' method that returns an iterator. !!! related TS2489 for-of16.ts:10:11: An iterator must have a 'next()' method. \ No newline at end of file diff --git a/tests/baselines/reference/for-of16.js b/tests/baselines/reference/for-of16.js index 64c7588b72e..cf7699af90a 100644 --- a/tests/baselines/reference/for-of16.js +++ b/tests/baselines/reference/for-of16.js @@ -1,23 +1,23 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of16.ts] //// //// [for-of16.ts] -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return this; } } var v: string; -for (v of new StringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should fail -for (v of new StringIterator) { } // Should still fail (related errors should still be shown even though type is cached). +for (v of new MyStringIterator) { } // Should still fail (related errors should still be shown even though type is cached). //// [for-of16.js] -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return this; } } var v; -for (v of new StringIterator) { } // Should fail -for (v of new StringIterator) { } // Should still fail (related errors should still be shown even though type is cached). +for (v of new MyStringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should still fail (related errors should still be shown even though type is cached). diff --git a/tests/baselines/reference/for-of16.symbols b/tests/baselines/reference/for-of16.symbols index 03a26d14353..bab17a526bd 100644 --- a/tests/baselines/reference/for-of16.symbols +++ b/tests/baselines/reference/for-of16.symbols @@ -1,28 +1,28 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of16.ts] //// === for-of16.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of16.ts, 0, 0)) [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of16.ts, 0, 22)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of16.ts, 0, 24)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of16.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of16.ts, 0, 0)) } } var v: string; >v : Symbol(v, Decl(for-of16.ts, 6, 3)) -for (v of new StringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should fail >v : Symbol(v, Decl(for-of16.ts, 6, 3)) ->StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of16.ts, 0, 0)) -for (v of new StringIterator) { } // Should still fail (related errors should still be shown even though type is cached). +for (v of new MyStringIterator) { } // Should still fail (related errors should still be shown even though type is cached). >v : Symbol(v, Decl(for-of16.ts, 6, 3)) ->StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of16.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of16.types b/tests/baselines/reference/for-of16.types index 896c3513a2c..fb051c33116 100644 --- a/tests/baselines/reference/for-of16.types +++ b/tests/baselines/reference/for-of16.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of16.ts] //// === for-of16.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ [Symbol.iterator]() { >[Symbol.iterator] : () => this @@ -25,19 +25,19 @@ var v: string; >v : string > : ^^^^^^ -for (v of new StringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should fail >v : string > : ^^^^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ -for (v of new StringIterator) { } // Should still fail (related errors should still be shown even though type is cached). +for (v of new MyStringIterator) { } // Should still fail (related errors should still be shown even though type is cached). >v : string > : ^^^^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of18.js b/tests/baselines/reference/for-of18.js index a0673561e88..c81fa6a0bc4 100644 --- a/tests/baselines/reference/for-of18.js +++ b/tests/baselines/reference/for-of18.js @@ -1,7 +1,7 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of18.ts] //// //// [for-of18.ts] -class StringIterator { +class MyStringIterator { next() { return { value: "", @@ -14,10 +14,10 @@ class StringIterator { } var v: string; -for (v of new StringIterator) { } // Should succeed +for (v of new MyStringIterator) { } // Should succeed //// [for-of18.js] -class StringIterator { +class MyStringIterator { next() { return { value: "", @@ -29,4 +29,4 @@ class StringIterator { } } var v; -for (v of new StringIterator) { } // Should succeed +for (v of new MyStringIterator) { } // Should succeed diff --git a/tests/baselines/reference/for-of18.symbols b/tests/baselines/reference/for-of18.symbols index 8bbbb40c329..032604bfe01 100644 --- a/tests/baselines/reference/for-of18.symbols +++ b/tests/baselines/reference/for-of18.symbols @@ -1,11 +1,11 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of18.ts] //// === for-of18.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of18.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of18.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(for-of18.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of18.ts, 0, 24)) return { value: "", @@ -17,20 +17,20 @@ class StringIterator { }; } [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of18.ts, 6, 5)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of18.ts, 6, 5)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of18.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of18.ts, 0, 0)) } } var v: string; >v : Symbol(v, Decl(for-of18.ts, 12, 3)) -for (v of new StringIterator) { } // Should succeed +for (v of new MyStringIterator) { } // Should succeed >v : Symbol(v, Decl(for-of18.ts, 12, 3)) ->StringIterator : Symbol(StringIterator, Decl(for-of18.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of18.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of18.types b/tests/baselines/reference/for-of18.types index 34a7e20a954..0ac03cf3e9e 100644 --- a/tests/baselines/reference/for-of18.types +++ b/tests/baselines/reference/for-of18.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of18.ts] //// === for-of18.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => { value: string; done: boolean; } @@ -47,11 +47,11 @@ var v: string; >v : string > : ^^^^^^ -for (v of new StringIterator) { } // Should succeed +for (v of new MyStringIterator) { } // Should succeed >v : string > : ^^^^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of25.js b/tests/baselines/reference/for-of25.js index 66111df6394..bac7342af97 100644 --- a/tests/baselines/reference/for-of25.js +++ b/tests/baselines/reference/for-of25.js @@ -1,20 +1,20 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of25.ts] //// //// [for-of25.ts] -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return x; } } var x: any; -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of25.js] -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return x; } } var x; -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of25.symbols b/tests/baselines/reference/for-of25.symbols index fdb51126c89..86a223aa335 100644 --- a/tests/baselines/reference/for-of25.symbols +++ b/tests/baselines/reference/for-of25.symbols @@ -1,11 +1,11 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of25.ts] //// === for-of25.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of25.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of25.ts, 0, 0)) [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of25.ts, 0, 22)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of25.ts, 0, 24)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) @@ -18,7 +18,7 @@ class StringIterator { var x: any; >x : Symbol(x, Decl(for-of25.ts, 6, 3)) -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of25.ts, 7, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of25.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of25.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of25.types b/tests/baselines/reference/for-of25.types index 5d3aaaeb2cf..3ad54a1aea1 100644 --- a/tests/baselines/reference/for-of25.types +++ b/tests/baselines/reference/for-of25.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of25.ts] //// === for-of25.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ [Symbol.iterator]() { >[Symbol.iterator] : () => any @@ -23,10 +23,10 @@ class StringIterator { var x: any; >x : any -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : any ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of26.js b/tests/baselines/reference/for-of26.js index 23a51ad7d8a..133ad856d25 100644 --- a/tests/baselines/reference/for-of26.js +++ b/tests/baselines/reference/for-of26.js @@ -1,7 +1,7 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of26.ts] //// //// [for-of26.ts] -class StringIterator { +class MyStringIterator { next() { return x; } @@ -11,10 +11,10 @@ class StringIterator { } var x: any; -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of26.js] -class StringIterator { +class MyStringIterator { next() { return x; } @@ -23,4 +23,4 @@ class StringIterator { } } var x; -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of26.symbols b/tests/baselines/reference/for-of26.symbols index a5170241f42..a5b90df679a 100644 --- a/tests/baselines/reference/for-of26.symbols +++ b/tests/baselines/reference/for-of26.symbols @@ -1,30 +1,30 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of26.ts] //// === for-of26.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of26.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of26.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(for-of26.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of26.ts, 0, 24)) return x; >x : Symbol(x, Decl(for-of26.ts, 9, 3)) } [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of26.ts, 3, 5)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of26.ts, 3, 5)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of26.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of26.ts, 0, 0)) } } var x: any; >x : Symbol(x, Decl(for-of26.ts, 9, 3)) -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of26.ts, 10, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of26.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of26.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of26.types b/tests/baselines/reference/for-of26.types index d324690555c..404fe9d3738 100644 --- a/tests/baselines/reference/for-of26.types +++ b/tests/baselines/reference/for-of26.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of26.ts] //// === for-of26.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => any @@ -31,10 +31,10 @@ class StringIterator { var x: any; >x : any -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : any ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of27.js b/tests/baselines/reference/for-of27.js index e8e71a9513b..eaa09a06b72 100644 --- a/tests/baselines/reference/for-of27.js +++ b/tests/baselines/reference/for-of27.js @@ -1,14 +1,14 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of27.ts] //// //// [for-of27.ts] -class StringIterator { +class MyStringIterator { [Symbol.iterator]: any; } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of27.js] -class StringIterator { +class MyStringIterator { } Symbol.iterator; -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of27.symbols b/tests/baselines/reference/for-of27.symbols index 62f6b6a7069..a3d03b9f5a8 100644 --- a/tests/baselines/reference/for-of27.symbols +++ b/tests/baselines/reference/for-of27.symbols @@ -1,17 +1,17 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of27.ts] //// === for-of27.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of27.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of27.ts, 0, 0)) [Symbol.iterator]: any; ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of27.ts, 0, 22)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of27.ts, 0, 24)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of27.ts, 4, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of27.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of27.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of27.types b/tests/baselines/reference/for-of27.types index 9968893ec59..c783168764d 100644 --- a/tests/baselines/reference/for-of27.types +++ b/tests/baselines/reference/for-of27.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of27.ts] //// === for-of27.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ [Symbol.iterator]: any; >[Symbol.iterator] : any @@ -15,10 +15,10 @@ class StringIterator { > : ^^^^^^^^^^^^^ } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : any ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of28.js b/tests/baselines/reference/for-of28.js index bddd76685c3..a144ef9260d 100644 --- a/tests/baselines/reference/for-of28.js +++ b/tests/baselines/reference/for-of28.js @@ -1,19 +1,19 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of28.ts] //// //// [for-of28.ts] -class StringIterator { +class MyStringIterator { next: any; [Symbol.iterator]() { return this; } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of28.js] -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return this; } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of28.symbols b/tests/baselines/reference/for-of28.symbols index 39b1997ddb6..d7d95b3491a 100644 --- a/tests/baselines/reference/for-of28.symbols +++ b/tests/baselines/reference/for-of28.symbols @@ -1,24 +1,24 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of28.ts] //// === for-of28.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of28.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of28.ts, 0, 0)) next: any; ->next : Symbol(StringIterator.next, Decl(for-of28.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of28.ts, 0, 24)) [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of28.ts, 1, 14)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of28.ts, 1, 14)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of28.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of28.ts, 0, 0)) } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of28.ts, 7, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of28.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of28.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of28.types b/tests/baselines/reference/for-of28.types index ba5d79822df..c6d9d8ab16b 100644 --- a/tests/baselines/reference/for-of28.types +++ b/tests/baselines/reference/for-of28.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of28.ts] //// === for-of28.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next: any; >next : any @@ -24,10 +24,10 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : any ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of30.errors.txt b/tests/baselines/reference/for-of30.errors.txt index c577b8c11a7..e4d06358865 100644 --- a/tests/baselines/reference/for-of30.errors.txt +++ b/tests/baselines/reference/for-of30.errors.txt @@ -2,7 +2,7 @@ for-of30.ts(16,15): error TS2767: The 'return' property of an iterator must be a ==== for-of30.ts (1 errors) ==== - class StringIterator { + class MyStringIterator { next() { return { done: false, @@ -17,6 +17,6 @@ for-of30.ts(16,15): error TS2767: The 'return' property of an iterator must be a } } - for (var v of new StringIterator) { } - ~~~~~~~~~~~~~~~~~~ + for (var v of new MyStringIterator) { } + ~~~~~~~~~~~~~~~~~~~~ !!! error TS2767: The 'return' property of an iterator must be a method. \ No newline at end of file diff --git a/tests/baselines/reference/for-of30.js b/tests/baselines/reference/for-of30.js index b964ab44e27..cb7a096a5a6 100644 --- a/tests/baselines/reference/for-of30.js +++ b/tests/baselines/reference/for-of30.js @@ -1,7 +1,7 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of30.ts] //// //// [for-of30.ts] -class StringIterator { +class MyStringIterator { next() { return { done: false, @@ -16,10 +16,10 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of30.js] -class StringIterator { +class MyStringIterator { constructor() { this.return = 0; } @@ -33,4 +33,4 @@ class StringIterator { return this; } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of30.symbols b/tests/baselines/reference/for-of30.symbols index 39ec1bffa0e..d6f57f3e9dc 100644 --- a/tests/baselines/reference/for-of30.symbols +++ b/tests/baselines/reference/for-of30.symbols @@ -1,11 +1,11 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of30.ts] //// === for-of30.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of30.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of30.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(for-of30.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of30.ts, 0, 24)) return { done: false, @@ -17,20 +17,20 @@ class StringIterator { } return = 0; ->return : Symbol(StringIterator.return, Decl(for-of30.ts, 6, 5)) +>return : Symbol(MyStringIterator.return, Decl(for-of30.ts, 6, 5)) [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of30.ts, 8, 15)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of30.ts, 8, 15)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of30.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of30.ts, 0, 0)) } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of30.ts, 15, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of30.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of30.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of30.types b/tests/baselines/reference/for-of30.types index e7e10b3ad16..3b05a65c387 100644 --- a/tests/baselines/reference/for-of30.types +++ b/tests/baselines/reference/for-of30.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of30.ts] //// === for-of30.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => { done: boolean; value: string; } @@ -49,11 +49,11 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : string > : ^^^^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of31.js b/tests/baselines/reference/for-of31.js index 8459c4c7c82..76395f27324 100644 --- a/tests/baselines/reference/for-of31.js +++ b/tests/baselines/reference/for-of31.js @@ -1,7 +1,7 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of31.ts] //// //// [for-of31.ts] -class StringIterator { +class MyStringIterator { next() { return { // no done property @@ -14,10 +14,10 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of31.js] -class StringIterator { +class MyStringIterator { next() { return { // no done property @@ -28,4 +28,4 @@ class StringIterator { return this; } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of31.symbols b/tests/baselines/reference/for-of31.symbols index 010e2c4f50c..71f3b5773ca 100644 --- a/tests/baselines/reference/for-of31.symbols +++ b/tests/baselines/reference/for-of31.symbols @@ -1,11 +1,11 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of31.ts] //// === for-of31.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of31.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of31.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(for-of31.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of31.ts, 0, 24)) return { // no done property @@ -15,17 +15,17 @@ class StringIterator { } [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of31.ts, 6, 5)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of31.ts, 6, 5)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of31.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of31.ts, 0, 0)) } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of31.ts, 13, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of31.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of31.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of31.types b/tests/baselines/reference/for-of31.types index 4b706a0eb06..79cf5a3748f 100644 --- a/tests/baselines/reference/for-of31.types +++ b/tests/baselines/reference/for-of31.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of31.ts] //// === for-of31.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => { value: string; } @@ -38,11 +38,11 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : string > : ^^^^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of33.errors.txt b/tests/baselines/reference/for-of33.errors.txt index 3937f05d073..2549e78d9c7 100644 --- a/tests/baselines/reference/for-of33.errors.txt +++ b/tests/baselines/reference/for-of33.errors.txt @@ -3,7 +3,7 @@ for-of33.ts(7,10): error TS7022: 'v' implicitly has type 'any' because it does n ==== for-of33.ts (2 errors) ==== - class StringIterator { + class MyStringIterator { [Symbol.iterator]() { ~~~~~~~~~~~~~~~~~ !!! error TS7023: '[Symbol.iterator]' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. @@ -11,6 +11,6 @@ for-of33.ts(7,10): error TS7022: 'v' implicitly has type 'any' because it does n } } - for (var v of new StringIterator) { } + for (var v of new MyStringIterator) { } ~ !!! error TS7022: 'v' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. \ No newline at end of file diff --git a/tests/baselines/reference/for-of33.js b/tests/baselines/reference/for-of33.js index ae019516d14..5018026b965 100644 --- a/tests/baselines/reference/for-of33.js +++ b/tests/baselines/reference/for-of33.js @@ -1,18 +1,18 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of33.ts] //// //// [for-of33.ts] -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return v; } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of33.js] -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return v; } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of33.symbols b/tests/baselines/reference/for-of33.symbols index ece2b2d06e6..89becb49083 100644 --- a/tests/baselines/reference/for-of33.symbols +++ b/tests/baselines/reference/for-of33.symbols @@ -1,11 +1,11 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of33.ts] //// === for-of33.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of33.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of33.ts, 0, 0)) [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of33.ts, 0, 22)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of33.ts, 0, 24)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) @@ -15,7 +15,7 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of33.ts, 6, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of33.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of33.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of33.types b/tests/baselines/reference/for-of33.types index ea1266df15e..c493ce3deab 100644 --- a/tests/baselines/reference/for-of33.types +++ b/tests/baselines/reference/for-of33.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of33.ts] //// === for-of33.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ [Symbol.iterator]() { >[Symbol.iterator] : () => any @@ -21,11 +21,11 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : any > : ^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of34.errors.txt b/tests/baselines/reference/for-of34.errors.txt index 8517429bc65..f2540a15590 100644 --- a/tests/baselines/reference/for-of34.errors.txt +++ b/tests/baselines/reference/for-of34.errors.txt @@ -3,7 +3,7 @@ for-of34.ts(11,10): error TS7022: 'v' implicitly has type 'any' because it does ==== for-of34.ts (2 errors) ==== - class StringIterator { + class MyStringIterator { next() { ~~~~ !!! error TS7023: 'next' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. @@ -15,6 +15,6 @@ for-of34.ts(11,10): error TS7022: 'v' implicitly has type 'any' because it does } } - for (var v of new StringIterator) { } + for (var v of new MyStringIterator) { } ~ !!! error TS7022: 'v' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. \ No newline at end of file diff --git a/tests/baselines/reference/for-of34.js b/tests/baselines/reference/for-of34.js index d583893db5a..bb674e84e1c 100644 --- a/tests/baselines/reference/for-of34.js +++ b/tests/baselines/reference/for-of34.js @@ -1,7 +1,7 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of34.ts] //// //// [for-of34.ts] -class StringIterator { +class MyStringIterator { next() { return v; } @@ -11,10 +11,10 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of34.js] -class StringIterator { +class MyStringIterator { next() { return v; } @@ -22,4 +22,4 @@ class StringIterator { return this; } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of34.symbols b/tests/baselines/reference/for-of34.symbols index 5f0f856fc91..d00c6bf2656 100644 --- a/tests/baselines/reference/for-of34.symbols +++ b/tests/baselines/reference/for-of34.symbols @@ -1,28 +1,28 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of34.ts] //// === for-of34.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of34.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of34.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(for-of34.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of34.ts, 0, 24)) return v; >v : Symbol(v, Decl(for-of34.ts, 10, 8)) } [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of34.ts, 3, 5)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of34.ts, 3, 5)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of34.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of34.ts, 0, 0)) } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of34.ts, 10, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of34.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of34.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of34.types b/tests/baselines/reference/for-of34.types index ec160d27924..7cd4841204c 100644 --- a/tests/baselines/reference/for-of34.types +++ b/tests/baselines/reference/for-of34.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of34.ts] //// === for-of34.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => any @@ -30,11 +30,11 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : any > : ^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of35.errors.txt b/tests/baselines/reference/for-of35.errors.txt index 19ec2cac8b2..52b8e6d498e 100644 --- a/tests/baselines/reference/for-of35.errors.txt +++ b/tests/baselines/reference/for-of35.errors.txt @@ -3,7 +3,7 @@ for-of35.ts(14,10): error TS7022: 'v' implicitly has type 'any' because it does ==== for-of35.ts (2 errors) ==== - class StringIterator { + class MyStringIterator { next() { ~~~~ !!! error TS7023: 'next' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. @@ -18,6 +18,6 @@ for-of35.ts(14,10): error TS7022: 'v' implicitly has type 'any' because it does } } - for (var v of new StringIterator) { } + for (var v of new MyStringIterator) { } ~ !!! error TS7022: 'v' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. \ No newline at end of file diff --git a/tests/baselines/reference/for-of35.js b/tests/baselines/reference/for-of35.js index d4b803a929e..66b4d298db0 100644 --- a/tests/baselines/reference/for-of35.js +++ b/tests/baselines/reference/for-of35.js @@ -1,7 +1,7 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of35.ts] //// //// [for-of35.ts] -class StringIterator { +class MyStringIterator { next() { return { done: true, @@ -14,10 +14,10 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } //// [for-of35.js] -class StringIterator { +class MyStringIterator { next() { return { done: true, @@ -28,4 +28,4 @@ class StringIterator { return this; } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } diff --git a/tests/baselines/reference/for-of35.symbols b/tests/baselines/reference/for-of35.symbols index dd35d74df28..4f8aa152e01 100644 --- a/tests/baselines/reference/for-of35.symbols +++ b/tests/baselines/reference/for-of35.symbols @@ -1,11 +1,11 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of35.ts] //// === for-of35.ts === -class StringIterator { ->StringIterator : Symbol(StringIterator, Decl(for-of35.ts, 0, 0)) +class MyStringIterator { +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of35.ts, 0, 0)) next() { ->next : Symbol(StringIterator.next, Decl(for-of35.ts, 0, 22)) +>next : Symbol(MyStringIterator.next, Decl(for-of35.ts, 0, 24)) return { done: true, @@ -18,17 +18,17 @@ class StringIterator { } [Symbol.iterator]() { ->[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of35.ts, 6, 5)) +>[Symbol.iterator] : Symbol(MyStringIterator[Symbol.iterator], Decl(for-of35.ts, 6, 5)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) return this; ->this : Symbol(StringIterator, Decl(for-of35.ts, 0, 0)) +>this : Symbol(MyStringIterator, Decl(for-of35.ts, 0, 0)) } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : Symbol(v, Decl(for-of35.ts, 13, 8)) ->StringIterator : Symbol(StringIterator, Decl(for-of35.ts, 0, 0)) +>MyStringIterator : Symbol(MyStringIterator, Decl(for-of35.ts, 0, 0)) diff --git a/tests/baselines/reference/for-of35.types b/tests/baselines/reference/for-of35.types index d8d5b51f4a1..6f458f5fce0 100644 --- a/tests/baselines/reference/for-of35.types +++ b/tests/baselines/reference/for-of35.types @@ -1,9 +1,9 @@ //// [tests/cases/conformance/es6/for-ofStatements/for-of35.ts] //// === for-of35.ts === -class StringIterator { ->StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ +class MyStringIterator { +>MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ next() { >next : () => any @@ -43,11 +43,11 @@ class StringIterator { } } -for (var v of new StringIterator) { } +for (var v of new MyStringIterator) { } >v : any > : ^^^ ->new StringIterator : StringIterator -> : ^^^^^^^^^^^^^^ ->StringIterator : typeof StringIterator -> : ^^^^^^^^^^^^^^^^^^^^^ +>new MyStringIterator : MyStringIterator +> : ^^^^^^^^^^^^^^^^ +>MyStringIterator : typeof MyStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/forAwaitPerIterationBindingDownlevel.js b/tests/baselines/reference/forAwaitPerIterationBindingDownlevel.js index 0f14a1b85df..b9d78e74819 100644 --- a/tests/baselines/reference/forAwaitPerIterationBindingDownlevel.js +++ b/tests/baselines/reference/forAwaitPerIterationBindingDownlevel.js @@ -37,8 +37,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -67,7 +67,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/functionVariableInReturnTypeAnnotation.types b/tests/baselines/reference/functionVariableInReturnTypeAnnotation.types index a411dc6efca..e09690cad70 100644 --- a/tests/baselines/reference/functionVariableInReturnTypeAnnotation.types +++ b/tests/baselines/reference/functionVariableInReturnTypeAnnotation.types @@ -2,8 +2,8 @@ === functionVariableInReturnTypeAnnotation.ts === function bar(): typeof b { ->bar : () => typeof b -> : ^^^^^^ +>bar : () => any +> : ^^^^^^^^^ >b : any > : ^^^ diff --git a/tests/baselines/reference/generatorReturnTypeInference.types b/tests/baselines/reference/generatorReturnTypeInference.types index e6249102d64..6f13c13bc84 100644 --- a/tests/baselines/reference/generatorReturnTypeInference.types +++ b/tests/baselines/reference/generatorReturnTypeInference.types @@ -40,8 +40,8 @@ function* g002() { // Generator } function* g003() { // Generator ->g003 : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g003 : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* []; >yield* [] : any diff --git a/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.types b/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.types index 03155f5fd2b..cd4c2569fbe 100644 --- a/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.types +++ b/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.types @@ -40,8 +40,8 @@ function* g002() { // Generator } function* g003() { // Generator ->g003 : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g003 : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // NOTE: In strict mode, `[]` produces the type `never[]`. // In non-strict mode, `[]` produces the type `undefined[]` which is implicitly any. diff --git a/tests/baselines/reference/generatorTypeCheck22.types b/tests/baselines/reference/generatorTypeCheck22.types index f8f6580b454..3e05be0eaa5 100644 --- a/tests/baselines/reference/generatorTypeCheck22.types +++ b/tests/baselines/reference/generatorTypeCheck22.types @@ -22,8 +22,8 @@ class Baz { z: number } > : ^^^^^^ function* g3() { ->g3 : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g3 : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield; >yield : any diff --git a/tests/baselines/reference/generatorTypeCheck23.types b/tests/baselines/reference/generatorTypeCheck23.types index 50e76794cc4..2fdf66a6e69 100644 --- a/tests/baselines/reference/generatorTypeCheck23.types +++ b/tests/baselines/reference/generatorTypeCheck23.types @@ -22,8 +22,8 @@ class Baz { z: number } > : ^^^^^^ function* g3() { ->g3 : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g3 : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield; >yield : any diff --git a/tests/baselines/reference/generatorTypeCheck24.types b/tests/baselines/reference/generatorTypeCheck24.types index d0869e11348..13bfe853c6d 100644 --- a/tests/baselines/reference/generatorTypeCheck24.types +++ b/tests/baselines/reference/generatorTypeCheck24.types @@ -22,8 +22,8 @@ class Baz { z: number } > : ^^^^^^ function* g3() { ->g3 : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g3 : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield; >yield : any diff --git a/tests/baselines/reference/generatorTypeCheck25.errors.txt b/tests/baselines/reference/generatorTypeCheck25.errors.txt index 2113fedd55f..5a0fdf0fc79 100644 --- a/tests/baselines/reference/generatorTypeCheck25.errors.txt +++ b/tests/baselines/reference/generatorTypeCheck25.errors.txt @@ -1,5 +1,5 @@ -generatorTypeCheck25.ts(4,5): error TS2322: Type '() => Generator' is not assignable to type '() => Iterable'. - Call signature return types 'Generator' and 'Iterable' are incompatible. +generatorTypeCheck25.ts(4,5): error TS2322: Type '() => Generator' is not assignable to type '() => Iterable'. + Call signature return types 'Generator' and 'Iterable' are incompatible. The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. Type 'IteratorResult' is not assignable to type 'IteratorResult'. Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. @@ -14,8 +14,8 @@ generatorTypeCheck25.ts(4,5): error TS2322: Type '() => Generator Iterable = function* () { ~~ -!!! error TS2322: Type '() => Generator' is not assignable to type '() => Iterable'. -!!! error TS2322: Call signature return types 'Generator' and 'Iterable' are incompatible. +!!! error TS2322: Type '() => Generator' is not assignable to type '() => Iterable'. +!!! error TS2322: Call signature return types 'Generator' and 'Iterable' are incompatible. !!! error TS2322: The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types. !!! error TS2322: Type 'IteratorResult' is not assignable to type 'IteratorResult'. !!! error TS2322: Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. diff --git a/tests/baselines/reference/generatorTypeCheck25.types b/tests/baselines/reference/generatorTypeCheck25.types index 322bb4b9268..65a5e73672b 100644 --- a/tests/baselines/reference/generatorTypeCheck25.types +++ b/tests/baselines/reference/generatorTypeCheck25.types @@ -24,8 +24,8 @@ class Baz { z: number } var g3: () => Iterable = function* () { >g3 : () => Iterable > : ^^^^^^ ->function* () { yield; yield new Bar; yield new Baz; yield *[new Bar]; yield *[new Baz];} : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>function* () { yield; yield new Bar; yield new Baz; yield *[new Bar]; yield *[new Baz];} : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield; >yield : any diff --git a/tests/baselines/reference/generatorTypeCheck53.types b/tests/baselines/reference/generatorTypeCheck53.types index 308c3c45f0e..96cfa3ff36c 100644 --- a/tests/baselines/reference/generatorTypeCheck53.types +++ b/tests/baselines/reference/generatorTypeCheck53.types @@ -14,8 +14,8 @@ class Baz { z: number } > : ^^^^^^ function* g() { ->g : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield new Foo; >yield new Foo : any diff --git a/tests/baselines/reference/generatorTypeCheck54.types b/tests/baselines/reference/generatorTypeCheck54.types index 3162d1537f1..fc37b2ba451 100644 --- a/tests/baselines/reference/generatorTypeCheck54.types +++ b/tests/baselines/reference/generatorTypeCheck54.types @@ -14,8 +14,8 @@ class Baz { z: number } > : ^^^^^^ function* g() { ->g : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [new Foo]; >yield* [new Foo] : any diff --git a/tests/baselines/reference/genericCallInferenceConditionalType2.symbols b/tests/baselines/reference/genericCallInferenceConditionalType2.symbols new file mode 100644 index 00000000000..1f88ec594ad --- /dev/null +++ b/tests/baselines/reference/genericCallInferenceConditionalType2.symbols @@ -0,0 +1,85 @@ +//// [tests/cases/compiler/genericCallInferenceConditionalType2.ts] //// + +=== genericCallInferenceConditionalType2.ts === +// https://github.com/microsoft/TypeScript/issues/59490 + +type ComponentProps = T extends (props: infer P) => unknown ? P : never; +>ComponentProps : Symbol(ComponentProps, Decl(genericCallInferenceConditionalType2.ts, 0, 0)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 2, 20)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 2, 20)) +>props : Symbol(props, Decl(genericCallInferenceConditionalType2.ts, 2, 36)) +>P : Symbol(P, Decl(genericCallInferenceConditionalType2.ts, 2, 48)) +>P : Symbol(P, Decl(genericCallInferenceConditionalType2.ts, 2, 48)) + +declare function wrapComponent

( +>wrapComponent : Symbol(wrapComponent, Decl(genericCallInferenceConditionalType2.ts, 2, 75)) +>P : Symbol(P, Decl(genericCallInferenceConditionalType2.ts, 4, 31)) + + component: (props: P) => unknown, +>component : Symbol(component, Decl(genericCallInferenceConditionalType2.ts, 4, 34)) +>props : Symbol(props, Decl(genericCallInferenceConditionalType2.ts, 5, 14)) +>P : Symbol(P, Decl(genericCallInferenceConditionalType2.ts, 4, 31)) + +): (props: P) => unknown; +>props : Symbol(props, Decl(genericCallInferenceConditionalType2.ts, 6, 4)) +>P : Symbol(P, Decl(genericCallInferenceConditionalType2.ts, 4, 31)) + +const WrappedComponent = wrapComponent( +>WrappedComponent : Symbol(WrappedComponent, Decl(genericCallInferenceConditionalType2.ts, 8, 5)) +>wrapComponent : Symbol(wrapComponent, Decl(genericCallInferenceConditionalType2.ts, 2, 75)) + + (props: { +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 9, 3)) +>props : Symbol(props, Decl(genericCallInferenceConditionalType2.ts, 9, 30)) + + as?: T | undefined; +>as : Symbol(as, Decl(genericCallInferenceConditionalType2.ts, 9, 38)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 9, 3)) + + className?: string; +>className : Symbol(className, Decl(genericCallInferenceConditionalType2.ts, 10, 23)) + + }) => { + return null; + }, +); + +type RetrievedProps = ComponentProps; +>RetrievedProps : Symbol(RetrievedProps, Decl(genericCallInferenceConditionalType2.ts, 15, 2)) +>ComponentProps : Symbol(ComponentProps, Decl(genericCallInferenceConditionalType2.ts, 0, 0)) +>WrappedComponent : Symbol(WrappedComponent, Decl(genericCallInferenceConditionalType2.ts, 8, 5)) + +declare const f: (f: (x: T) => unknown) => (x: T) => unknown +>f : Symbol(f, Decl(genericCallInferenceConditionalType2.ts, 19, 13)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 19, 18)) +>f : Symbol(f, Decl(genericCallInferenceConditionalType2.ts, 19, 21)) +>x : Symbol(x, Decl(genericCallInferenceConditionalType2.ts, 19, 25)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 19, 18)) +>x : Symbol(x, Decl(genericCallInferenceConditionalType2.ts, 19, 47)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 19, 18)) + +declare const g: (x: { foo: T }) => unknown +>g : Symbol(g, Decl(genericCallInferenceConditionalType2.ts, 20, 13)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 20, 18)) +>x : Symbol(x, Decl(genericCallInferenceConditionalType2.ts, 20, 46)) +>foo : Symbol(foo, Decl(genericCallInferenceConditionalType2.ts, 20, 50)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 20, 18)) + +const h = f(g) +>h : Symbol(h, Decl(genericCallInferenceConditionalType2.ts, 22, 5)) +>f : Symbol(f, Decl(genericCallInferenceConditionalType2.ts, 19, 13)) +>g : Symbol(g, Decl(genericCallInferenceConditionalType2.ts, 20, 13)) + +type FirstParameter = T extends (x: infer P) => unknown ? P : unknown +>FirstParameter : Symbol(FirstParameter, Decl(genericCallInferenceConditionalType2.ts, 22, 14)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 24, 20)) +>T : Symbol(T, Decl(genericCallInferenceConditionalType2.ts, 24, 20)) +>x : Symbol(x, Decl(genericCallInferenceConditionalType2.ts, 24, 36)) +>P : Symbol(P, Decl(genericCallInferenceConditionalType2.ts, 24, 44)) +>P : Symbol(P, Decl(genericCallInferenceConditionalType2.ts, 24, 44)) + +type X = FirstParameter['foo'] +>X : Symbol(X, Decl(genericCallInferenceConditionalType2.ts, 24, 72)) +>FirstParameter : Symbol(FirstParameter, Decl(genericCallInferenceConditionalType2.ts, 22, 14)) +>h : Symbol(h, Decl(genericCallInferenceConditionalType2.ts, 22, 5)) + diff --git a/tests/baselines/reference/genericCallInferenceConditionalType2.types b/tests/baselines/reference/genericCallInferenceConditionalType2.types new file mode 100644 index 00000000000..c9c143a7dd8 --- /dev/null +++ b/tests/baselines/reference/genericCallInferenceConditionalType2.types @@ -0,0 +1,98 @@ +//// [tests/cases/compiler/genericCallInferenceConditionalType2.ts] //// + +=== genericCallInferenceConditionalType2.ts === +// https://github.com/microsoft/TypeScript/issues/59490 + +type ComponentProps = T extends (props: infer P) => unknown ? P : never; +>ComponentProps : ComponentProps +> : ^^^^^^^^^^^^^^^^^ +>props : P +> : ^ + +declare function wrapComponent

( +>wrapComponent :

(component: (props: P) => unknown) => (props: P) => unknown +> : ^ ^^ ^^ ^^^^^ + + component: (props: P) => unknown, +>component : (props: P) => unknown +> : ^ ^^ ^^^^^ +>props : P +> : ^ + +): (props: P) => unknown; +>props : P +> : ^ + +const WrappedComponent = wrapComponent( +>WrappedComponent : (props: { as?: T | undefined; className?: string; }) => unknown +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ +>wrapComponent( (props: { as?: T | undefined; className?: string; }) => { return null; },) : (props: { as?: T | undefined; className?: string; }) => unknown +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ +>wrapComponent :

(component: (props: P) => unknown) => (props: P) => unknown +> : ^ ^^ ^^ ^^^^^ + + (props: { +>(props: { as?: T | undefined; className?: string; }) => { return null; } : (props: { as?: T | undefined; className?: string; }) => null +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^ ^^^^^^^^^ +>props : { as?: T | undefined; className?: string; } +> : ^^^^^^^ ^^^^^^^^^^^^^^ ^^^ + + as?: T | undefined; +>as : T | undefined +> : ^^^^^^^^^^^^^ + + className?: string; +>className : string | undefined +> : ^^^^^^^^^^^^^^^^^^ + + }) => { + return null; + }, +); + +type RetrievedProps = ComponentProps; +>RetrievedProps : { as?: string | undefined; className?: string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>WrappedComponent : (props: { as?: T | undefined; className?: string; }) => unknown +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ + +declare const f: (f: (x: T) => unknown) => (x: T) => unknown +>f : (f: (x: T) => unknown) => (x: T) => unknown +> : ^ ^^ ^^ ^^^^^ +>f : (x: T) => unknown +> : ^ ^^ ^^^^^ +>x : T +> : ^ +>x : T +> : ^ + +declare const g: (x: { foo: T }) => unknown +>g : (x: { foo: T; }) => unknown +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^ ^^^^^ +>x : { foo: T; } +> : ^^^^^^^ ^^^ +>foo : T +> : ^ + +const h = f(g) +>h : (x: { foo: T; }) => unknown +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +>f(g) : (x: { foo: T; }) => unknown +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ +>f : (f: (x: T) => unknown) => (x: T) => unknown +> : ^ ^^ ^^ ^^^^^ +>g : (x: { foo: T; }) => unknown +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^ ^^^^^ + +type FirstParameter = T extends (x: infer P) => unknown ? P : unknown +>FirstParameter : FirstParameter +> : ^^^^^^^^^^^^^^^^^ +>x : P +> : ^ + +type X = FirstParameter['foo'] +>X : unknown +> : ^^^^^^^ +>h : (x: { foo: T; }) => unknown +> : ^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ + diff --git a/tests/baselines/reference/goToDefinitionAmbiants.baseline.jsonc b/tests/baselines/reference/goToDefinitionAmbiants.baseline.jsonc index d6afdd5a52f..987778aebe9 100644 --- a/tests/baselines/reference/goToDefinitionAmbiants.baseline.jsonc +++ b/tests/baselines/reference/goToDefinitionAmbiants.baseline.jsonc @@ -64,11 +64,11 @@ // === /tests/cases/fourslash/goToDefinitionAmbiants.ts === // declare var ambientVar; // declare function ambientFunction(); -// declare class ambientClass { -// [|constructor();|] +// <|declare class [|{| defId: 0 |}ambientClass|] { +// [|{| defId: 1 |}constructor();|] // static method(); // public method(); -// } +// }|> // // ambientVar = 1; // ambientFunction(); @@ -79,6 +79,17 @@ // === Details === [ { + "defId": 0, + "kind": "class", + "name": "ambientClass", + "containerName": "", + "isLocal": false, + "isAmbient": true, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, "kind": "constructor", "name": "__constructor", "containerName": "ambientClass", diff --git a/tests/baselines/reference/goToDefinitionClassConstructors.baseline.jsonc b/tests/baselines/reference/goToDefinitionClassConstructors.baseline.jsonc new file mode 100644 index 00000000000..684c2c26c44 --- /dev/null +++ b/tests/baselines/reference/goToDefinitionClassConstructors.baseline.jsonc @@ -0,0 +1,157 @@ +// === goToDefinition === +// === /tests/cases/fourslash/definitions.ts === +// export class Base { +// [|{| defId: 1 |}constructor(protected readonly cArg: string) {}|] +// } +// +// <|export class [|{| defId: 0 |}Derived|] extends Base { +// readonly email = this.cArg.getByLabel('Email') +// readonly password = this.cArg.getByLabel('Password') +// }|> + +// === /tests/cases/fourslash/main.ts === +// import { Derived } from './definitions' +// const derived = new /*GOTO DEF*/[|Derived|](cArg) + + // === Details === + [ + { + "defId": 0, + "kind": "class", + "name": "Derived", + "containerName": "\"/tests/cases/fourslash/definitions\"", + "isLocal": false, + "isAmbient": false, + "unverified": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "Base", + "isLocal": false, + "isAmbient": false, + "unverified": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/defInSameFile.ts === +// import { Base } from './definitions' +// <|class [|{| defId: 0 |}SameFile|] extends Base { +// readonly name: string = 'SameFile' +// }|> +// const SameFile = new /*GOTO DEF*/SameFile(cArg) +// const wrapper = new Base(cArg) + +// === /tests/cases/fourslash/definitions.ts === +// export class Base { +// [|{| defId: 1 |}constructor(protected readonly cArg: string) {}|] +// } +// +// export class Derived extends Base { +// --- (line: 6) skipped --- + + // === Details === + [ + { + "defId": 0, + "kind": "class", + "name": "SameFile", + "containerName": "", + "isLocal": true, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "Base", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/hasConstructor.ts === +// import { Base } from './definitions' +// <|class [|{| defId: 0 |}HasConstructor|] extends Base { +// [|{| defId: 1 |}constructor() {}|] +// readonly name: string = ''; +// }|> +// const hasConstructor = new /*GOTO DEF*/HasConstructor(cArg) + + // === Details === + [ + { + "defId": 0, + "kind": "class", + "name": "HasConstructor", + "containerName": "", + "isLocal": true, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "HasConstructor", + "isLocal": true, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/definitions.ts === +// <|export class [|{| defId: 0 |}Base|] { +// [|{| defId: 1 |}constructor(protected readonly cArg: string) {}|] +// }|> +// +// export class Derived extends Base { +// readonly email = this.cArg.getByLabel('Email') +// readonly password = this.cArg.getByLabel('Password') +// } + +// === /tests/cases/fourslash/defInSameFile.ts === +// import { Base } from './definitions' +// class SameFile extends Base { +// readonly name: string = 'SameFile' +// } +// const SameFile = new SameFile(cArg) +// const wrapper = new /*GOTO DEF*/[|Base|](cArg) + + // === Details === + [ + { + "defId": 0, + "kind": "class", + "name": "Base", + "containerName": "\"/tests/cases/fourslash/definitions\"", + "isLocal": false, + "isAmbient": false, + "unverified": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "Base", + "isLocal": false, + "isAmbient": false, + "unverified": false + } + ] \ No newline at end of file diff --git a/tests/baselines/reference/goToDefinitionConstructorOfClassExpression01.baseline.jsonc b/tests/baselines/reference/goToDefinitionConstructorOfClassExpression01.baseline.jsonc index c888ae3719b..7bb69d20e1a 100644 --- a/tests/baselines/reference/goToDefinitionConstructorOfClassExpression01.baseline.jsonc +++ b/tests/baselines/reference/goToDefinitionConstructorOfClassExpression01.baseline.jsonc @@ -1,14 +1,282 @@ // === goToDefinition === // === /tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts === -// var x = class C { -// [|constructor() { +// var x = <|class [|{| defId: 0 |}C|] { +// [|{| defId: 1 |}constructor() { // var other = new /*GOTO DEF*/C; // }|] -// } +// }|> +// +// var y = class C extends x { +// constructor() { +// --- (line: 9) skipped --- // === Details === [ { + "defId": 0, + "kind": "local class", + "name": "C", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "C", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts === +// --- (line: 3) skipped --- +// } +// } +// +// var y = <|class [|{| defId: 0 |}C|] extends x { +// [|{| defId: 1 |}constructor() { +// super(); +// var other = new /*GOTO DEF*/C; +// }|] +// }|> +// var z = class C extends x { +// m() { +// return new C; +// --- (line: 16) skipped --- + + // === Details === + [ + { + "defId": 0, + "kind": "local class", + "name": "C", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "C", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts === +// var x = class C { +// [|{| defId: 1 |}constructor() { +// var other = new C; +// }|] +// } +// +// var y = class C extends x { +// constructor() { +// super(); +// var other = new C; +// } +// } +// var z = <|class [|{| defId: 0 |}C|] extends x { +// m() { +// return new /*GOTO DEF*/C; +// } +// }|> +// +// var x1 = new C(); +// var x2 = new x(); +// var y1 = new y(); +// var z1 = new z(); + + // === Details === + [ + { + "defId": 0, + "kind": "local class", + "name": "C", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "C", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts === +// --- (line: 15) skipped --- +// } +// } +// +// var x1 = new /*GOTO DEF*/C(); +// var x2 = new x(); +// var y1 = new y(); +// var z1 = new z(); + + + +// === goToDefinition === +// === /tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts === +// <|var [|{| defId: 0 |}x|] = class C { +// [|{| defId: 1 |}constructor() { +// var other = new C; +// }|] +// }|> +// +// var y = class C extends x { +// constructor() { +// --- (line: 9) skipped --- + +// --- (line: 16) skipped --- +// } +// +// var x1 = new C(); +// var x2 = new /*GOTO DEF*/x(); +// var y1 = new y(); +// var z1 = new z(); + + // === Details === + [ + { + "defId": 0, + "kind": "var", + "name": "x", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "C", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts === +// --- (line: 3) skipped --- +// } +// } +// +// <|var [|{| defId: 0 |}y|] = class C extends x { +// [|{| defId: 1 |}constructor() { +// super(); +// var other = new C; +// }|] +// }|> +// var z = class C extends x { +// m() { +// return new C; +// } +// } +// +// var x1 = new C(); +// var x2 = new x(); +// var y1 = new /*GOTO DEF*/y(); +// var z1 = new z(); + + // === Details === + [ + { + "defId": 0, + "kind": "var", + "name": "y", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "C", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts === +// var x = class C { +// [|{| defId: 1 |}constructor() { +// var other = new C; +// }|] +// } +// +// var y = class C extends x { +// constructor() { +// super(); +// var other = new C; +// } +// } +// <|var [|{| defId: 0 |}z|] = class C extends x { +// m() { +// return new C; +// } +// }|> +// +// var x1 = new C(); +// var x2 = new x(); +// var y1 = new y(); +// var z1 = new /*GOTO DEF*/z(); + + // === Details === + [ + { + "defId": 0, + "kind": "var", + "name": "z", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, "kind": "constructor", "name": "__constructor", "containerName": "C", diff --git a/tests/baselines/reference/goToDefinitionConstructorOfClassWhenClassIsPrecededByNamespace01.baseline.jsonc b/tests/baselines/reference/goToDefinitionConstructorOfClassWhenClassIsPrecededByNamespace01.baseline.jsonc index ddce59197c5..d6bbd2049c3 100644 --- a/tests/baselines/reference/goToDefinitionConstructorOfClassWhenClassIsPrecededByNamespace01.baseline.jsonc +++ b/tests/baselines/reference/goToDefinitionConstructorOfClassWhenClassIsPrecededByNamespace01.baseline.jsonc @@ -4,16 +4,27 @@ // export var x; // } // -// class Foo { -// [|constructor() { +// <|class [|{| defId: 0 |}Foo|] { +// [|{| defId: 1 |}constructor() { // }|] -// } +// }|> // // var x = new /*GOTO DEF*/Foo(); // === Details === [ { + "defId": 0, + "kind": "class", + "name": "Foo", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, "kind": "constructor", "name": "__constructor", "containerName": "Foo", diff --git a/tests/baselines/reference/goToDefinitionConstructorOverloads.baseline.jsonc b/tests/baselines/reference/goToDefinitionConstructorOverloads.baseline.jsonc index 5b02b3f55a4..0ac43a8742c 100644 --- a/tests/baselines/reference/goToDefinitionConstructorOverloads.baseline.jsonc +++ b/tests/baselines/reference/goToDefinitionConstructorOverloads.baseline.jsonc @@ -1,17 +1,31 @@ // === goToDefinition === // === /tests/cases/fourslash/goToDefinitionConstructorOverloads.ts === -// class ConstructorOverload { -// [|constructor();|] +// <|class [|{| defId: 0 |}ConstructorOverload|] { +// [|{| defId: 1 |}constructor();|] // constructor(foo: string); // constructor(foo: any) { } -// } +// }|> // // var constructorOverload = new /*GOTO DEF*/ConstructorOverload(); // var constructorOverload = new ConstructorOverload("foo"); +// +// class Extended extends ConstructorOverload { +// --- (line: 11) skipped --- // === Details === [ { + "defId": 0, + "kind": "class", + "name": "ConstructorOverload", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, "kind": "constructor", "name": "__constructor", "containerName": "ConstructorOverload", @@ -26,18 +40,33 @@ // === goToDefinition === // === /tests/cases/fourslash/goToDefinitionConstructorOverloads.ts === -// class ConstructorOverload { +// <|class [|{| defId: 0 |}ConstructorOverload|] { // constructor(); -// [|constructor(foo: string);|] +// [|{| defId: 1 |}constructor(foo: string);|] // constructor(foo: any) { } -// } +// }|> // // var constructorOverload = new ConstructorOverload(); // var constructorOverload = new /*GOTO DEF*/ConstructorOverload("foo"); +// +// class Extended extends ConstructorOverload { +// readonly name = "extended"; +// --- (line: 12) skipped --- // === Details === [ { + "defId": 0, + "kind": "class", + "name": "ConstructorOverload", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, "kind": "constructor", "name": "__constructor", "containerName": "ConstructorOverload", @@ -59,7 +88,7 @@ // } // // var constructorOverload = new ConstructorOverload(); -// var constructorOverload = new ConstructorOverload("foo"); +// --- (line: 8) skipped --- // === Details === [ @@ -70,4 +99,90 @@ "isLocal": false, "isAmbient": false } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/goToDefinitionConstructorOverloads.ts === +// class ConstructorOverload { +// [|{| defId: 1 |}constructor();|] +// constructor(foo: string); +// constructor(foo: any) { } +// } +// +// var constructorOverload = new ConstructorOverload(); +// var constructorOverload = new ConstructorOverload("foo"); +// +// <|class [|{| defId: 0 |}Extended|] extends ConstructorOverload { +// readonly name = "extended"; +// }|> +// var extended1 = new /*GOTO DEF*/Extended(); +// var extended2 = new Extended("foo"); + + // === Details === + [ + { + "defId": 0, + "kind": "class", + "name": "Extended", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "ConstructorOverload", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } + ] + + + +// === goToDefinition === +// === /tests/cases/fourslash/goToDefinitionConstructorOverloads.ts === +// class ConstructorOverload { +// constructor(); +// [|{| defId: 1 |}constructor(foo: string);|] +// constructor(foo: any) { } +// } +// +// var constructorOverload = new ConstructorOverload(); +// var constructorOverload = new ConstructorOverload("foo"); +// +// <|class [|{| defId: 0 |}Extended|] extends ConstructorOverload { +// readonly name = "extended"; +// }|> +// var extended1 = new Extended(); +// var extended2 = new /*GOTO DEF*/Extended("foo"); + + // === Details === + [ + { + "defId": 0, + "kind": "class", + "name": "Extended", + "containerName": "", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + }, + { + "defId": 1, + "kind": "constructor", + "name": "__constructor", + "containerName": "ConstructorOverload", + "isLocal": false, + "isAmbient": false, + "unverified": false, + "failedAliasResolution": false + } ] \ No newline at end of file diff --git a/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js index 358d98e9fea..0b19d2dc41f 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js @@ -40,10 +40,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [c.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -55,21 +52,14 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [f.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [i.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/impliedNodeFormatEmit1(module=esnext).js b/tests/baselines/reference/impliedNodeFormatEmit1(module=esnext).js index 69cd5d21e55..d27ae7c8e18 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit1(module=esnext).js +++ b/tests/baselines/reference/impliedNodeFormatEmit1(module=esnext).js @@ -39,7 +39,10 @@ export var _ = 0; //// [b.mjs] export var _ = 0; //// [c.cjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [d.js] export var _ = 0; //// [e.mjs] @@ -51,6 +54,7 @@ export {}; //// [h.mjs] export {}; //// [i.cjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [dummy.js] export {}; diff --git a/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js index 3acea3e04d3..4fd6dc70684 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js @@ -43,10 +43,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [c.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -58,21 +55,14 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [f.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [i.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/impliedNodeFormatEmit2(module=esnext).js b/tests/baselines/reference/impliedNodeFormatEmit2(module=esnext).js index ef36dafea55..df4f9efe157 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit2(module=esnext).js +++ b/tests/baselines/reference/impliedNodeFormatEmit2(module=esnext).js @@ -42,7 +42,10 @@ export var _ = 0; //// [b.mjs] export var _ = 0; //// [c.cjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [d.js] export var _ = 0; //// [e.mjs] @@ -54,6 +57,7 @@ export {}; //// [h.mjs] export {}; //// [i.cjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [dummy.js] export {}; diff --git a/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js index 9927e59c540..46df34b5ff6 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js @@ -45,10 +45,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [c.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -60,21 +57,14 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [f.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [i.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/impliedNodeFormatEmit3(module=esnext).js b/tests/baselines/reference/impliedNodeFormatEmit3(module=esnext).js index 1df2b11dbce..27f4f58d9ba 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit3(module=esnext).js +++ b/tests/baselines/reference/impliedNodeFormatEmit3(module=esnext).js @@ -44,7 +44,10 @@ export var _ = 0; //// [b.mjs] export var _ = 0; //// [c.cjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [d.js] export var _ = 0; //// [e.mjs] @@ -56,6 +59,7 @@ export {}; //// [h.mjs] export {}; //// [i.cjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [dummy.js] export {}; diff --git a/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js index 0d273c2e6c0..aa7fab5c345 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js @@ -45,10 +45,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [c.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -60,21 +57,14 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [f.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [i.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/impliedNodeFormatEmit4(module=esnext).js b/tests/baselines/reference/impliedNodeFormatEmit4(module=esnext).js index 0023d65f995..6c26d901cc5 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit4(module=esnext).js +++ b/tests/baselines/reference/impliedNodeFormatEmit4(module=esnext).js @@ -44,7 +44,10 @@ export var _ = 0; //// [b.mjs] export var _ = 0; //// [c.cjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [d.js] export var _ = 0; //// [e.mjs] @@ -56,6 +59,7 @@ export {}; //// [h.mjs] export {}; //// [i.cjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [dummy.js] export {}; diff --git a/tests/baselines/reference/importAliasInModuleAugmentation.errors.txt b/tests/baselines/reference/importAliasInModuleAugmentation.errors.txt new file mode 100644 index 00000000000..d8b96f63170 --- /dev/null +++ b/tests/baselines/reference/importAliasInModuleAugmentation.errors.txt @@ -0,0 +1,26 @@ +importAliasInModuleAugmentation.ts(12,5): error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. +importAliasInModuleAugmentation.ts(12,24): error TS2307: Cannot find module 'fs' or its corresponding type declarations. + + +==== importAliasInModuleAugmentation.ts (2 errors) ==== + export { } + + namespace A { + export const y = 34; + export interface y { s: string } + } + + declare global { + export import x = A.y; + + // Should still error + import f = require("fs"); + ~~~~~~ +!!! error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. + ~~~~ +!!! error TS2307: Cannot find module 'fs' or its corresponding type declarations. + } + + const m: number = x; + let s: x = { s: "" }; + void s.s; \ No newline at end of file diff --git a/tests/baselines/reference/importAliasInModuleAugmentation.js b/tests/baselines/reference/importAliasInModuleAugmentation.js new file mode 100644 index 00000000000..f6616d7af9c --- /dev/null +++ b/tests/baselines/reference/importAliasInModuleAugmentation.js @@ -0,0 +1,31 @@ +//// [tests/cases/compiler/importAliasInModuleAugmentation.ts] //// + +//// [importAliasInModuleAugmentation.ts] +export { } + +namespace A { + export const y = 34; + export interface y { s: string } +} + +declare global { + export import x = A.y; + + // Should still error + import f = require("fs"); +} + +const m: number = x; +let s: x = { s: "" }; +void s.s; + +//// [importAliasInModuleAugmentation.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var A; +(function (A) { + A.y = 34; +})(A || (A = {})); +var m = x; +var s = { s: "" }; +void s.s; diff --git a/tests/baselines/reference/importAliasInModuleAugmentation.symbols b/tests/baselines/reference/importAliasInModuleAugmentation.symbols new file mode 100644 index 00000000000..ff1228d4bd6 --- /dev/null +++ b/tests/baselines/reference/importAliasInModuleAugmentation.symbols @@ -0,0 +1,43 @@ +//// [tests/cases/compiler/importAliasInModuleAugmentation.ts] //// + +=== importAliasInModuleAugmentation.ts === +export { } + +namespace A { +>A : Symbol(A, Decl(importAliasInModuleAugmentation.ts, 0, 10)) + + export const y = 34; +>y : Symbol(y, Decl(importAliasInModuleAugmentation.ts, 3, 16), Decl(importAliasInModuleAugmentation.ts, 3, 24)) + + export interface y { s: string } +>y : Symbol(y, Decl(importAliasInModuleAugmentation.ts, 3, 16), Decl(importAliasInModuleAugmentation.ts, 3, 24)) +>s : Symbol(y.s, Decl(importAliasInModuleAugmentation.ts, 4, 24)) +} + +declare global { +>global : Symbol(global, Decl(importAliasInModuleAugmentation.ts, 5, 1)) + + export import x = A.y; +>x : Symbol(x, Decl(importAliasInModuleAugmentation.ts, 7, 16)) +>A : Symbol(A, Decl(importAliasInModuleAugmentation.ts, 0, 10)) +>y : Symbol(x, Decl(importAliasInModuleAugmentation.ts, 3, 16), Decl(importAliasInModuleAugmentation.ts, 3, 24)) + + // Should still error + import f = require("fs"); +>f : Symbol(f, Decl(importAliasInModuleAugmentation.ts, 8, 26)) +} + +const m: number = x; +>m : Symbol(m, Decl(importAliasInModuleAugmentation.ts, 14, 5)) +>x : Symbol(x, Decl(importAliasInModuleAugmentation.ts, 7, 16)) + +let s: x = { s: "" }; +>s : Symbol(s, Decl(importAliasInModuleAugmentation.ts, 15, 3)) +>x : Symbol(x, Decl(importAliasInModuleAugmentation.ts, 7, 16)) +>s : Symbol(s, Decl(importAliasInModuleAugmentation.ts, 15, 12)) + +void s.s; +>s.s : Symbol(x.s, Decl(importAliasInModuleAugmentation.ts, 4, 24)) +>s : Symbol(s, Decl(importAliasInModuleAugmentation.ts, 15, 3)) +>s : Symbol(x.s, Decl(importAliasInModuleAugmentation.ts, 4, 24)) + diff --git a/tests/baselines/reference/importAliasInModuleAugmentation.types b/tests/baselines/reference/importAliasInModuleAugmentation.types new file mode 100644 index 00000000000..361cff4f663 --- /dev/null +++ b/tests/baselines/reference/importAliasInModuleAugmentation.types @@ -0,0 +1,64 @@ +//// [tests/cases/compiler/importAliasInModuleAugmentation.ts] //// + +=== importAliasInModuleAugmentation.ts === +export { } + +namespace A { +>A : typeof A +> : ^^^^^^^^ + + export const y = 34; +>y : 34 +> : ^^ +>34 : 34 +> : ^^ + + export interface y { s: string } +>s : string +> : ^^^^^^ +} + +declare global { +>global : typeof global +> : ^^^^^^^^^^^^^ + + export import x = A.y; +>x : 34 +> : ^^ +>A : typeof A +> : ^^^^^^^^ +>y : x +> : ^ + + // Should still error + import f = require("fs"); +>f : any +> : ^^^ +} + +const m: number = x; +>m : number +> : ^^^^^^ +>x : 34 +> : ^^ + +let s: x = { s: "" }; +>s : x +> : ^ +>{ s: "" } : { s: string; } +> : ^^^^^^^^^^^^^^ +>s : string +> : ^^^^^^ +>"" : "" +> : ^^ + +void s.s; +>void s.s : undefined +> : ^^^^^^^^^ +>s.s : string +> : ^^^^^^ +>s : x +> : ^ +>s : string +> : ^^^^^^ + diff --git a/tests/baselines/reference/importAttributes7.js b/tests/baselines/reference/importAttributes7.js index 66ff33e5bc5..30f45f2386d 100644 --- a/tests/baselines/reference/importAttributes7.js +++ b/tests/baselines/reference/importAttributes7.js @@ -35,8 +35,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionAsyncES5AMD.js b/tests/baselines/reference/importCallExpressionAsyncES5AMD.js index 44a3dcc0619..4a458837a45 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES5AMD.js +++ b/tests/baselines/reference/importCallExpressionAsyncES5AMD.js @@ -41,8 +41,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionAsyncES5CJS.js b/tests/baselines/reference/importCallExpressionAsyncES5CJS.js index a816ecf6e46..4f2657547fe 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES5CJS.js +++ b/tests/baselines/reference/importCallExpressionAsyncES5CJS.js @@ -42,8 +42,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionAsyncES5System.js b/tests/baselines/reference/importCallExpressionAsyncES5System.js index f701d06d2d4..352be31696e 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES5System.js +++ b/tests/baselines/reference/importCallExpressionAsyncES5System.js @@ -43,8 +43,8 @@ System.register([], function (exports_1, context_1) { }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionAsyncES5UMD.js b/tests/baselines/reference/importCallExpressionAsyncES5UMD.js index 707b41f01ee..799fb08ad48 100644 --- a/tests/baselines/reference/importCallExpressionAsyncES5UMD.js +++ b/tests/baselines/reference/importCallExpressionAsyncES5UMD.js @@ -41,8 +41,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionNestedAMD2.js b/tests/baselines/reference/importCallExpressionNestedAMD2.js index 3200a5831d9..4f90f4e7732 100644 --- a/tests/baselines/reference/importCallExpressionNestedAMD2.js +++ b/tests/baselines/reference/importCallExpressionNestedAMD2.js @@ -25,8 +25,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionNestedCJS2.js b/tests/baselines/reference/importCallExpressionNestedCJS2.js index a40cf58f674..5d2371ea723 100644 --- a/tests/baselines/reference/importCallExpressionNestedCJS2.js +++ b/tests/baselines/reference/importCallExpressionNestedCJS2.js @@ -23,8 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionNestedES20152.js b/tests/baselines/reference/importCallExpressionNestedES20152.js index 7d52515fd23..07e9f0ced12 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20152.js +++ b/tests/baselines/reference/importCallExpressionNestedES20152.js @@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionNestedES20202.js b/tests/baselines/reference/importCallExpressionNestedES20202.js index 619b9b105a5..999f8ce28e6 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20202.js +++ b/tests/baselines/reference/importCallExpressionNestedES20202.js @@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionNestedSystem2.js b/tests/baselines/reference/importCallExpressionNestedSystem2.js index 62dc40ce6ac..1490a469002 100644 --- a/tests/baselines/reference/importCallExpressionNestedSystem2.js +++ b/tests/baselines/reference/importCallExpressionNestedSystem2.js @@ -31,8 +31,8 @@ System.register([], function (exports_1, context_1) { }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionNestedUMD2.js b/tests/baselines/reference/importCallExpressionNestedUMD2.js index 812cf0aa1c6..c74e8d9eda2 100644 --- a/tests/baselines/reference/importCallExpressionNestedUMD2.js +++ b/tests/baselines/reference/importCallExpressionNestedUMD2.js @@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.js b/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.js index 08338407d41..e7bf6909ce6 100644 --- a/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.js +++ b/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.js @@ -55,8 +55,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importDecl.types b/tests/baselines/reference/importDecl.types index 34c0f7121bc..118f58ccd51 100644 --- a/tests/baselines/reference/importDecl.types +++ b/tests/baselines/reference/importDecl.types @@ -208,11 +208,11 @@ export var d = m5.foo2(); >m5.foo2() : m4.d > : ^^^^ >m5.foo2 : () => m4.d -> : ^^^^^^^^^^ +> : ^^^^^^ >m5 : typeof m5 > : ^^^^^^^^^ >foo2 : () => m4.d -> : ^^^^^^^^^^ +> : ^^^^^^ // Do not emit multiple used import statements import multiImport_m4 = require("./importDecl_require"); // Emit used diff --git a/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.types b/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.types index 3bf6420170b..9d221f73858 100644 --- a/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.types +++ b/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.types @@ -2,8 +2,8 @@ === main.ts === export async function * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ await 1; >await 1 : 1 diff --git a/tests/baselines/reference/importHelpersVerbatimModuleSyntax.errors.txt b/tests/baselines/reference/importHelpersVerbatimModuleSyntax.errors.txt deleted file mode 100644 index d6e81ae9b5f..00000000000 --- a/tests/baselines/reference/importHelpersVerbatimModuleSyntax.errors.txt +++ /dev/null @@ -1,48 +0,0 @@ -/main.cts(2,19): error TS2343: This syntax requires an imported helper named '__rest' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. - - -==== /node_modules/tslib/package.json (0 errors) ==== - { - "name": "tslib", - "main": "tslib.js", - "module": "tslib.es6.js", - "jsnext:main": "tslib.es6.js", - "typings": "tslib.d.ts", - "exports": { - ".": { - "module": { - "types": "./modules/index.d.ts", - "default": "./tslib.es6.mjs" - }, - "import": { - "node": "./modules/index.js", - "default": { - "types": "./modules/index.d.ts", - "default": "./tslib.es6.mjs" - } - }, - "default": "./tslib.js" - }, - "./*": "./*", - "./": "./" - } - } - -==== /node_modules/tslib/tslib.d.ts (0 errors) ==== - export declare var __rest: any; - -==== /node_modules/tslib/modules/package.json (0 errors) ==== - { "type": "module" } - -==== /node_modules/tslib/modules/index.d.ts (0 errors) ==== - export {}; - -==== /main.cts (1 errors) ==== - function foo(args: any) { - const { bar, ...extraArgs } = args; - ~~~~~~~~~ -!!! error TS2343: This syntax requires an imported helper named '__rest' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. - return extraArgs; - } - export = foo; - \ No newline at end of file diff --git a/tests/baselines/reference/importHelpersVerbatimModuleSyntax.types b/tests/baselines/reference/importHelpersVerbatimModuleSyntax.types index 4c8ec4d0a3d..e2f4ec6eefe 100644 --- a/tests/baselines/reference/importHelpersVerbatimModuleSyntax.types +++ b/tests/baselines/reference/importHelpersVerbatimModuleSyntax.types @@ -3,7 +3,6 @@ === /node_modules/tslib/tslib.d.ts === export declare var __rest: any; >__rest : any -> : ^^^ === /node_modules/tslib/modules/index.d.ts === @@ -14,7 +13,6 @@ function foo(args: any) { >foo : (args: any) => any > : ^ ^^ ^^^^^^^^ >args : any -> : ^^^ const { bar, ...extraArgs } = args; >bar : any @@ -22,11 +20,9 @@ function foo(args: any) { >extraArgs : any > : ^^^ >args : any -> : ^^^ return extraArgs; >extraArgs : any -> : ^^^ } export = foo; >foo : (args: any) => any diff --git a/tests/baselines/reference/importMeta(module=commonjs,target=es5).js b/tests/baselines/reference/importMeta(module=commonjs,target=es5).js index f2728bb75ae..6d5e4033ca0 100644 --- a/tests/baselines/reference/importMeta(module=commonjs,target=es5).js +++ b/tests/baselines/reference/importMeta(module=commonjs,target=es5).js @@ -50,8 +50,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importMeta(module=es2020,target=es5).js b/tests/baselines/reference/importMeta(module=es2020,target=es5).js index 7cdf12ba8fe..03e7011012f 100644 --- a/tests/baselines/reference/importMeta(module=es2020,target=es5).js +++ b/tests/baselines/reference/importMeta(module=es2020,target=es5).js @@ -49,8 +49,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importMeta(module=esnext,target=es5).js b/tests/baselines/reference/importMeta(module=esnext,target=es5).js index 7cdf12ba8fe..03e7011012f 100644 --- a/tests/baselines/reference/importMeta(module=esnext,target=es5).js +++ b/tests/baselines/reference/importMeta(module=esnext,target=es5).js @@ -49,8 +49,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/importMeta(module=system,target=es5).js b/tests/baselines/reference/importMeta(module=system,target=es5).js index 2be9428dee7..b854483f66f 100644 --- a/tests/baselines/reference/importMeta(module=system,target=es5).js +++ b/tests/baselines/reference/importMeta(module=system,target=es5).js @@ -51,8 +51,8 @@ System.register([], function (exports_1, context_1) { }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/indirectGlobalSymbolPartOfObjectType.types b/tests/baselines/reference/indirectGlobalSymbolPartOfObjectType.types index 65c655b1ea3..56cc1e8004b 100644 --- a/tests/baselines/reference/indirectGlobalSymbolPartOfObjectType.types +++ b/tests/baselines/reference/indirectGlobalSymbolPartOfObjectType.types @@ -13,8 +13,8 @@ const Symbol = globalThis.Symbol; > : ^^^^^^^^^^^^^^^^^ [][Symbol.iterator]; ->[][Symbol.iterator] : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[][Symbol.iterator] : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >[] : undefined[] > : ^^^^^^^^^^^ >Symbol.iterator : unique symbol diff --git a/tests/baselines/reference/inferFromGenericFunctionReturnTypes3.types b/tests/baselines/reference/inferFromGenericFunctionReturnTypes3.types index c4a3eace144..e20de1c2bbd 100644 --- a/tests/baselines/reference/inferFromGenericFunctionReturnTypes3.types +++ b/tests/baselines/reference/inferFromGenericFunctionReturnTypes3.types @@ -1,5 +1,8 @@ //// [tests/cases/compiler/inferFromGenericFunctionReturnTypes3.ts] //// +=== Performance Stats === +Type Count: 1,000 + === inferFromGenericFunctionReturnTypes3.ts === // Repros from #5487 diff --git a/tests/baselines/reference/inlayHintsInferredTypePredicate1.baseline b/tests/baselines/reference/inlayHintsInferredTypePredicate1.baseline new file mode 100644 index 00000000000..df607df5111 --- /dev/null +++ b/tests/baselines/reference/inlayHintsInferredTypePredicate1.baseline @@ -0,0 +1,9 @@ +// === Inlay Hints === +function test(x: unknown) { + ^ +{ + "text": ": x is number", + "position": 25, + "kind": "Type", + "whitespaceBefore": true +} \ No newline at end of file diff --git a/tests/baselines/reference/inlayHintsInteractiveInferredTypePredicate1.baseline b/tests/baselines/reference/inlayHintsInteractiveInferredTypePredicate1.baseline new file mode 100644 index 00000000000..7bc4345bf09 --- /dev/null +++ b/tests/baselines/reference/inlayHintsInteractiveInferredTypePredicate1.baseline @@ -0,0 +1,23 @@ +// === Inlay Hints === +function test(x: unknown) { + ^ +{ + "text": "", + "displayParts": [ + { + "text": ": " + }, + { + "text": "x" + }, + { + "text": " is " + }, + { + "text": "number" + } + ], + "position": 25, + "kind": "Type", + "whitespaceBefore": true +} \ No newline at end of file diff --git a/tests/baselines/reference/invalidContinueInDownlevelAsync.js b/tests/baselines/reference/invalidContinueInDownlevelAsync.js index 1bf7a7a88e5..7aa96b7fc6c 100644 --- a/tests/baselines/reference/invalidContinueInDownlevelAsync.js +++ b/tests/baselines/reference/invalidContinueInDownlevelAsync.js @@ -21,8 +21,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/isolatedDeclarationErrorsAugmentation.types b/tests/baselines/reference/isolatedDeclarationErrorsAugmentation.types index a8186114cc0..7dd57f78696 100644 --- a/tests/baselines/reference/isolatedDeclarationErrorsAugmentation.types +++ b/tests/baselines/reference/isolatedDeclarationErrorsAugmentation.types @@ -52,7 +52,7 @@ export function child1(prototype: ParentThing) { === parent.ts === import { child1 } from './child1'; // this import should still exist in some form in the output, since it augments this module >child1 : (prototype: ParentThing) => void -> : ^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^ export class ParentThing implements ParentThing {} >ParentThing : ParentThing @@ -62,7 +62,7 @@ child1(ParentThing.prototype); >child1(ParentThing.prototype) : void > : ^^^^ >child1 : (prototype: ParentThing) => void -> : ^ ^^^^^^^^^^^^^^^^^^^^^^ +> : ^ ^^ ^^^^^^^^^ >ParentThing.prototype : ParentThing > : ^^^^^^^^^^^ >ParentThing : typeof ParentThing diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).js b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).js index b79d0bfee7f..9a580420329 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).js +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).js @@ -37,9 +37,9 @@ class MyMap implements Map { get(key: string): number | undefined { return undefined; } has(key: string): boolean { return false; } set(key: string, value: number): this { return this; } - entries(): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } - keys(): BuiltinIterator { throw new Error("Method not implemented."); } - [Symbol.iterator](): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } + entries(): MapIterator<[string, number]> { throw new Error("Method not implemented."); } + keys(): MapIterator { throw new Error("Method not implemented."); } + [Symbol.iterator](): MapIterator<[string, number]> { throw new Error("Method not implemented."); } // error when strictBuiltinIteratorReturn is true because values() has implicit `void` return, which isn't assignable to `undefined` * values() { diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols index c1e1de41c30..1806f8d6458 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).symbols @@ -118,30 +118,27 @@ class MyMap implements Map { >value : Symbol(value, Decl(iterableTReturnTNext.ts, 35, 20)) >this : Symbol(MyMap, Decl(iterableTReturnTNext.ts, 21, 57)) - entries(): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } + entries(): MapIterator<[string, number]> { throw new Error("Method not implemented."); } >entries : Symbol(MyMap.entries, Decl(iterableTReturnTNext.ts, 35, 58)) ->BuiltinIterator : Symbol(BuiltinIterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->BuiltinIteratorReturn : Symbol(BuiltinIteratorReturn, Decl(lib.es2015.iterable.d.ts, --, --)) +>MapIterator : Symbol(MapIterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.error.d.ts, --, --)) - keys(): BuiltinIterator { throw new Error("Method not implemented."); } ->keys : Symbol(MyMap.keys, Decl(iterableTReturnTNext.ts, 36, 119)) ->BuiltinIterator : Symbol(BuiltinIterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->BuiltinIteratorReturn : Symbol(BuiltinIteratorReturn, Decl(lib.es2015.iterable.d.ts, --, --)) + keys(): MapIterator { throw new Error("Method not implemented."); } +>keys : Symbol(MyMap.keys, Decl(iterableTReturnTNext.ts, 36, 92)) +>MapIterator : Symbol(MapIterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.error.d.ts, --, --)) - [Symbol.iterator](): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } ->[Symbol.iterator] : Symbol(MyMap[Symbol.iterator], Decl(iterableTReturnTNext.ts, 37, 106)) + [Symbol.iterator](): MapIterator<[string, number]> { throw new Error("Method not implemented."); } +>[Symbol.iterator] : Symbol(MyMap[Symbol.iterator], Decl(iterableTReturnTNext.ts, 37, 79)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) ->BuiltinIterator : Symbol(BuiltinIterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->BuiltinIteratorReturn : Symbol(BuiltinIteratorReturn, Decl(lib.es2015.iterable.d.ts, --, --)) +>MapIterator : Symbol(MapIterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.error.d.ts, --, --)) // error when strictBuiltinIteratorReturn is true because values() has implicit `void` return, which isn't assignable to `undefined` * values() { ->values : Symbol(MyMap.values, Decl(iterableTReturnTNext.ts, 38, 129)) +>values : Symbol(MyMap.values, Decl(iterableTReturnTNext.ts, 38, 102)) yield* this._values; >this._values : Symbol(MyMap._values, Decl(iterableTReturnTNext.ts, 25, 36)) diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).types b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).types index 64293b894db..881e9e6a2af 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).types +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=false).types @@ -18,18 +18,18 @@ const r1: number = map.values().next().value; // error when strictBuiltinIterato >map.values().next().value : any >map.values().next() : IteratorResult > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values().next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.values().next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.values() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : any > : ^^^ @@ -48,18 +48,18 @@ const r2: Next = map.values().next(); // error when strictBuiltinIterato > : ^^^^^^^^^^^^ >map.values().next() : IteratorResult > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values().next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.values().next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.values() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // based on: https://github.com/graphql/graphql-js/blob/e15c3ec4dc21d9fd1df34fe9798cadf3bf02c6ea/src/execution/__tests__/mapAsyncIterable-test.ts#L175 async function* source() { yield 1; yield 2; yield 3; } @@ -100,18 +100,18 @@ const r3: number | undefined = set.values().next().value; >set.values().next().value : any >set.values().next() : IteratorResult > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values().next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>set.values().next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>set.values() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.values : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : any > : ^^^ @@ -193,9 +193,9 @@ class MyMap implements Map { >this : this > : ^^^^ - entries(): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } ->entries : () => BuiltinIterator<[string, number], BuiltinIteratorReturn> -> : ^^^^^^ + entries(): MapIterator<[string, number]> { throw new Error("Method not implemented."); } +>entries : () => MapIterator<[string, number]> +> : ^^^^^^ >new Error("Method not implemented.") : Error > : ^^^^^ >Error : ErrorConstructor @@ -203,9 +203,9 @@ class MyMap implements Map { >"Method not implemented." : "Method not implemented." > : ^^^^^^^^^^^^^^^^^^^^^^^^^ - keys(): BuiltinIterator { throw new Error("Method not implemented."); } ->keys : () => BuiltinIterator -> : ^^^^^^ + keys(): MapIterator { throw new Error("Method not implemented."); } +>keys : () => MapIterator +> : ^^^^^^ >new Error("Method not implemented.") : Error > : ^^^^^ >Error : ErrorConstructor @@ -213,9 +213,9 @@ class MyMap implements Map { >"Method not implemented." : "Method not implemented." > : ^^^^^^^^^^^^^^^^^^^^^^^^^ - [Symbol.iterator](): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } ->[Symbol.iterator] : () => BuiltinIterator<[string, number], BuiltinIteratorReturn> -> : ^^^^^^ + [Symbol.iterator](): MapIterator<[string, number]> { throw new Error("Method not implemented."); } +>[Symbol.iterator] : () => MapIterator<[string, number]> +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -231,8 +231,8 @@ class MyMap implements Map { // error when strictBuiltinIteratorReturn is true because values() has implicit `void` return, which isn't assignable to `undefined` * values() { ->values : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* this._values; >yield* this._values : any diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).errors.txt b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).errors.txt index 4912e19f699..00a1ae1a8d3 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).errors.txt +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).errors.txt @@ -5,8 +5,8 @@ iterableTReturnTNext.ts(14,7): error TS2322: Type 'IteratorResult'. - Type '() => Generator' is not assignable to type '() => BuiltinIterator'. - Call signature return types 'Generator' and 'BuiltinIterator' are incompatible. + Type '() => Generator' is not assignable to type '() => MapIterator'. + Call signature return types 'Generator' and 'MapIterator' are incompatible. The types returned by 'next(...)' are incompatible between these types. Type 'IteratorResult' is not assignable to type 'IteratorResult'. Type 'IteratorReturnResult' is not assignable to type 'IteratorResult'. @@ -59,16 +59,16 @@ iterableTReturnTNext.ts(42,7): error TS2416: Property 'values' in type 'MyMap' i get(key: string): number | undefined { return undefined; } has(key: string): boolean { return false; } set(key: string, value: number): this { return this; } - entries(): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } - keys(): BuiltinIterator { throw new Error("Method not implemented."); } - [Symbol.iterator](): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } + entries(): MapIterator<[string, number]> { throw new Error("Method not implemented."); } + keys(): MapIterator { throw new Error("Method not implemented."); } + [Symbol.iterator](): MapIterator<[string, number]> { throw new Error("Method not implemented."); } // error when strictBuiltinIteratorReturn is true because values() has implicit `void` return, which isn't assignable to `undefined` * values() { ~~~~~~ !!! error TS2416: Property 'values' in type 'MyMap' is not assignable to the same property in base type 'Map'. -!!! error TS2416: Type '() => Generator' is not assignable to type '() => BuiltinIterator'. -!!! error TS2416: Call signature return types 'Generator' and 'BuiltinIterator' are incompatible. +!!! error TS2416: Type '() => Generator' is not assignable to type '() => MapIterator'. +!!! error TS2416: Call signature return types 'Generator' and 'MapIterator' are incompatible. !!! error TS2416: The types returned by 'next(...)' are incompatible between these types. !!! error TS2416: Type 'IteratorResult' is not assignable to type 'IteratorResult'. !!! error TS2416: Type 'IteratorReturnResult' is not assignable to type 'IteratorResult'. diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).js b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).js index b79d0bfee7f..9a580420329 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).js +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).js @@ -37,9 +37,9 @@ class MyMap implements Map { get(key: string): number | undefined { return undefined; } has(key: string): boolean { return false; } set(key: string, value: number): this { return this; } - entries(): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } - keys(): BuiltinIterator { throw new Error("Method not implemented."); } - [Symbol.iterator](): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } + entries(): MapIterator<[string, number]> { throw new Error("Method not implemented."); } + keys(): MapIterator { throw new Error("Method not implemented."); } + [Symbol.iterator](): MapIterator<[string, number]> { throw new Error("Method not implemented."); } // error when strictBuiltinIteratorReturn is true because values() has implicit `void` return, which isn't assignable to `undefined` * values() { diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols index c1e1de41c30..1806f8d6458 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).symbols @@ -118,30 +118,27 @@ class MyMap implements Map { >value : Symbol(value, Decl(iterableTReturnTNext.ts, 35, 20)) >this : Symbol(MyMap, Decl(iterableTReturnTNext.ts, 21, 57)) - entries(): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } + entries(): MapIterator<[string, number]> { throw new Error("Method not implemented."); } >entries : Symbol(MyMap.entries, Decl(iterableTReturnTNext.ts, 35, 58)) ->BuiltinIterator : Symbol(BuiltinIterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->BuiltinIteratorReturn : Symbol(BuiltinIteratorReturn, Decl(lib.es2015.iterable.d.ts, --, --)) +>MapIterator : Symbol(MapIterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.error.d.ts, --, --)) - keys(): BuiltinIterator { throw new Error("Method not implemented."); } ->keys : Symbol(MyMap.keys, Decl(iterableTReturnTNext.ts, 36, 119)) ->BuiltinIterator : Symbol(BuiltinIterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->BuiltinIteratorReturn : Symbol(BuiltinIteratorReturn, Decl(lib.es2015.iterable.d.ts, --, --)) + keys(): MapIterator { throw new Error("Method not implemented."); } +>keys : Symbol(MyMap.keys, Decl(iterableTReturnTNext.ts, 36, 92)) +>MapIterator : Symbol(MapIterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.error.d.ts, --, --)) - [Symbol.iterator](): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } ->[Symbol.iterator] : Symbol(MyMap[Symbol.iterator], Decl(iterableTReturnTNext.ts, 37, 106)) + [Symbol.iterator](): MapIterator<[string, number]> { throw new Error("Method not implemented."); } +>[Symbol.iterator] : Symbol(MyMap[Symbol.iterator], Decl(iterableTReturnTNext.ts, 37, 79)) >Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) >iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --)) ->BuiltinIterator : Symbol(BuiltinIterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) ->BuiltinIteratorReturn : Symbol(BuiltinIteratorReturn, Decl(lib.es2015.iterable.d.ts, --, --)) +>MapIterator : Symbol(MapIterator, Decl(lib.es2015.iterable.d.ts, --, --)) >Error : Symbol(Error, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2022.error.d.ts, --, --)) // error when strictBuiltinIteratorReturn is true because values() has implicit `void` return, which isn't assignable to `undefined` * values() { ->values : Symbol(MyMap.values, Decl(iterableTReturnTNext.ts, 38, 129)) +>values : Symbol(MyMap.values, Decl(iterableTReturnTNext.ts, 38, 102)) yield* this._values; >this._values : Symbol(MyMap._values, Decl(iterableTReturnTNext.ts, 25, 36)) diff --git a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).types b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).types index 71a1e6da575..a18a9d65133 100644 --- a/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).types +++ b/tests/baselines/reference/iterableTReturnTNext(strictbuiltiniteratorreturn=true).types @@ -19,18 +19,18 @@ const r1: number = map.values().next().value; // error when strictBuiltinIterato > : ^^^^^^^^^^^^^^^^^^ >map.values().next() : IteratorResult > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values().next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.values().next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.values() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : number | undefined > : ^^^^^^^^^^^^^^^^^^ @@ -49,18 +49,18 @@ const r2: Next = map.values().next(); // error when strictBuiltinIterato > : ^^^^^^^^^^^^ >map.values().next() : IteratorResult > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values().next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->map.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.values().next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>map.values() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>map.values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >map : Map > : ^^^^^^^^^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // based on: https://github.com/graphql/graphql-js/blob/e15c3ec4dc21d9fd1df34fe9798cadf3bf02c6ea/src/execution/__tests__/mapAsyncIterable-test.ts#L175 async function* source() { yield 1; yield 2; yield 3; } @@ -105,18 +105,18 @@ const r3: number | undefined = set.values().next().value; > : ^^^^^^^^^^^^^^^^^^ >set.values().next() : IteratorResult > : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values().next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->set.values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>set.values().next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>set.values() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>set.values : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >set : Set > : ^^^^^^^^^^^ ->values : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->next : (...[value]: [] | [any]) => IteratorResult -> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>next : (...[value]: [] | [unknown]) => IteratorResult +> : ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >value : number | undefined > : ^^^^^^^^^^^^^^^^^^ @@ -199,9 +199,9 @@ class MyMap implements Map { >this : this > : ^^^^ - entries(): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } ->entries : () => BuiltinIterator<[string, number], BuiltinIteratorReturn> -> : ^^^^^^ + entries(): MapIterator<[string, number]> { throw new Error("Method not implemented."); } +>entries : () => MapIterator<[string, number]> +> : ^^^^^^ >new Error("Method not implemented.") : Error > : ^^^^^ >Error : ErrorConstructor @@ -209,9 +209,9 @@ class MyMap implements Map { >"Method not implemented." : "Method not implemented." > : ^^^^^^^^^^^^^^^^^^^^^^^^^ - keys(): BuiltinIterator { throw new Error("Method not implemented."); } ->keys : () => BuiltinIterator -> : ^^^^^^ + keys(): MapIterator { throw new Error("Method not implemented."); } +>keys : () => MapIterator +> : ^^^^^^ >new Error("Method not implemented.") : Error > : ^^^^^ >Error : ErrorConstructor @@ -219,9 +219,9 @@ class MyMap implements Map { >"Method not implemented." : "Method not implemented." > : ^^^^^^^^^^^^^^^^^^^^^^^^^ - [Symbol.iterator](): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } ->[Symbol.iterator] : () => BuiltinIterator<[string, number], BuiltinIteratorReturn> -> : ^^^^^^ + [Symbol.iterator](): MapIterator<[string, number]> { throw new Error("Method not implemented."); } +>[Symbol.iterator] : () => MapIterator<[string, number]> +> : ^^^^^^ >Symbol.iterator : unique symbol > : ^^^^^^^^^^^^^ >Symbol : SymbolConstructor @@ -237,8 +237,8 @@ class MyMap implements Map { // error when strictBuiltinIteratorReturn is true because values() has implicit `void` return, which isn't assignable to `undefined` * values() { ->values : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>values : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* this._values; >yield* this._values : undefined diff --git a/tests/baselines/reference/jsFileCompilationAwaitModifier.js b/tests/baselines/reference/jsFileCompilationAwaitModifier.js index 148037d7006..92361660afc 100644 --- a/tests/baselines/reference/jsFileCompilationAwaitModifier.js +++ b/tests/baselines/reference/jsFileCompilationAwaitModifier.js @@ -23,8 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/jsxElementType.js b/tests/baselines/reference/jsxElementType.js index b2864d2740c..6d8349d5472 100644 --- a/tests/baselines/reference/jsxElementType.js +++ b/tests/baselines/reference/jsxElementType.js @@ -141,8 +141,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react).js b/tests/baselines/reference/jsxRuntimePragma(jsx=react).js new file mode 100644 index 00000000000..82c052f0224 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react).js @@ -0,0 +1,92 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +//// [one.tsx] +/// +/* @jsxRuntime classic */ +import * as React from "react"; +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [two.tsx] +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [three.tsx] +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [four.tsx] +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [index.ts] +export * as one from "./one.js"; +export * as two from "./two.js"; +export * as three from "./three.js"; +export * as four from "./four.js"; + +//// [one.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +/// +/* @jsxRuntime classic */ +var React = require("react"); +var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); }; +exports.HelloWorld = HelloWorld; +exports.frag = React.createElement(React.Fragment, null, + React.createElement("div", null)); +exports.selfClosing = React.createElement("img", { src: "./image.png" }); +//// [two.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +var jsx_runtime_1 = require("react/jsx-runtime"); +/// +/* @jsxRuntime automatic */ +var HelloWorld = function () { return (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" }); }; +exports.HelloWorld = HelloWorld; +exports.frag = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", {}) }); +exports.selfClosing = (0, jsx_runtime_1.jsx)("img", { src: "./image.png" }); +//// [three.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +var jsx_runtime_1 = require("react/jsx-runtime"); +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +var HelloWorld = function () { return (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" }); }; +exports.HelloWorld = HelloWorld; +exports.frag = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", {}) }); +exports.selfClosing = (0, jsx_runtime_1.jsx)("img", { src: "./image.png" }); +//// [four.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +var React = require("react"); +var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); }; +exports.HelloWorld = HelloWorld; +exports.frag = React.createElement(React.Fragment, null, + React.createElement("div", null)); +exports.selfClosing = React.createElement("img", { src: "./image.png" }); +//// [index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.four = exports.three = exports.two = exports.one = void 0; +exports.one = require("./one.js"); +exports.two = require("./two.js"); +exports.three = require("./three.js"); +exports.four = require("./four.js"); diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react).symbols b/tests/baselines/reference/jsxRuntimePragma(jsx=react).symbols new file mode 100644 index 00000000000..0060411a1a9 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react).symbols @@ -0,0 +1,95 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +=== one.tsx === +/// +/* @jsxRuntime classic */ +import * as React from "react"; +>React : Symbol(React, Decl(one.tsx, 2, 6)) + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(one.tsx, 3, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(one.tsx, 4, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(one.tsx, 5, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(one.tsx, 5, 31)) + +=== two.tsx === +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(two.tsx, 2, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(two.tsx, 3, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(two.tsx, 4, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(two.tsx, 4, 31)) + +=== three.tsx === +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(three.tsx, 3, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(three.tsx, 4, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(three.tsx, 5, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(three.tsx, 5, 31)) + +=== four.tsx === +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +>React : Symbol(React, Decl(four.tsx, 3, 6)) + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(four.tsx, 4, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(four.tsx, 5, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(four.tsx, 6, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(four.tsx, 6, 31)) + +=== index.ts === +export * as one from "./one.js"; +>one : Symbol(one, Decl(index.ts, 0, 6)) + +export * as two from "./two.js"; +>two : Symbol(two, Decl(index.ts, 1, 6)) + +export * as three from "./three.js"; +>three : Symbol(three, Decl(index.ts, 2, 6)) + +export * as four from "./four.js"; +>four : Symbol(four, Decl(index.ts, 3, 6)) + diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react).types b/tests/baselines/reference/jsxRuntimePragma(jsx=react).types new file mode 100644 index 00000000000..87eb419fb53 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react).types @@ -0,0 +1,183 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +=== Performance Stats === +Assignability cache: 2,500 +Type Count: 5,000 +Instantiation count: 50,000 +Symbol count: 50,000 + +=== one.tsx === +/// +/* @jsxRuntime classic */ +import * as React from "react"; +>React : typeof React +> : ^^^^^^^^^^^^ + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== two.tsx === +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== three.tsx === +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== four.tsx === +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +>React : typeof React +> : ^^^^^^^^^^^^ + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== index.ts === +export * as one from "./one.js"; +>one : typeof import("one") +> : ^^^^^^^^^^^^^^^^^^^^ + +export * as two from "./two.js"; +>two : typeof import("two") +> : ^^^^^^^^^^^^^^^^^^^^ + +export * as three from "./three.js"; +>three : typeof import("three") +> : ^^^^^^^^^^^^^^^^^^^^^^ + +export * as four from "./four.js"; +>four : typeof import("four") +> : ^^^^^^^^^^^^^^^^^^^^^ + diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).js b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).js new file mode 100644 index 00000000000..82c052f0224 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).js @@ -0,0 +1,92 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +//// [one.tsx] +/// +/* @jsxRuntime classic */ +import * as React from "react"; +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [two.tsx] +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [three.tsx] +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [four.tsx] +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [index.ts] +export * as one from "./one.js"; +export * as two from "./two.js"; +export * as three from "./three.js"; +export * as four from "./four.js"; + +//// [one.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +/// +/* @jsxRuntime classic */ +var React = require("react"); +var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); }; +exports.HelloWorld = HelloWorld; +exports.frag = React.createElement(React.Fragment, null, + React.createElement("div", null)); +exports.selfClosing = React.createElement("img", { src: "./image.png" }); +//// [two.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +var jsx_runtime_1 = require("react/jsx-runtime"); +/// +/* @jsxRuntime automatic */ +var HelloWorld = function () { return (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" }); }; +exports.HelloWorld = HelloWorld; +exports.frag = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", {}) }); +exports.selfClosing = (0, jsx_runtime_1.jsx)("img", { src: "./image.png" }); +//// [three.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +var jsx_runtime_1 = require("react/jsx-runtime"); +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +var HelloWorld = function () { return (0, jsx_runtime_1.jsx)("h1", { children: "Hello world" }); }; +exports.HelloWorld = HelloWorld; +exports.frag = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", {}) }); +exports.selfClosing = (0, jsx_runtime_1.jsx)("img", { src: "./image.png" }); +//// [four.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +var React = require("react"); +var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); }; +exports.HelloWorld = HelloWorld; +exports.frag = React.createElement(React.Fragment, null, + React.createElement("div", null)); +exports.selfClosing = React.createElement("img", { src: "./image.png" }); +//// [index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.four = exports.three = exports.two = exports.one = void 0; +exports.one = require("./one.js"); +exports.two = require("./two.js"); +exports.three = require("./three.js"); +exports.four = require("./four.js"); diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).symbols b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).symbols new file mode 100644 index 00000000000..0060411a1a9 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).symbols @@ -0,0 +1,95 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +=== one.tsx === +/// +/* @jsxRuntime classic */ +import * as React from "react"; +>React : Symbol(React, Decl(one.tsx, 2, 6)) + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(one.tsx, 3, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(one.tsx, 4, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(one.tsx, 5, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(one.tsx, 5, 31)) + +=== two.tsx === +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(two.tsx, 2, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(two.tsx, 3, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(two.tsx, 4, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(two.tsx, 4, 31)) + +=== three.tsx === +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(three.tsx, 3, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(three.tsx, 4, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(three.tsx, 5, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(three.tsx, 5, 31)) + +=== four.tsx === +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +>React : Symbol(React, Decl(four.tsx, 3, 6)) + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(four.tsx, 4, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(four.tsx, 5, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(four.tsx, 6, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(four.tsx, 6, 31)) + +=== index.ts === +export * as one from "./one.js"; +>one : Symbol(one, Decl(index.ts, 0, 6)) + +export * as two from "./two.js"; +>two : Symbol(two, Decl(index.ts, 1, 6)) + +export * as three from "./three.js"; +>three : Symbol(three, Decl(index.ts, 2, 6)) + +export * as four from "./four.js"; +>four : Symbol(four, Decl(index.ts, 3, 6)) + diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).types b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).types new file mode 100644 index 00000000000..87eb419fb53 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsx).types @@ -0,0 +1,183 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +=== Performance Stats === +Assignability cache: 2,500 +Type Count: 5,000 +Instantiation count: 50,000 +Symbol count: 50,000 + +=== one.tsx === +/// +/* @jsxRuntime classic */ +import * as React from "react"; +>React : typeof React +> : ^^^^^^^^^^^^ + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== two.tsx === +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== three.tsx === +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== four.tsx === +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +>React : typeof React +> : ^^^^^^^^^^^^ + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== index.ts === +export * as one from "./one.js"; +>one : typeof import("one") +> : ^^^^^^^^^^^^^^^^^^^^ + +export * as two from "./two.js"; +>two : typeof import("two") +> : ^^^^^^^^^^^^^^^^^^^^ + +export * as three from "./three.js"; +>three : typeof import("three") +> : ^^^^^^^^^^^^^^^^^^^^^^ + +export * as four from "./four.js"; +>four : typeof import("four") +> : ^^^^^^^^^^^^^^^^^^^^^ + diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).js b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).js new file mode 100644 index 00000000000..f58c54d25f1 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).js @@ -0,0 +1,96 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +//// [one.tsx] +/// +/* @jsxRuntime classic */ +import * as React from "react"; +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [two.tsx] +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [three.tsx] +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [four.tsx] +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +//// [index.ts] +export * as one from "./one.js"; +export * as two from "./two.js"; +export * as three from "./three.js"; +export * as four from "./four.js"; + +//// [one.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +/// +/* @jsxRuntime classic */ +var React = require("react"); +var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); }; +exports.HelloWorld = HelloWorld; +exports.frag = React.createElement(React.Fragment, null, + React.createElement("div", null)); +exports.selfClosing = React.createElement("img", { src: "./image.png" }); +//// [two.js] +"use strict"; +var _this = this; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +var jsx_dev_runtime_1 = require("react/jsx-dev-runtime"); +var _jsxFileName = "two.tsx"; +/// +/* @jsxRuntime automatic */ +var HelloWorld = function () { return (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: "Hello world" }, void 0, false, { fileName: _jsxFileName, lineNumber: 3, columnNumber: 32 }, _this); }; +exports.HelloWorld = HelloWorld; +exports.frag = (0, jsx_dev_runtime_1.jsxDEV)(jsx_dev_runtime_1.Fragment, { children: (0, jsx_dev_runtime_1.jsxDEV)("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 4, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 4, columnNumber: 20 }, this); +exports.selfClosing = (0, jsx_dev_runtime_1.jsxDEV)("img", { src: "./image.png" }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 27 }, this); +//// [three.js] +"use strict"; +var _this = this; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +var jsx_dev_runtime_1 = require("react/jsx-dev-runtime"); +var _jsxFileName = "three.tsx"; +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +var HelloWorld = function () { return (0, jsx_dev_runtime_1.jsxDEV)("h1", { children: "Hello world" }, void 0, false, { fileName: _jsxFileName, lineNumber: 4, columnNumber: 32 }, _this); }; +exports.HelloWorld = HelloWorld; +exports.frag = (0, jsx_dev_runtime_1.jsxDEV)(jsx_dev_runtime_1.Fragment, { children: (0, jsx_dev_runtime_1.jsxDEV)("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 5, columnNumber: 20 }, this); +exports.selfClosing = (0, jsx_dev_runtime_1.jsxDEV)("img", { src: "./image.png" }, void 0, false, { fileName: _jsxFileName, lineNumber: 6, columnNumber: 27 }, this); +//// [four.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.selfClosing = exports.frag = exports.HelloWorld = void 0; +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +var React = require("react"); +var HelloWorld = function () { return React.createElement("h1", null, "Hello world"); }; +exports.HelloWorld = HelloWorld; +exports.frag = React.createElement(React.Fragment, null, + React.createElement("div", null)); +exports.selfClosing = React.createElement("img", { src: "./image.png" }); +//// [index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.four = exports.three = exports.two = exports.one = void 0; +exports.one = require("./one.js"); +exports.two = require("./two.js"); +exports.three = require("./three.js"); +exports.four = require("./four.js"); diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).symbols b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).symbols new file mode 100644 index 00000000000..0060411a1a9 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).symbols @@ -0,0 +1,95 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +=== one.tsx === +/// +/* @jsxRuntime classic */ +import * as React from "react"; +>React : Symbol(React, Decl(one.tsx, 2, 6)) + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(one.tsx, 3, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(one.tsx, 4, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(one.tsx, 5, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(one.tsx, 5, 31)) + +=== two.tsx === +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(two.tsx, 2, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(two.tsx, 3, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(two.tsx, 4, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(two.tsx, 4, 31)) + +=== three.tsx === +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(three.tsx, 3, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(three.tsx, 4, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(three.tsx, 5, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(three.tsx, 5, 31)) + +=== four.tsx === +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +>React : Symbol(React, Decl(four.tsx, 3, 6)) + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : Symbol(HelloWorld, Decl(four.tsx, 4, 12)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) +>h1 : Symbol(JSX.IntrinsicElements.h1, Decl(react16.d.ts, 2556, 106)) + +export const frag = <>
; +>frag : Symbol(frag, Decl(four.tsx, 5, 12)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) +>div : Symbol(JSX.IntrinsicElements.div, Decl(react16.d.ts, 2546, 114)) + +export const selfClosing = ; +>selfClosing : Symbol(selfClosing, Decl(four.tsx, 6, 12)) +>img : Symbol(JSX.IntrinsicElements.img, Decl(react16.d.ts, 2569, 114)) +>src : Symbol(src, Decl(four.tsx, 6, 31)) + +=== index.ts === +export * as one from "./one.js"; +>one : Symbol(one, Decl(index.ts, 0, 6)) + +export * as two from "./two.js"; +>two : Symbol(two, Decl(index.ts, 1, 6)) + +export * as three from "./three.js"; +>three : Symbol(three, Decl(index.ts, 2, 6)) + +export * as four from "./four.js"; +>four : Symbol(four, Decl(index.ts, 3, 6)) + diff --git a/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).types b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).types new file mode 100644 index 00000000000..87eb419fb53 --- /dev/null +++ b/tests/baselines/reference/jsxRuntimePragma(jsx=react-jsxdev).types @@ -0,0 +1,183 @@ +//// [tests/cases/compiler/jsxRuntimePragma.ts] //// + +=== Performance Stats === +Assignability cache: 2,500 +Type Count: 5,000 +Instantiation count: 50,000 +Symbol count: 50,000 + +=== one.tsx === +/// +/* @jsxRuntime classic */ +import * as React from "react"; +>React : typeof React +> : ^^^^^^^^^^^^ + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== two.tsx === +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== three.tsx === +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== four.tsx === +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +>React : typeof React +> : ^^^^^^^^^^^^ + +export const HelloWorld = () =>

Hello world

; +>HelloWorld : () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>() =>

Hello world

: () => JSX.Element +> : ^^^^^^^^^^^^^^^^^ +>

Hello world

: JSX.Element +> : ^^^^^^^^^^^ +>h1 : any +> : ^^^ +>h1 : any +> : ^^^ + +export const frag = <>
; +>frag : JSX.Element +> : ^^^^^^^^^^^ +><>
: JSX.Element +> : ^^^^^^^^^^^ +>
: JSX.Element +> : ^^^^^^^^^^^ +>div : any +> : ^^^ +>div : any +> : ^^^ + +export const selfClosing = ; +>selfClosing : JSX.Element +> : ^^^^^^^^^^^ +> : JSX.Element +> : ^^^^^^^^^^^ +>img : any +> : ^^^ +>src : string +> : ^^^^^^ + +=== index.ts === +export * as one from "./one.js"; +>one : typeof import("one") +> : ^^^^^^^^^^^^^^^^^^^^ + +export * as two from "./two.js"; +>two : typeof import("two") +> : ^^^^^^^^^^^^^^^^^^^^ + +export * as three from "./three.js"; +>three : typeof import("three") +> : ^^^^^^^^^^^^^^^^^^^^^^ + +export * as four from "./four.js"; +>four : typeof import("four") +> : ^^^^^^^^^^^^^^^^^^^^^ + diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1.errors.txt b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1.errors.txt new file mode 100644 index 00000000000..35cdc3ccea0 --- /dev/null +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1.errors.txt @@ -0,0 +1,12 @@ +labeledStatementDeclarationListInLoopNoCrash1.ts(3,11): error TS1123: Variable declaration list cannot be empty. + + +==== labeledStatementDeclarationListInLoopNoCrash1.ts (1 errors) ==== + for (let x of []) { + var v0 = x; + foo: var; + +!!! error TS1123: Variable declaration list cannot be empty. + (function() { return x + v0}); + } + \ No newline at end of file diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1.js b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1.js new file mode 100644 index 00000000000..985b5ea0008 --- /dev/null +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash1.js @@ -0,0 +1,22 @@ +//// [tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash1.ts] //// + +//// [labeledStatementDeclarationListInLoopNoCrash1.ts] +for (let x of []) { + var v0 = x; + foo: var; + (function() { return x + v0}); +} + + +//// [labeledStatementDeclarationListInLoopNoCrash1.js] +"use strict"; +var _loop_1 = function (x) { + v0 = x; + foo: ; + (function () { return x + v0; }); +}; +var v0; +for (var _i = 0, _a = []; _i < _a.length; _i++) { + var x = _a[_i]; + _loop_1(x); +} diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash2.js b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash2.js new file mode 100644 index 00000000000..a95cecfa2f7 --- /dev/null +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash2.js @@ -0,0 +1,22 @@ +//// [tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash2.ts] //// + +//// [labeledStatementDeclarationListInLoopNoCrash2.ts] +for (let x of []) { + var v0 = x; + foo: var y; + (function() { return x + v0}); +} + + +//// [labeledStatementDeclarationListInLoopNoCrash2.js] +"use strict"; +var _loop_1 = function (x) { + v0 = x; + foo: ; + (function () { return x + v0; }); +}; +var v0, y; +for (var _i = 0, _a = []; _i < _a.length; _i++) { + var x = _a[_i]; + _loop_1(x); +} diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3.errors.txt b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3.errors.txt new file mode 100644 index 00000000000..075f135a3b8 --- /dev/null +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3.errors.txt @@ -0,0 +1,76 @@ +labeledStatementDeclarationListInLoopNoCrash3.ts(9,12): error TS2339: Property 'classFormat' does not exist on type 'ParseThemeData'. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,12): error TS1005: ',' expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,12): error TS2304: Cannot find name 'font'. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,21): error TS1005: ',' expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,23): error TS1135: Argument expression expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,26): error TS1134: Variable declaration expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,41): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,42): error TS1005: ')' expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,53): error TS2304: Cannot find name 'fontSize'. +labeledStatementDeclarationListInLoopNoCrash3.ts(15,61): error TS1005: ';' expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(16,12): error TS1005: ';' expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(16,23): error TS1134: Variable declaration expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(16,38): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. +labeledStatementDeclarationListInLoopNoCrash3.ts(16,39): error TS1005: ')' expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(16,50): error TS2304: Cannot find name 'height'. +labeledStatementDeclarationListInLoopNoCrash3.ts(16,56): error TS1005: ';' expected. +labeledStatementDeclarationListInLoopNoCrash3.ts(22,1): error TS1160: Unterminated template literal. + + +==== labeledStatementDeclarationListInLoopNoCrash3.ts (17 errors) ==== + // https://github.com/microsoft/TypeScript/issues/59345 + + export class ParseThemeData { + parseButton(button: any) { + const {type, size} = button; + for (let item of type) { + const fontType = item.type; + const style = (state: string) => `color: var(--button-${fontType}-${state}-font-color)`; + this.classFormat(`${style('active')}); + ~~~~~~~~~~~ +!!! error TS2339: Property 'classFormat' does not exist on type 'ParseThemeData'. + } + for (let item of size) { + const fontType = item.type; + this.classFormat( + [ + `font-size: var(--button-size-${fontType}-fontSize)`, + ~~~~ +!!! error TS1005: ',' expected. + ~~~~ +!!! error TS2304: Cannot find name 'font'. + ~ +!!! error TS1005: ',' expected. + ~~~ +!!! error TS1135: Argument expression expected. + ~ +!!! error TS1134: Variable declaration expected. + ~ +!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + ~ +!!! error TS1005: ')' expected. + ~~~~~~~~ +!!! error TS2304: Cannot find name 'fontSize'. + ~ +!!! error TS1005: ';' expected. + `height: var(--button-size-${fontType}-height)`, + ~~~~~~ +!!! error TS1005: ';' expected. + ~ +!!! error TS1134: Variable declaration expected. + ~ +!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + ~ +!!! error TS1005: ')' expected. + ~~~~~~ +!!! error TS2304: Cannot find name 'height'. + ~ +!!! error TS1005: ';' expected. + ].join(';') + ); + } + } + } + + +!!! error TS1160: Unterminated template literal. \ No newline at end of file diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3.js b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3.js new file mode 100644 index 00000000000..ee5a48513f0 --- /dev/null +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash3.js @@ -0,0 +1,63 @@ +//// [tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash3.ts] //// + +//// [labeledStatementDeclarationListInLoopNoCrash3.ts] +// https://github.com/microsoft/TypeScript/issues/59345 + +export class ParseThemeData { + parseButton(button: any) { + const {type, size} = button; + for (let item of type) { + const fontType = item.type; + const style = (state: string) => `color: var(--button-${fontType}-${state}-font-color)`; + this.classFormat(`${style('active')}); + } + for (let item of size) { + const fontType = item.type; + this.classFormat( + [ + `font-size: var(--button-size-${fontType}-fontSize)`, + `height: var(--button-size-${fontType}-height)`, + ].join(';') + ); + } + } +} + + +//// [labeledStatementDeclarationListInLoopNoCrash3.js] +"use strict"; +// https://github.com/microsoft/TypeScript/issues/59345 +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ParseThemeData = void 0; +var ParseThemeData = /** @class */ (function () { + function ParseThemeData() { + } + ParseThemeData.prototype.parseButton = function (button) { + var type = button.type, size = button.size; + var _loop_1 = function (item) { + var fontType = item.type; + var style = function (state) { return "color: var(--button-".concat(fontType, "-").concat(state, "-font-color)"); }; + this_1.classFormat("".concat(style('active'), ");\n }\n for (let item of size) {\n const fontType = item.type;\n this.classFormat(\n [\n "), font - size); + (--button - size - $); + { + fontType; + } + -fontSize; + ",\n "; + height: ; + (--button - size - $); + { + fontType; + } + -height; + ",\n ].join(';')\n );\n }\n }\n}\n"; + }; + var this_1 = this; + for (var _i = 0, type_1 = type; _i < type_1.length; _i++) { + var item = type_1[_i]; + _loop_1(item); + } + }; + return ParseThemeData; +}()); +exports.ParseThemeData = ParseThemeData; diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4.errors.txt b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4.errors.txt new file mode 100644 index 00000000000..8d20a6b2ac1 --- /dev/null +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4.errors.txt @@ -0,0 +1,72 @@ +labeledStatementDeclarationListInLoopNoCrash4.ts(7,12): error TS2339: Property 'classFormat' does not exist on type 'ParseThemeData'. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,12): error TS1005: ',' expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,12): error TS2304: Cannot find name 'font'. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,21): error TS1005: ',' expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,23): error TS1135: Argument expression expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,26): error TS1134: Variable declaration expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,41): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,42): error TS1005: ')' expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,53): error TS2304: Cannot find name 'fontSize'. +labeledStatementDeclarationListInLoopNoCrash4.ts(13,61): error TS1005: ';' expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(14,12): error TS1005: ';' expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(14,27): error TS1005: ',' expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(20,1): error TS1005: '}' expected. +labeledStatementDeclarationListInLoopNoCrash4.ts(20,1): error TS1160: Unterminated template literal. + + +==== labeledStatementDeclarationListInLoopNoCrash4.ts (14 errors) ==== + export class ParseThemeData { + parseButton(button: any) { + const {type, size} = button; + for (let item of type) { + const fontType = item.type; + const style = (state: string) => `color: var(--button-${fontType}-${state}-font-color)`; + this.classFormat(`${style('active')}); + ~~~~~~~~~~~ +!!! error TS2339: Property 'classFormat' does not exist on type 'ParseThemeData'. + } + for (let item of size) { + const fontType = item.type; + this.classFormat( + [ + `font-size: var(--button-size-${fontType}-fontSize)`, + ~~~~ +!!! error TS1005: ',' expected. + ~~~~ +!!! error TS2304: Cannot find name 'font'. + ~ +!!! error TS1005: ',' expected. + ~~~ +!!! error TS1135: Argument expression expected. + ~ +!!! error TS1134: Variable declaration expected. + ~ +!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + ~ +!!! error TS1005: ')' expected. + ~~~~~~~~ +!!! error TS2304: Cannot find name 'fontSize'. + ~ +!!! error TS1005: ';' expected. + `height: var foo`, + ~~~~~~ +!!! error TS1005: ';' expected. + ~~ + ].join(';') + ~~~~~~~~~~~~~~~~~~~ + ); + ~~~~~~~~ + } + ~~~~~ + } + ~~~ + } + ~ + + +!!! error TS1005: ',' expected. + +!!! error TS1005: '}' expected. +!!! related TS1007 labeledStatementDeclarationListInLoopNoCrash4.ts:4:28: The parser expected to find a '}' to match the '{' token here. + +!!! error TS1160: Unterminated template literal. \ No newline at end of file diff --git a/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4.js b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4.js new file mode 100644 index 00000000000..0ac3a9e0a34 --- /dev/null +++ b/tests/baselines/reference/labeledStatementDeclarationListInLoopNoCrash4.js @@ -0,0 +1,55 @@ +//// [tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash4.ts] //// + +//// [labeledStatementDeclarationListInLoopNoCrash4.ts] +export class ParseThemeData { + parseButton(button: any) { + const {type, size} = button; + for (let item of type) { + const fontType = item.type; + const style = (state: string) => `color: var(--button-${fontType}-${state}-font-color)`; + this.classFormat(`${style('active')}); + } + for (let item of size) { + const fontType = item.type; + this.classFormat( + [ + `font-size: var(--button-size-${fontType}-fontSize)`, + `height: var foo`, + ].join(';') + ); + } + } +} + + +//// [labeledStatementDeclarationListInLoopNoCrash4.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ParseThemeData = void 0; +var ParseThemeData = /** @class */ (function () { + function ParseThemeData() { + } + ParseThemeData.prototype.parseButton = function (button) { + var type = button.type, size = button.size; + var _loop_1 = function (item) { + var fontType = item.type; + var style = function (state) { return "color: var(--button-".concat(fontType, "-").concat(state, "-font-color)"); }; + this_1.classFormat("".concat(style('active'), ");\n }\n for (let item of size) {\n const fontType = item.type;\n this.classFormat(\n [\n "), font - size); + (--button - size - $); + { + fontType; + } + -fontSize; + ",\n "; + height: ; + ",\n ].join(';')\n );\n }\n }\n}\n"; + }; + var this_1 = this, foo; + for (var _i = 0, type_1 = type; _i < type_1.length; _i++) { + var item = type_1[_i]; + _loop_1(item); + } + }; + return ParseThemeData; +}()); +exports.ParseThemeData = ParseThemeData; diff --git a/tests/baselines/reference/labeledStatementWithLabel.js b/tests/baselines/reference/labeledStatementWithLabel.js index ba62abb97db..f384e217dbb 100644 --- a/tests/baselines/reference/labeledStatementWithLabel.js +++ b/tests/baselines/reference/labeledStatementWithLabel.js @@ -27,8 +27,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js index b78501533ba..b942776c844 100644 --- a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js +++ b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js @@ -43,8 +43,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/libTypeScriptOverrideSimple.trace.json b/tests/baselines/reference/libTypeScriptOverrideSimple.trace.json index cda94c2befb..d011d1e72a6 100644 --- a/tests/baselines/reference/libTypeScriptOverrideSimple.trace.json +++ b/tests/baselines/reference/libTypeScriptOverrideSimple.trace.json @@ -1,11 +1,15 @@ [ + "File '/node_modules/@typescript/lib-dom/package.json' does not exist.", + "File '/node_modules/@typescript/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'typescript__lib-dom'", - "File '/node_modules/@typescript/lib-dom/package.json' does not exist.", + "File '/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@typescript/lib-dom.ts' does not exist.", "File '/node_modules/@typescript/lib-dom.tsx' does not exist.", "File '/node_modules/@typescript/lib-dom.d.ts' does not exist.", diff --git a/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.trace.json b/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.trace.json index 8edd9669412..4e9750e7962 100644 --- a/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.trace.json +++ b/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.trace.json @@ -12,6 +12,11 @@ "File '/somepath/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/somepath/node_modules/@typescript/lib-dom/index.d.ts', result '/somepath/node_modules/@typescript/lib-dom/index.d.ts'.", "======== Module name '@typescript/lib-dom' was successfully resolved to '/somepath/node_modules/@typescript/lib-dom/index.d.ts'. ========", + "File '/somepath/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", + "File '/somepath/node_modules/@typescript/package.json' does not exist.", + "File '/somepath/node_modules/package.json' does not exist.", + "File '/somepath/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/somepath/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/libTypeScriptSubfileResolving.trace.json b/tests/baselines/reference/libTypeScriptSubfileResolving.trace.json index 306175b8fba..8d6499fb7d1 100644 --- a/tests/baselines/reference/libTypeScriptSubfileResolving.trace.json +++ b/tests/baselines/reference/libTypeScriptSubfileResolving.trace.json @@ -1,11 +1,19 @@ [ + "File '/node_modules/@typescript/lib-dom/package.json' does not exist.", + "File '/node_modules/@typescript/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", + "File '/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@typescript/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'typescript__lib-dom/iterable'", - "File '/node_modules/@typescript/lib-dom/package.json' does not exist.", + "File '/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@typescript/lib-dom/iterable.ts' does not exist.", "File '/node_modules/@typescript/lib-dom/iterable.tsx' does not exist.", "File '/node_modules/@typescript/lib-dom/iterable.d.ts' exists - use it as a name resolution result.", diff --git a/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.trace.json b/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.trace.json index 042ae9b8616..028c48daabc 100644 --- a/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.trace.json +++ b/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.trace.json @@ -9,6 +9,11 @@ "File '/somepath/node_modules/@typescript/lib-dom/iterable.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/somepath/node_modules/@typescript/lib-dom/iterable.d.ts', result '/somepath/node_modules/@typescript/lib-dom/iterable.d.ts'.", "======== Module name '@typescript/lib-dom/iterable' was successfully resolved to '/somepath/node_modules/@typescript/lib-dom/iterable.d.ts'. ========", + "File '/somepath/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", + "File '/somepath/node_modules/@typescript/package.json' does not exist.", + "File '/somepath/node_modules/package.json' does not exist.", + "File '/somepath/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/somepath/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,6 +73,11 @@ "File '/somepath/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/somepath/node_modules/@typescript/lib-dom/index.d.ts', result '/somepath/node_modules/@typescript/lib-dom/index.d.ts'.", "======== Module name '@typescript/lib-dom' was successfully resolved to '/somepath/node_modules/@typescript/lib-dom/index.d.ts'. ========", + "File '/somepath/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", + "File '/somepath/node_modules/@typescript/package.json' does not exist according to earlier cached lookups.", + "File '/somepath/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/somepath/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/somepath/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/library-reference-11.trace.json b/tests/baselines/reference/library-reference-11.trace.json index db45efcb8ec..b6d572abc80 100644 --- a/tests/baselines/reference/library-reference-11.trace.json +++ b/tests/baselines/reference/library-reference-11.trace.json @@ -12,6 +12,7 @@ "File '/a/node_modules/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/node_modules/jquery/jquery.d.ts', result '/a/node_modules/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/a/node_modules/jquery/jquery.d.ts', primary: false. ========", + "File '/a/node_modules/jquery/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/library-reference-12.trace.json b/tests/baselines/reference/library-reference-12.trace.json index 713d17764d9..2f382543420 100644 --- a/tests/baselines/reference/library-reference-12.trace.json +++ b/tests/baselines/reference/library-reference-12.trace.json @@ -13,6 +13,8 @@ "File '/a/node_modules/jquery/dist/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/node_modules/jquery/dist/jquery.d.ts', result '/a/node_modules/jquery/dist/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/a/node_modules/jquery/dist/jquery.d.ts', primary: false. ========", + "File '/a/node_modules/jquery/dist/package.json' does not exist.", + "File '/a/node_modules/jquery/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/library-reference-3.trace.json b/tests/baselines/reference/library-reference-3.trace.json index f4d640e4aad..f863b5bbb84 100644 --- a/tests/baselines/reference/library-reference-3.trace.json +++ b/tests/baselines/reference/library-reference-3.trace.json @@ -10,6 +10,10 @@ "File '/src/node_modules/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/node_modules/jquery/index.d.ts', result '/src/node_modules/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/src/node_modules/jquery/index.d.ts', primary: false. ========", + "File '/src/node_modules/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/src/node_modules/package.json' does not exist.", + "File '/src/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/library-reference-4.trace.json b/tests/baselines/reference/library-reference-4.trace.json index bfaaf2b2cd0..d0144c466ca 100644 --- a/tests/baselines/reference/library-reference-4.trace.json +++ b/tests/baselines/reference/library-reference-4.trace.json @@ -21,6 +21,9 @@ "File '/node_modules/bar/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/index.d.ts', result '/node_modules/bar/index.d.ts'.", "======== Type reference directive 'bar' was successfully resolved to '/node_modules/bar/index.d.ts', primary: false. ========", + "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving type reference directive 'alpha', containing file '/node_modules/foo/index.d.ts', root directory '/src'. ========", "Resolving with primary search path '/src'.", "File '/src/alpha.d.ts' does not exist.", @@ -31,6 +34,14 @@ "File '/node_modules/foo/node_modules/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/node_modules/alpha/index.d.ts', result '/node_modules/foo/node_modules/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/foo/node_modules/alpha/index.d.ts', primary: false. ========", + "File '/node_modules/foo/node_modules/alpha/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/foo/node_modules/package.json' does not exist.", + "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/bar/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'alpha', containing file '/node_modules/bar/index.d.ts', root directory '/src'. ========", "Resolving with primary search path '/src'.", "File '/src/alpha.d.ts' does not exist.", @@ -41,6 +52,11 @@ "File '/node_modules/bar/node_modules/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/node_modules/alpha/index.d.ts', result '/node_modules/bar/node_modules/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/bar/node_modules/alpha/index.d.ts', primary: false. ========", + "File '/node_modules/bar/node_modules/alpha/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/bar/node_modules/package.json' does not exist.", + "File '/node_modules/bar/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/test/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/library-reference-5.trace.json b/tests/baselines/reference/library-reference-5.trace.json index 6c7738d6016..f097d3ea196 100644 --- a/tests/baselines/reference/library-reference-5.trace.json +++ b/tests/baselines/reference/library-reference-5.trace.json @@ -21,6 +21,9 @@ "File '/node_modules/bar/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/index.d.ts', result '/node_modules/bar/index.d.ts'.", "======== Type reference directive 'bar' was successfully resolved to '/node_modules/bar/index.d.ts', primary: false. ========", + "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving type reference directive 'alpha', containing file '/node_modules/foo/index.d.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "Directory '/types' does not exist, skipping all lookups in it.", @@ -31,6 +34,14 @@ "File '/node_modules/foo/node_modules/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/node_modules/alpha/index.d.ts', result '/node_modules/foo/node_modules/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/foo/node_modules/alpha/index.d.ts', primary: false. ========", + "File '/node_modules/foo/node_modules/alpha/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/foo/node_modules/package.json' does not exist.", + "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/bar/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'alpha', containing file '/node_modules/bar/index.d.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "Directory '/types' does not exist, skipping all lookups in it.", @@ -41,6 +52,11 @@ "File '/node_modules/bar/node_modules/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/node_modules/alpha/index.d.ts', result '/node_modules/bar/node_modules/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/bar/node_modules/alpha/index.d.ts', primary: false. ========", + "File '/node_modules/bar/node_modules/alpha/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/bar/node_modules/package.json' does not exist.", + "File '/node_modules/bar/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/library-reference-6.trace.json b/tests/baselines/reference/library-reference-6.trace.json index b6882d645ef..8cd28d82665 100644 --- a/tests/baselines/reference/library-reference-6.trace.json +++ b/tests/baselines/reference/library-reference-6.trace.json @@ -5,6 +5,10 @@ "File '/node_modules/@types/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/alpha/index.d.ts', result '/node_modules/@types/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/@types/alpha/index.d.ts', primary: true. ========", + "File '/node_modules/@types/alpha/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving type reference directive 'alpha', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'alpha' was found in cache from location '/'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/@types/alpha/index.d.ts', primary: true. ========", diff --git a/tests/baselines/reference/library-reference-7.trace.json b/tests/baselines/reference/library-reference-7.trace.json index 4ce6c684d7e..b44b46b5da0 100644 --- a/tests/baselines/reference/library-reference-7.trace.json +++ b/tests/baselines/reference/library-reference-7.trace.json @@ -9,6 +9,10 @@ "File '/src/node_modules/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/node_modules/jquery/index.d.ts', result '/src/node_modules/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/src/node_modules/jquery/index.d.ts', primary: false. ========", + "File '/src/node_modules/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/src/node_modules/package.json' does not exist.", + "File '/src/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/library-reference-scoped-packages.trace.json b/tests/baselines/reference/library-reference-scoped-packages.trace.json index cf8cf7ca9c4..596b7309359 100644 --- a/tests/baselines/reference/library-reference-scoped-packages.trace.json +++ b/tests/baselines/reference/library-reference-scoped-packages.trace.json @@ -10,6 +10,10 @@ "File '/node_modules/@types/beep__boop/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/beep__boop/index.d.ts', result '/node_modules/@types/beep__boop/index.d.ts'.", "======== Type reference directive '@beep/boop' was successfully resolved to '/node_modules/@types/beep__boop/index.d.ts', primary: false. ========", + "File '/node_modules/@types/beep__boop/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.errors.txt b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.errors.txt index bca4e124b9e..2dae16154f2 100644 --- a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.errors.txt +++ b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.errors.txt @@ -1,4 +1,4 @@ -mappedTypeWithAsClauseAndLateBoundProperty.ts(3,1): error TS2741: Property 'length' is missing in type '{ [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: NumberFormatOptions & DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => BuiltinIterator<[number, number], any, any>; keys: () => BuiltinIterator; values: () => BuiltinIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => BuiltinIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }' but required in type 'number[]'. +mappedTypeWithAsClauseAndLateBoundProperty.ts(3,1): error TS2741: Property 'length' is missing in type '{ [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: NumberFormatOptions & DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => ArrayIterator<[number, number]>; keys: () => ArrayIterator; values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }' but required in type 'number[]'. ==== mappedTypeWithAsClauseAndLateBoundProperty.ts (1 errors) ==== @@ -6,6 +6,6 @@ mappedTypeWithAsClauseAndLateBoundProperty.ts(3,1): error TS2741: Property 'leng declare let src2: { [K in keyof number[] as Exclude]: (number[])[K] }; tgt2 = src2; // Should error ~~~~ -!!! error TS2741: Property 'length' is missing in type '{ [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: NumberFormatOptions & DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => BuiltinIterator<[number, number], any, any>; keys: () => BuiltinIterator; values: () => BuiltinIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => BuiltinIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }' but required in type 'number[]'. +!!! error TS2741: Property 'length' is missing in type '{ [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: NumberFormatOptions & DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => ArrayIterator<[number, number]>; keys: () => ArrayIterator; values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; }' but required in type 'number[]'. !!! related TS2728 lib.es5.d.ts:--:--: 'length' is declared here. \ No newline at end of file diff --git a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.types b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.types index 7caab51892d..7dcab74e21c 100644 --- a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.types +++ b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.types @@ -6,14 +6,14 @@ declare let tgt2: number[]; > : ^^^^^^^^ declare let src2: { [K in keyof number[] as Exclude]: (number[])[K] }; ->src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => BuiltinIterator<[number, number], any, any>; keys: () => BuiltinIterator; values: () => BuiltinIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => BuiltinIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => ArrayIterator<[number, number]>; keys: () => ArrayIterator; values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tgt2 = src2; // Should error ->tgt2 = src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => BuiltinIterator<[number, number], any, any>; keys: () => BuiltinIterator; values: () => BuiltinIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => BuiltinIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>tgt2 = src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => ArrayIterator<[number, number]>; keys: () => ArrayIterator; values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >tgt2 : number[] > : ^^^^^^^^ ->src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => BuiltinIterator<[number, number], any, any>; keys: () => BuiltinIterator; values: () => BuiltinIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => BuiltinIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>src2 : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => ArrayIterator<[number, number]>; keys: () => ArrayIterator; values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty2.js b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty2.js index 7d5de17211a..36696aa90cf 100644 --- a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty2.js +++ b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty2.js @@ -62,13 +62,13 @@ export declare const thing: { findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; - entries: () => BuiltinIterator<[number, number], any, any>; - keys: () => BuiltinIterator; - values: () => BuiltinIterator; + entries: () => ArrayIterator<[number, number]>; + keys: () => ArrayIterator; + values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; - [Symbol.iterator]: () => BuiltinIterator; + [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; @@ -107,113 +107,3 @@ export declare const thing: { readonly [Symbol.unscopables]?: boolean; }; }; - - -//// [DtsFileErrors] - - -mappedTypeWithAsClauseAndLateBoundProperty2.d.ts(27,118): error TS2526: A 'this' type is available only in a non-static member of a class or interface. - - -==== mappedTypeWithAsClauseAndLateBoundProperty2.d.ts (1 errors) ==== - export declare const thing: { - [x: number]: number; - toString: () => string; - toLocaleString: { - (): string; - (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; - }; - pop: () => number; - push: (...items: number[]) => number; - concat: { - (...items: ConcatArray[]): number[]; - (...items: (number | ConcatArray)[]): number[]; - }; - join: (separator?: string) => string; - reverse: () => number[]; - shift: () => number; - slice: (start?: number, end?: number) => number[]; - sort: (compareFn?: (a: number, b: number) => number) => number[]; - splice: { - (start: number, deleteCount?: number): number[]; - (start: number, deleteCount: number, ...items: number[]): number[]; - }; - unshift: (...items: number[]) => number; - indexOf: (searchElement: number, fromIndex?: number) => number; - lastIndexOf: (searchElement: number, fromIndex?: number) => number; - every: { - (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; - ~~~~ -!!! error TS2526: A 'this' type is available only in a non-static member of a class or interface. - (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; - }; - some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; - forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; - map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; - filter: { - (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; - (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; - }; - reduce: { - (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; - (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; - (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; - }; - reduceRight: { - (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; - (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; - (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; - }; - find: { - (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; - (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; - }; - findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; - fill: (value: number, start?: number, end?: number) => number[]; - copyWithin: (target: number, start: number, end?: number) => number[]; - entries: () => BuiltinIterator<[number, number], any, any>; - keys: () => BuiltinIterator; - values: () => BuiltinIterator; - includes: (searchElement: number, fromIndex?: number) => boolean; - flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; - flat: (this: A, depth?: D) => FlatArray[]; - [Symbol.iterator]: () => BuiltinIterator; - readonly [Symbol.unscopables]: { - [x: number]: boolean; - length?: boolean; - toString?: boolean; - toLocaleString?: boolean; - pop?: boolean; - push?: boolean; - concat?: boolean; - join?: boolean; - reverse?: boolean; - shift?: boolean; - slice?: boolean; - sort?: boolean; - splice?: boolean; - unshift?: boolean; - indexOf?: boolean; - lastIndexOf?: boolean; - every?: boolean; - some?: boolean; - forEach?: boolean; - map?: boolean; - filter?: boolean; - reduce?: boolean; - reduceRight?: boolean; - find?: boolean; - findIndex?: boolean; - fill?: boolean; - copyWithin?: boolean; - entries?: boolean; - keys?: boolean; - values?: boolean; - includes?: boolean; - flatMap?: boolean; - flat?: boolean; - [Symbol.iterator]?: boolean; - readonly [Symbol.unscopables]?: boolean; - }; - }; - \ No newline at end of file diff --git a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty2.types b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty2.types index 4f712549244..8e0a2e605bb 100644 --- a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty2.types +++ b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty2.types @@ -2,11 +2,11 @@ === mappedTypeWithAsClauseAndLateBoundProperty2.ts === export const thing = (null as any as { [K in keyof number[] as Exclude]: (number[])[K] }); ->thing : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => BuiltinIterator<[number, number], any, any>; keys: () => BuiltinIterator; values: () => BuiltinIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => BuiltinIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->(null as any as { [K in keyof number[] as Exclude]: (number[])[K] }) : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => BuiltinIterator<[number, number], any, any>; keys: () => BuiltinIterator; values: () => BuiltinIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => BuiltinIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->null as any as { [K in keyof number[] as Exclude]: (number[])[K] } : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => BuiltinIterator<[number, number], any, any>; keys: () => BuiltinIterator; values: () => BuiltinIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => BuiltinIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>thing : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => ArrayIterator<[number, number]>; keys: () => ArrayIterator; values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>(null as any as { [K in keyof number[] as Exclude]: (number[])[K] }) : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => ArrayIterator<[number, number]>; keys: () => ArrayIterator; values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>null as any as { [K in keyof number[] as Exclude]: (number[])[K] } : { [x: number]: number; toString: () => string; toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string; }; pop: () => number; push: (...items: number[]) => number; concat: { (...items: ConcatArray[]): number[]; (...items: (number | ConcatArray)[]): number[]; }; join: (separator?: string) => string; reverse: () => number[]; shift: () => number; slice: (start?: number, end?: number) => number[]; sort: (compareFn?: (a: number, b: number) => number) => number[]; splice: { (start: number, deleteCount?: number): number[]; (start: number, deleteCount: number, ...items: number[]): number[]; }; unshift: (...items: number[]) => number; indexOf: (searchElement: number, fromIndex?: number) => number; lastIndexOf: (searchElement: number, fromIndex?: number) => number; every: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): boolean; }; some: (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any) => boolean; forEach: (callbackfn: (value: number, index: number, array: number[]) => void, thisArg?: any) => void; map: (callbackfn: (value: number, index: number, array: number[]) => U, thisArg?: any) => U[]; filter: { (predicate: (value: number, index: number, array: number[]) => value is S, thisArg?: any): S[]; (predicate: (value: number, index: number, array: number[]) => unknown, thisArg?: any): number[]; }; reduce: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; reduceRight: { (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number): number; (callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: number[]) => number, initialValue: number): number; (callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: number[]) => U, initialValue: U): U; }; find: { (predicate: (value: number, index: number, obj: number[]) => value is S, thisArg?: any): S; (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any): number; }; findIndex: (predicate: (value: number, index: number, obj: number[]) => unknown, thisArg?: any) => number; fill: (value: number, start?: number, end?: number) => number[]; copyWithin: (target: number, start: number, end?: number) => number[]; entries: () => ArrayIterator<[number, number]>; keys: () => ArrayIterator; values: () => ArrayIterator; includes: (searchElement: number, fromIndex?: number) => boolean; flatMap: (callback: (this: This, value: number, index: number, array: number[]) => U | readonly U[], thisArg?: This) => U[]; flat: (this: A, depth?: D) => FlatArray[]; [Symbol.iterator]: () => ArrayIterator; readonly [Symbol.unscopables]: { [x: number]: boolean; length?: boolean; toString?: boolean; toLocaleString?: boolean; pop?: boolean; push?: boolean; concat?: boolean; join?: boolean; reverse?: boolean; shift?: boolean; slice?: boolean; sort?: boolean; splice?: boolean; unshift?: boolean; indexOf?: boolean; lastIndexOf?: boolean; every?: boolean; some?: boolean; forEach?: boolean; map?: boolean; filter?: boolean; reduce?: boolean; reduceRight?: boolean; find?: boolean; findIndex?: boolean; fill?: boolean; copyWithin?: boolean; entries?: boolean; keys?: boolean; values?: boolean; includes?: boolean; flatMap?: boolean; flat?: boolean; [Symbol.iterator]?: boolean; readonly [Symbol.unscopables]?: boolean; }; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^ ^ ^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^ ^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^ ^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^ ^^ ^^ ^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^^^^^ ^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >null as any : any diff --git a/tests/baselines/reference/missingFunctionImplementation2.errors.txt b/tests/baselines/reference/missingFunctionImplementation2.errors.txt index 603b52fbc06..cc1ff5dc844 100644 --- a/tests/baselines/reference/missingFunctionImplementation2.errors.txt +++ b/tests/baselines/reference/missingFunctionImplementation2.errors.txt @@ -1,13 +1,10 @@ -missingFunctionImplementation2_a.ts(3,19): error TS2384: Overload signatures must all be ambient or non-ambient. missingFunctionImplementation2_b.ts(1,17): error TS2391: Function implementation is missing or not immediately following the declaration. -==== missingFunctionImplementation2_a.ts (1 errors) ==== +==== missingFunctionImplementation2_a.ts (0 errors) ==== export {}; declare module "./missingFunctionImplementation2_b" { export function f(a, b): void; - ~ -!!! error TS2384: Overload signatures must all be ambient or non-ambient. } ==== missingFunctionImplementation2_b.ts (1 errors) ==== diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types index 075659bb6c6..7e3956c6ebc 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.types @@ -58,14 +58,14 @@ m.clear(); // Using ES6 iterable m.keys(); ->m.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->m.keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>m.keys() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>m.keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >m : Map > : ^^^^^^^^^^^^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ // Using ES6 function function Baz() { } diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types index 21ebd844500..6901043410e 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.types @@ -58,14 +58,14 @@ m.clear(); // Using ES6 iterable m.keys(); ->m.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->m.keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>m.keys() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>m.keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >m : Map > : ^^^^^^^^^^^^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ // Using ES6 function function Baz() { } diff --git a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types index 14688b34b13..a1da8cedb14 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types +++ b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.types @@ -58,14 +58,14 @@ m.clear(); // Using ES6 iterable m.keys(); ->m.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->m.keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>m.keys() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>m.keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >m : Map > : ^^^^^^^^^^^^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ // Using ES6 function function Baz() { } diff --git a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types index 67cc3c013d5..dad02bc4bf6 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types +++ b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.types @@ -58,14 +58,14 @@ m.clear(); // Using ES6 iterable m.keys(); ->m.keys() : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->m.keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>m.keys() : MapIterator +> : ^^^^^^^^^^^^^^^^^^^ +>m.keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ >m : Map > : ^^^^^^^^^^^^^^^^^^^ ->keys : () => BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>keys : () => MapIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ // Using ES6 function function Baz() { } diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports2.errors.txt b/tests/baselines/reference/moduleAugmentationImportsAndExports2.errors.txt index 9f94f43b614..f472daec04d 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports2.errors.txt +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports2.errors.txt @@ -3,8 +3,6 @@ f3.ts(11,5): error TS2667: Imports are not permitted in module augmentations. Co f3.ts(11,21): error TS2307: Cannot find module './f2' or its corresponding type declarations. f3.ts(12,5): error TS2666: Exports and export assignments are not permitted in module augmentations. f3.ts(12,21): error TS2307: Cannot find module './f2' or its corresponding type declarations. -f3.ts(13,5): error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. -f3.ts(14,5): error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. f4.ts(5,11): error TS2339: Property 'foo' does not exist on type 'A'. @@ -16,7 +14,7 @@ f4.ts(5,11): error TS2339: Property 'foo' does not exist on type 'A'. n: number; } -==== f3.ts (7 errors) ==== +==== f3.ts (5 errors) ==== import {A} from "./f1"; A.prototype.foo = function () { return undefined; } @@ -40,11 +38,7 @@ f4.ts(5,11): error TS2339: Property 'foo' does not exist on type 'A'. ~~~~~~ !!! error TS2307: Cannot find module './f2' or its corresponding type declarations. import I = N.Ifc; - ~~~~~~ -!!! error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. import C = N.Cls; - ~~~~~~ -!!! error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. // should have explicit export interface A { foo(): B; diff --git a/tests/baselines/reference/moduleAugmentationImportsAndExports3.errors.txt b/tests/baselines/reference/moduleAugmentationImportsAndExports3.errors.txt index ecd0eb189d4..f66ce9db2bf 100644 --- a/tests/baselines/reference/moduleAugmentationImportsAndExports3.errors.txt +++ b/tests/baselines/reference/moduleAugmentationImportsAndExports3.errors.txt @@ -1,7 +1,5 @@ f3.ts(11,5): error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. f3.ts(11,21): error TS2307: Cannot find module './f2' or its corresponding type declarations. -f3.ts(12,5): error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. -f3.ts(13,5): error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. ==== f1.ts (0 errors) ==== @@ -12,7 +10,7 @@ f3.ts(13,5): error TS2667: Imports are not permitted in module augmentations. Co n: number; } -==== f3.ts (4 errors) ==== +==== f3.ts (2 errors) ==== import {A} from "./f1"; A.prototype.foo = function () { return undefined; } @@ -29,11 +27,7 @@ f3.ts(13,5): error TS2667: Imports are not permitted in module augmentations. Co ~~~~~~ !!! error TS2307: Cannot find module './f2' or its corresponding type declarations. import I = N.Ifc; - ~~~~~~ -!!! error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. import C = N.Cls; - ~~~~~~ -!!! error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. interface A { foo(): B; bar(): I; diff --git a/tests/baselines/reference/moduleDetectionIsolatedModulesCjsFileScope.js b/tests/baselines/reference/moduleDetectionIsolatedModulesCjsFileScope.js index 5718d67611e..8d948790c9e 100644 --- a/tests/baselines/reference/moduleDetectionIsolatedModulesCjsFileScope.js +++ b/tests/baselines/reference/moduleDetectionIsolatedModulesCjsFileScope.js @@ -6,8 +6,9 @@ const a = 2; const a = 2; //// [filename.cjs] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); const a = 2; -export {}; //// [filename.mjs] const a = 2; export {}; diff --git a/tests/baselines/reference/modulePreserve2.trace.json b/tests/baselines/reference/modulePreserve2.trace.json index 39549599465..37fc9b32063 100644 --- a/tests/baselines/reference/modulePreserve2.trace.json +++ b/tests/baselines/reference/modulePreserve2.trace.json @@ -35,6 +35,7 @@ "Exiting conditional exports.", "Resolving real path for '/node_modules/dep/require.d.ts', result '/node_modules/dep/require.d.ts'.", "======== Module name 'dep' was successfully resolved to '/node_modules/dep/require.d.ts'. ========", + "File '/node_modules/dep/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/modulePreserve3.trace.json b/tests/baselines/reference/modulePreserve3.trace.json index 59645b44479..77c36901607 100644 --- a/tests/baselines/reference/modulePreserve3.trace.json +++ b/tests/baselines/reference/modulePreserve3.trace.json @@ -1,11 +1,15 @@ [ + "File '/node_modules/@types/react/package.json' does not exist.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module 'react/jsx-runtime' from '/index.tsx'. ========", "Module resolution kind is not specified, using 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "Loading module 'react/jsx-runtime' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/@types/react/package.json' does not exist.", + "File '/node_modules/@types/react/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/react/jsx-runtime.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/react/jsx-runtime.d.ts', result '/node_modules/@types/react/jsx-runtime.d.ts'.", "======== Module name 'react/jsx-runtime' was successfully resolved to '/node_modules/@types/react/jsx-runtime.d.ts'. ========", diff --git a/tests/baselines/reference/modulePreserve4.errors.txt b/tests/baselines/reference/modulePreserve4.errors.txt index b94d7b89604..65e21aa749b 100644 --- a/tests/baselines/reference/modulePreserve4.errors.txt +++ b/tests/baselines/reference/modulePreserve4.errors.txt @@ -1,12 +1,22 @@ /a.js(2,1): error TS2580: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. +/f.cts(1,1): error TS1286: ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled. /main1.ts(1,13): error TS2305: Module '"./a"' has no exported member 'y'. /main1.ts(3,12): error TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. /main1.ts(19,4): error TS2339: Property 'default' does not exist on type '() => void'. +/main1.ts(23,8): error TS1192: Module '"/e"' has no default export. /main2.mts(1,13): error TS2305: Module '"./a"' has no exported member 'y'. /main2.mts(4,4): error TS2339: Property 'default' does not exist on type 'typeof import("/a")'. /main2.mts(5,12): error TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. +/main2.mts(14,8): error TS1192: Module '"/e"' has no default export. +/main3.cjs(1,10): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. /main3.cjs(1,13): error TS2305: Module '"./a"' has no exported member 'y'. /main3.cjs(2,1): error TS8002: 'import ... =' can only be used in TypeScript files. +/main3.cjs(5,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. +/main3.cjs(8,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. +/main3.cjs(10,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. +/main3.cjs(12,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. +/main3.cjs(14,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. +/main3.cjs(17,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. ==== /a.js (1 errors) ==== @@ -29,13 +39,15 @@ ==== /e.mts (0 errors) ==== export = 0; -==== /f.cts (0 errors) ==== +==== /f.cts (1 errors) ==== export default 0; + ~~~~~~~~~~~~~~~~~ +!!! error TS1286: ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled. ==== /g.js (0 errors) ==== exports.default = 0; -==== /main1.ts (3 errors) ==== +==== /main1.ts (4 errors) ==== import { x, y } from "./a"; // No y ~ !!! error TS2305: Module '"./a"' has no exported member 'y'. @@ -65,6 +77,8 @@ d3.default(); import e1 from "./e.mjs"; // 0 + ~~ +!!! error TS1192: Module '"/e"' has no default export. import e2 = require("./e.mjs"); // 0 import f1 from "./f.cjs"; // 0 import f2 = require("./f.cjs"); // { default: 0 } @@ -75,7 +89,7 @@ import g2 = require("./g"); // { default: 0 } g2.default; -==== /main2.mts (3 errors) ==== +==== /main2.mts (4 errors) ==== import { x, y } from "./a"; // No y ~ !!! error TS2305: Module '"./a"' has no exported member 'y'. @@ -96,6 +110,8 @@ import d1 from "./d"; // [Function: default] import d2 = require("./d"); // [Function: default] import e1 from "./e.mjs"; // 0 + ~~ +!!! error TS1192: Module '"/e"' has no default export. import e2 = require("./e.mjs"); // 0 import f1 from "./f.cjs"; // 0 import f2 = require("./f.cjs"); // { default: 0 } @@ -103,8 +119,10 @@ import g1 from "./g"; // { default: 0 } import g2 = require("./g"); // { default: 0 } -==== /main3.cjs (2 errors) ==== +==== /main3.cjs (9 errors) ==== import { x, y } from "./a"; // No y + ~ +!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. ~ !!! error TS2305: Module '"./a"' has no exported member 'y'. import a1 = require("./a"); // Error in JS @@ -113,18 +131,30 @@ const a2 = require("./a"); // { x: 0 } import b1 from "./b"; // 0 + ~~ +!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const b2 = require("./b"); // { default: 0 } import c1 from "./c"; // { default: [Function: default] } + ~~ +!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const c2 = require("./c"); // { default: [Function: default] } import d1 from "./d"; // [Function: default] + ~~ +!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const d2 = require("./d"); // [Function: default] import e1 from "./e.mjs"; // 0 + ~~ +!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const e2 = require("./e.mjs"); // 0 import f1 from "./f.cjs"; // 0 + ~~ +!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const f2 = require("./f.cjs"); // { default: 0 } import g1 from "./g"; // { default: 0 } + ~~ +!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const g2 = require("./g"); // { default: 0 } ==== /main4.cjs (0 errors) ==== diff --git a/tests/baselines/reference/modulePreserve4.types b/tests/baselines/reference/modulePreserve4.types index ed61a6e2d52..33a677f64e2 100644 --- a/tests/baselines/reference/modulePreserve4.types +++ b/tests/baselines/reference/modulePreserve4.types @@ -200,8 +200,8 @@ d3.default(); > : ^^^^^^^^^^ import e1 from "./e.mjs"; // 0 ->e1 : 0 -> : ^ +>e1 : any +> : ^^^ import e2 = require("./e.mjs"); // 0 >e2 : 0 @@ -313,8 +313,8 @@ import d2 = require("./d"); // [Function: default] > : ^^^^^^^^^^ import e1 from "./e.mjs"; // 0 ->e1 : 0 -> : ^ +>e1 : any +> : ^^^ import e2 = require("./e.mjs"); // 0 >e2 : 0 diff --git a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json index ed79e4de039..3a0146b4819 100644 --- a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json +++ b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json @@ -72,6 +72,16 @@ "File '/a/node_modules/@types/mangled__attypescache/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/node_modules/@types/mangled__attypescache/index.d.ts', result '/a/node_modules/@types/mangled__attypescache/index.d.ts'.", "======== Module name '@mangled/attypescache' was successfully resolved to '/a/node_modules/@types/mangled__attypescache/index.d.ts'. ========", + "File '/a/node_modules/@scoped/nodemodulescache/package.json' does not exist according to earlier cached lookups.", + "File '/a/node_modules/@scoped/package.json' does not exist.", + "File '/a/node_modules/package.json' does not exist.", + "File '/a/package.json' does not exist.", + "File '/package.json' does not exist.", + "File '/a/node_modules/@types/mangled__attypescache/package.json' does not exist according to earlier cached lookups.", + "File '/a/node_modules/@types/package.json' does not exist.", + "File '/a/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'dummy', containing file '/__inferred type names__.ts', root directory '/a/types,/a/node_modules,/a/node_modules/@types'. ========", "Resolving with primary search path '/a/types, /a/node_modules, /a/node_modules/@types'.", "File '/a/types/dummy.d.ts' does not exist.", diff --git a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json index 60d21c691f2..f92ad4790d1 100644 --- a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json +++ b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json @@ -33,6 +33,10 @@ "File '/shared/lib/app.tsx' does not exist.", "File '/shared/lib/app.d.ts' exists - use it as a name resolution result.", "======== Module name '@shared/lib/app' was successfully resolved to '/shared/lib/app.d.ts'. ========", + "File '/project/node_modules/anotherLib/package.json' does not exist according to earlier cached lookups.", + "File '/project/node_modules/package.json' does not exist.", + "File '/project/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module 'troublesome-lib/lib/Compactable' from '/project/node_modules/anotherLib/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'troublesome-lib/lib/Compactable'.", @@ -51,6 +55,8 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/project/node_modules/troublesome-lib/lib/Compactable.d.ts', result '/project/node_modules/troublesome-lib/lib/Compactable.d.ts'.", "======== Module name 'troublesome-lib/lib/Compactable' was successfully resolved to '/project/node_modules/troublesome-lib/lib/Compactable.d.ts' with Package ID 'troublesome-lib/lib/Compactable.d.ts@1.17.1'. ========", + "File '/project/node_modules/troublesome-lib/lib/package.json' does not exist.", + "File '/project/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module './Option' from '/project/node_modules/troublesome-lib/lib/Compactable.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/project/node_modules/troublesome-lib/lib/Option', target file types: TypeScript, Declaration.", @@ -59,6 +65,8 @@ "File '/project/node_modules/troublesome-lib/lib/Option.d.ts' exists - use it as a name resolution result.", "File '/project/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", "======== Module name './Option' was successfully resolved to '/project/node_modules/troublesome-lib/lib/Option.d.ts' with Package ID 'troublesome-lib/lib/Option.d.ts@1.17.1'. ========", + "File '/project/node_modules/troublesome-lib/lib/package.json' does not exist according to earlier cached lookups.", + "File '/project/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module 'troublesome-lib/lib/Option' from '/shared/lib/app.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'troublesome-lib/lib/Option'.", @@ -77,6 +85,8 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/shared/node_modules/troublesome-lib/lib/Option.d.ts', result '/shared/node_modules/troublesome-lib/lib/Option.d.ts'.", "======== Module name 'troublesome-lib/lib/Option' was successfully resolved to '/shared/node_modules/troublesome-lib/lib/Option.d.ts' with Package ID 'troublesome-lib/lib/Option.d.ts@1.17.1'. ========", + "File '/shared/node_modules/troublesome-lib/lib/package.json' does not exist.", + "File '/shared/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/project/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json index f576bfff863..f702bd23834 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json @@ -41,6 +41,10 @@ "File '/relative.tsx' does not exist.", "File '/relative.d.ts' exists - use it as a name resolution result.", "======== Module name './relative' was successfully resolved to '/relative.d.ts'. ========", + "File '/node_modules/foo/lib/package.json' does not exist.", + "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es2015' from '/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json index 963e9da2855..f6991052be8 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json @@ -12,6 +12,9 @@ "File '/node_modules/some-library/index.ios.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/some-library/index.ios.d.ts', result '/node_modules/some-library/index.ios.d.ts'.", "======== Module name 'some-library' was successfully resolved to '/node_modules/some-library/index.ios.d.ts'. ========", + "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json index a2b9fe5bb60..0ff0a447073 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json @@ -9,6 +9,9 @@ "File '/node_modules/some-library/foo.ios.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/some-library/foo.ios.d.ts', result '/node_modules/some-library/foo.ios.d.ts'.", "======== Module name 'some-library/foo' was successfully resolved to '/node_modules/some-library/foo.ios.d.ts'. ========", + "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json index 7ef2a6e23a1..5825680642f 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json @@ -42,6 +42,10 @@ "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", "Resolving real path for '/node_modules/some-library/lib/index.ios.d.ts', result '/node_modules/some-library/lib/index.ios.d.ts'.", "======== Module name 'some-library/index.js' was successfully resolved to '/node_modules/some-library/lib/index.ios.d.ts'. ========", + "File '/node_modules/some-library/lib/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json index 0290900258f..1cef7e93a4d 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json @@ -10,6 +10,9 @@ "File '/node_modules/some-library/index.ios.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/some-library/index.ios.ts', result '/node_modules/some-library/index.ios.ts'.", "======== Module name 'some-library' was successfully resolved to '/node_modules/some-library/index.ios.ts'. ========", + "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json index 5d604e79fbf..4192eec404f 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json @@ -9,6 +9,10 @@ "File '/app/node_modules/linked.d.ts' does not exist.", "File '/app/node_modules/linked/index.d.ts' exists - use it as a name resolution result.", "======== Type reference directive 'linked' was successfully resolved to '/app/node_modules/linked/index.d.ts', primary: false. ========", + "File '/app/node_modules/linked/package.json' does not exist according to earlier cached lookups.", + "File '/app/node_modules/package.json' does not exist.", + "File '/app/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module 'real' from '/app/node_modules/linked/index.d.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'real' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -22,6 +26,10 @@ "File '/app/node_modules/real/index.tsx' does not exist.", "File '/app/node_modules/real/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'real' was successfully resolved to '/app/node_modules/real/index.d.ts'. ========", + "File '/app/node_modules/real/package.json' does not exist according to earlier cached lookups.", + "File '/app/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/app/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'linked' from '/app/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'linked' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,6 +54,10 @@ "File '/app/node_modules/linked2/index.tsx' does not exist.", "File '/app/node_modules/linked2/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'linked2' was successfully resolved to '/app/node_modules/linked2/index.d.ts'. ========", + "File '/app/node_modules/linked2/package.json' does not exist according to earlier cached lookups.", + "File '/app/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/app/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'real' from '/app/node_modules/linked2/index.d.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'real' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json index 74f2d01acf7..98ad468856a 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json @@ -19,6 +19,14 @@ "File '/node_modules/@types/library-b/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/library-b/index.d.ts', result '/node_modules/@types/library-b/index.d.ts'.", "======== Type reference directive 'library-b' was successfully resolved to '/node_modules/@types/library-b/index.d.ts', primary: false. ========", + "File '/node_modules/@types/library-a/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", + "File '/node_modules/@types/library-b/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'library-a', containing file '/node_modules/@types/library-b/index.d.ts', root directory ''. ========", "Root directory cannot be determined, skipping primary search paths.", "Looking up in 'node_modules' folder, initial location '/node_modules/@types/library-b'.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json index c93269a91d0..4432deac645 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json @@ -13,6 +13,7 @@ "File '/node_modules/foo/bar/types.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/bar/types.d.ts', result '/node_modules/foo/bar/types.d.ts'.", "======== Module name 'foo/bar' was successfully resolved to '/node_modules/foo/bar/types.d.ts'. ========", + "File '/node_modules/foo/bar/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json index 318f6634ceb..33293b8d68f 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json @@ -13,6 +13,7 @@ "File '/node_modules/foo/@bar/types.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/@bar/types.d.ts', result '/node_modules/foo/@bar/types.d.ts'.", "======== Module name 'foo/@bar' was successfully resolved to '/node_modules/foo/@bar/types.d.ts'. ========", + "File '/node_modules/foo/@bar/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json b/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json index 4d9fcc026a3..13bc7de8f61 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json @@ -13,6 +13,7 @@ "File '/node_modules/@foo/bar/types.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@foo/bar/types.d.ts', result '/node_modules/@foo/bar/types.d.ts'.", "======== Module name '@foo/bar' was successfully resolved to '/node_modules/@foo/bar/types.d.ts'. ========", + "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json index 38be533dde0..eb2c2768622 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json @@ -1,9 +1,11 @@ [ + "File '/node_modules/foo/src/package.json' does not exist.", + "Found 'package.json' at '/node_modules/foo/package.json'.", "======== Resolving module 'foo' from '/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/foo/package.json'.", + "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "File '/node_modules/foo.ts' does not exist.", "File '/node_modules/foo.tsx' does not exist.", "File '/node_modules/foo.d.ts' does not exist.", diff --git a/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.errors.txt b/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.errors.txt new file mode 100644 index 00000000000..d503ac8d760 --- /dev/null +++ b/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.errors.txt @@ -0,0 +1,25 @@ +narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts(1,5): error TS7034: Variable 'foo' implicitly has type 'any[]' in some locations where its type cannot be determined. +narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts(5,5): error TS7005: Variable 'foo' implicitly has an 'any[]' type. + + +==== narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts (2 errors) ==== + let foo = []; + ~~~ +!!! error TS7034: Variable 'foo' implicitly has type 'any[]' in some locations where its type cannot be determined. + + switch (foo?.length) { + case 1: + foo[0]; + ~~~ +!!! error TS7005: Variable 'foo' implicitly has an 'any[]' type. + } + + let bar = []; + + switch (bar?.length) { + case 1: { + bar.push("baz"); + const arr: string[] = bar; + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.symbols b/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.symbols new file mode 100644 index 00000000000..d766eadf659 --- /dev/null +++ b/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.symbols @@ -0,0 +1,36 @@ +//// [tests/cases/compiler/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts] //// + +=== narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts === +let foo = []; +>foo : Symbol(foo, Decl(narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts, 0, 3)) + +switch (foo?.length) { +>foo?.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) +>foo : Symbol(foo, Decl(narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts, 0, 3)) +>length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) + + case 1: + foo[0]; +>foo : Symbol(foo, Decl(narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts, 0, 3)) +} + +let bar = []; +>bar : Symbol(bar, Decl(narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts, 7, 3)) + +switch (bar?.length) { +>bar?.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) +>bar : Symbol(bar, Decl(narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts, 7, 3)) +>length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --)) + + case 1: { + bar.push("baz"); +>bar.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) +>bar : Symbol(bar, Decl(narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts, 7, 3)) +>push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --)) + + const arr: string[] = bar; +>arr : Symbol(arr, Decl(narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts, 12, 9)) +>bar : Symbol(bar, Decl(narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts, 7, 3)) + } +} + diff --git a/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.types b/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.types new file mode 100644 index 00000000000..0a5d8998007 --- /dev/null +++ b/tests/baselines/reference/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.types @@ -0,0 +1,68 @@ +//// [tests/cases/compiler/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts] //// + +=== narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts === +let foo = []; +>foo : any[] +> : ^^^^^ +>[] : never[] +> : ^^^^^^^ + +switch (foo?.length) { +>foo?.length : number +> : ^^^^^^ +>foo : any[] +> : ^^^^^ +>length : number +> : ^^^^^^ + + case 1: +>1 : 1 +> : ^ + + foo[0]; +>foo[0] : any +> : ^^^ +>foo : any[] +> : ^^^^^ +>0 : 0 +> : ^ +} + +let bar = []; +>bar : any[] +> : ^^^^^ +>[] : never[] +> : ^^^^^^^ + +switch (bar?.length) { +>bar?.length : number +> : ^^^^^^ +>bar : any[] +> : ^^^^^ +>length : number +> : ^^^^^^ + + case 1: { +>1 : 1 +> : ^ + + bar.push("baz"); +>bar.push("baz") : number +> : ^^^^^^ +>bar.push : (...items: any[]) => number +> : ^^^^ ^^^^^^^^^^^^ +>bar : any[] +> : ^^^^^ +>push : (...items: any[]) => number +> : ^^^^ ^^^^^^^^^^^^ +>"baz" : "baz" +> : ^^^^^ + + const arr: string[] = bar; +>arr : string[] +> : ^^^^^^^^ +>bar : string[] +> : ^^^^^^^^ + } +} + diff --git a/tests/baselines/reference/narrowingPastLastAssignment.types b/tests/baselines/reference/narrowingPastLastAssignment.types index ba185b982df..057c24d7151 100644 --- a/tests/baselines/reference/narrowingPastLastAssignment.types +++ b/tests/baselines/reference/narrowingPastLastAssignment.types @@ -2,7 +2,7 @@ === Performance Stats === Type Count: 1,000 -Instantiation count: 1,000 +Instantiation count: 2,500 === narrowingPastLastAssignment.ts === function action(f: Function) {} diff --git a/tests/baselines/reference/narrowingPlainJsNoCrash1.js b/tests/baselines/reference/narrowingPlainJsNoCrash1.js new file mode 100644 index 00000000000..f83a5c5c010 --- /dev/null +++ b/tests/baselines/reference/narrowingPlainJsNoCrash1.js @@ -0,0 +1,21 @@ +//// [tests/cases/compiler/narrowingPlainJsNoCrash1.ts] //// + +//// [index.js] +// https://github.com/microsoft/TypeScript/issues/59594 + +var a$b = {}; +var c, d; +d = a$b; +while (d !== a$b); +while ((c = a$b != a$b)) c.e; + + +//// [index.js] +// https://github.com/microsoft/TypeScript/issues/59594 +var a$b = {}; +var c, d; +d = a$b; +while (d !== a$b) + ; +while ((c = a$b != a$b)) + c.e; diff --git a/tests/baselines/reference/narrowingPlainJsNoCrash1.symbols b/tests/baselines/reference/narrowingPlainJsNoCrash1.symbols new file mode 100644 index 00000000000..5fc0fbfa238 --- /dev/null +++ b/tests/baselines/reference/narrowingPlainJsNoCrash1.symbols @@ -0,0 +1,26 @@ +//// [tests/cases/compiler/narrowingPlainJsNoCrash1.ts] //// + +=== index.js === +// https://github.com/microsoft/TypeScript/issues/59594 + +var a$b = {}; +>a$b : Symbol(a$b, Decl(index.js, 2, 3)) + +var c, d; +>c : Symbol(c, Decl(index.js, 3, 3)) +>d : Symbol(d, Decl(index.js, 3, 6)) + +d = a$b; +>d : Symbol(d, Decl(index.js, 3, 6)) +>a$b : Symbol(a$b, Decl(index.js, 2, 3)) + +while (d !== a$b); +>d : Symbol(d, Decl(index.js, 3, 6)) +>a$b : Symbol(a$b, Decl(index.js, 2, 3)) + +while ((c = a$b != a$b)) c.e; +>c : Symbol(c, Decl(index.js, 3, 3)) +>a$b : Symbol(a$b, Decl(index.js, 2, 3)) +>a$b : Symbol(a$b, Decl(index.js, 2, 3)) +>c : Symbol(c, Decl(index.js, 3, 3)) + diff --git a/tests/baselines/reference/narrowingPlainJsNoCrash1.types b/tests/baselines/reference/narrowingPlainJsNoCrash1.types new file mode 100644 index 00000000000..364d7c4f6de --- /dev/null +++ b/tests/baselines/reference/narrowingPlainJsNoCrash1.types @@ -0,0 +1,48 @@ +//// [tests/cases/compiler/narrowingPlainJsNoCrash1.ts] //// + +=== index.js === +// https://github.com/microsoft/TypeScript/issues/59594 + +var a$b = {}; +>a$b : {} +> : ^^ +>{} : {} +> : ^^ + +var c, d; +>c : any +>d : any + +d = a$b; +>d = a$b : {} +> : ^^ +>d : any +>a$b : {} +> : ^^ + +while (d !== a$b); +>d !== a$b : boolean +> : ^^^^^^^ +>d : {} +> : ^^ +>a$b : {} +> : ^^ + +while ((c = a$b != a$b)) c.e; +>(c = a$b != a$b) : boolean +> : ^^^^^^^ +>c = a$b != a$b : boolean +> : ^^^^^^^ +>c : any +>a$b != a$b : boolean +> : ^^^^^^^ +>a$b : {} +> : ^^ +>a$b : {} +> : ^^ +>c.e : error +>c : true +> : ^^^^ +>e : any +> : ^^^ + diff --git a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json index 7fc8b8ccbde..5d158b4ac06 100644 --- a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json @@ -1,4 +1,6 @@ [ + "File '/node_modules/@restart/hooks/esm/package.json' does not exist.", + "Found 'package.json' at '/node_modules/@restart/hooks/package.json'.", "======== Resolving module '@restart/hooks/useMergedRefs' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'require', 'types'.", @@ -6,7 +8,7 @@ "Loading module '@restart/hooks/useMergedRefs' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/@restart/hooks/useMergedRefs/package.json'.", - "Found 'package.json' at '/node_modules/@restart/hooks/package.json'.", + "File '/node_modules/@restart/hooks/package.json' exists according to earlier cached lookups.", "File '/node_modules/@restart/hooks/useMergedRefs.ts' does not exist.", "File '/node_modules/@restart/hooks/useMergedRefs.tsx' does not exist.", "File '/node_modules/@restart/hooks/useMergedRefs.d.ts' does not exist.", diff --git a/tests/baselines/reference/neverAsDiscriminantType(strict=false).js b/tests/baselines/reference/neverAsDiscriminantType(strict=false).js index df00f302ae7..61e0670ff72 100644 --- a/tests/baselines/reference/neverAsDiscriminantType(strict=false).js +++ b/tests/baselines/reference/neverAsDiscriminantType(strict=false).js @@ -79,8 +79,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/neverAsDiscriminantType(strict=true).js b/tests/baselines/reference/neverAsDiscriminantType(strict=true).js index df00f302ae7..61e0670ff72 100644 --- a/tests/baselines/reference/neverAsDiscriminantType(strict=true).js +++ b/tests/baselines/reference/neverAsDiscriminantType(strict=true).js @@ -79,8 +79,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/newNamesInGlobalAugmentations1.errors.txt b/tests/baselines/reference/newNamesInGlobalAugmentations1.errors.txt deleted file mode 100644 index 01daf853a5d..00000000000 --- a/tests/baselines/reference/newNamesInGlobalAugmentations1.errors.txt +++ /dev/null @@ -1,24 +0,0 @@ -f1.d.ts(12,5): error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. - - -==== f1.d.ts (1 errors) ==== - export {}; - - declare module M.M1 { - export let x: number; - } - declare global { - interface SymbolConstructor { - observable: symbol; - } - class Cls {x} - let [a, b]: number[]; - export import X = M.M1.x; - ~~~~~~ -!!! error TS2667: Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. - } - -==== main.ts (0 errors) ==== - Symbol.observable; - new Cls().x - let c = a + b + X; \ No newline at end of file diff --git a/tests/baselines/reference/newNamesInGlobalAugmentations1.types b/tests/baselines/reference/newNamesInGlobalAugmentations1.types index f46c99b0c5b..324a8b49400 100644 --- a/tests/baselines/reference/newNamesInGlobalAugmentations1.types +++ b/tests/baselines/reference/newNamesInGlobalAugmentations1.types @@ -26,7 +26,6 @@ declare global { >Cls : Cls > : ^^^ >x : any -> : ^^^ let [a, b]: number[]; >a : number @@ -56,7 +55,6 @@ Symbol.observable; new Cls().x >new Cls().x : any -> : ^^^ >new Cls() : Cls > : ^^^ >Cls : typeof Cls diff --git a/tests/baselines/reference/node10AlternateResult_noResolution.trace.json b/tests/baselines/reference/node10AlternateResult_noResolution.trace.json index e008fb57d8a..dd05eb35573 100644 --- a/tests/baselines/reference/node10AlternateResult_noResolution.trace.json +++ b/tests/baselines/reference/node10AlternateResult_noResolution.trace.json @@ -1,9 +1,10 @@ [ + "Found 'package.json' at '/node_modules/pkg/package.json'.", "======== Resolving module 'pkg' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'pkg' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/pkg/package.json'.", + "File '/node_modules/pkg/package.json' exists according to earlier cached lookups.", "File '/node_modules/pkg.ts' does not exist.", "File '/node_modules/pkg.tsx' does not exist.", "File '/node_modules/pkg.d.ts' does not exist.", diff --git a/tests/baselines/reference/node10Alternateresult_noTypes.trace.json b/tests/baselines/reference/node10Alternateresult_noTypes.trace.json index 3082c74ca52..61528c2501b 100644 --- a/tests/baselines/reference/node10Alternateresult_noTypes.trace.json +++ b/tests/baselines/reference/node10Alternateresult_noTypes.trace.json @@ -1,9 +1,10 @@ [ + "Found 'package.json' at '/node_modules/pkg/package.json'.", "======== Resolving module 'pkg' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'pkg' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/pkg/package.json'.", + "File '/node_modules/pkg/package.json' exists according to earlier cached lookups.", "File '/node_modules/pkg.ts' does not exist.", "File '/node_modules/pkg.tsx' does not exist.", "File '/node_modules/pkg.d.ts' does not exist.", diff --git a/tests/baselines/reference/node10IsNode_node.trace.json b/tests/baselines/reference/node10IsNode_node.trace.json index e95e7fef4cd..63b91f9db02 100644 --- a/tests/baselines/reference/node10IsNode_node.trace.json +++ b/tests/baselines/reference/node10IsNode_node.trace.json @@ -1,9 +1,11 @@ [ + "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", + "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module 'fancy-lib' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'fancy-lib' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", + "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", "File '/node_modules/fancy-lib.ts' does not exist.", "File '/node_modules/fancy-lib.tsx' does not exist.", "File '/node_modules/fancy-lib.d.ts' does not exist.", diff --git a/tests/baselines/reference/node10IsNode_node10.trace.json b/tests/baselines/reference/node10IsNode_node10.trace.json index e95e7fef4cd..63b91f9db02 100644 --- a/tests/baselines/reference/node10IsNode_node10.trace.json +++ b/tests/baselines/reference/node10IsNode_node10.trace.json @@ -1,9 +1,11 @@ [ + "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", + "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module 'fancy-lib' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'fancy-lib' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", + "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", "File '/node_modules/fancy-lib.ts' does not exist.", "File '/node_modules/fancy-lib.tsx' does not exist.", "File '/node_modules/fancy-lib.d.ts' does not exist.", diff --git a/tests/baselines/reference/nodeColonModuleResolution.trace.json b/tests/baselines/reference/nodeColonModuleResolution.trace.json index 65af448d3ec..78ea40371a4 100644 --- a/tests/baselines/reference/nodeColonModuleResolution.trace.json +++ b/tests/baselines/reference/nodeColonModuleResolution.trace.json @@ -1,4 +1,10 @@ [ + "File '/a/b/node_modules/@types/node/package.json' does not exist.", + "File '/a/b/node_modules/@types/package.json' does not exist.", + "File '/a/b/node_modules/package.json' does not exist.", + "File '/a/b/package.json' does not exist.", + "File '/a/package.json' does not exist.", + "File '/package.json' does not exist.", "Module 'ph' was resolved as locally declared ambient module in file '/a/b/node_modules/@types/node/ph.d.ts'.", "======== Resolving module 'node:ph' from '/a/b/main.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", diff --git a/tests/baselines/reference/nodeColonModuleResolution2.trace.json b/tests/baselines/reference/nodeColonModuleResolution2.trace.json index 08083bc9c84..4d62d933946 100644 --- a/tests/baselines/reference/nodeColonModuleResolution2.trace.json +++ b/tests/baselines/reference/nodeColonModuleResolution2.trace.json @@ -14,6 +14,12 @@ "File '/a/b/node_modules/fake/thing/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/b/node_modules/fake/thing/index.d.ts', result '/a/b/node_modules/fake/thing/index.d.ts'.", "======== Module name 'fake:thing' was successfully resolved to '/a/b/node_modules/fake/thing/index.d.ts'. ========", + "File '/a/b/node_modules/fake/thing/package.json' does not exist according to earlier cached lookups.", + "File '/a/b/node_modules/fake/package.json' does not exist.", + "File '/a/b/node_modules/package.json' does not exist.", + "File '/a/b/package.json' does not exist.", + "File '/a/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/a/b/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/nullishCoalescingOperator7.errors.txt b/tests/baselines/reference/nullishCoalescingOperator7.errors.txt deleted file mode 100644 index 008d589a9e7..00000000000 --- a/tests/baselines/reference/nullishCoalescingOperator7.errors.txt +++ /dev/null @@ -1,24 +0,0 @@ -nullishCoalescingOperator7.ts(6,19): error TS2872: This kind of expression is always truthy. -nullishCoalescingOperator7.ts(7,19): error TS2872: This kind of expression is always truthy. -nullishCoalescingOperator7.ts(10,23): error TS2872: This kind of expression is always truthy. - - -==== nullishCoalescingOperator7.ts (3 errors) ==== - declare const a: string | undefined; - declare const b: string | undefined; - declare const c: string | undefined; - - const foo1 = a ? 1 : 2; - const foo2 = a ?? 'foo' ? 1 : 2; - ~~~~~ -!!! error TS2872: This kind of expression is always truthy. - const foo3 = a ?? 'foo' ? (b ?? 'bar') : (c ?? 'baz'); - ~~~~~ -!!! error TS2872: This kind of expression is always truthy. - - function f () { - const foo4 = a ?? 'foo' ? b ?? 'bar' : c ?? 'baz'; - ~~~~~ -!!! error TS2872: This kind of expression is always truthy. - } - \ No newline at end of file diff --git a/tests/baselines/reference/objectRestSpread.js b/tests/baselines/reference/objectRestSpread.js index 5908b8d2d41..a689b3f5761 100644 --- a/tests/baselines/reference/objectRestSpread.js +++ b/tests/baselines/reference/objectRestSpread.js @@ -40,7 +40,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/operationsAvailableOnPromisedType.js b/tests/baselines/reference/operationsAvailableOnPromisedType.js index 8ba23a7a47c..c84b83aed12 100644 --- a/tests/baselines/reference/operationsAvailableOnPromisedType.js +++ b/tests/baselines/reference/operationsAvailableOnPromisedType.js @@ -42,8 +42,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/organizeImports/JsxFactoryUsedTs.ts b/tests/baselines/reference/organizeImports/JsxFactoryUsedTs.ts index 74da2f99139..9447618c2c6 100644 --- a/tests/baselines/reference/organizeImports/JsxFactoryUsedTs.ts +++ b/tests/baselines/reference/organizeImports/JsxFactoryUsedTs.ts @@ -1,10 +1,6 @@ // ==ORIGINAL== +// ==NO CHANGES== import { React, Other } from "react"; -
; - -// ==ORGANIZED== - -
; diff --git a/tests/baselines/reference/organizeImports/Syntax_Error_Body.ts b/tests/baselines/reference/organizeImports/Syntax_Error_Body.ts index a3c8577ad00..70cb86ac68a 100644 --- a/tests/baselines/reference/organizeImports/Syntax_Error_Body.ts +++ b/tests/baselines/reference/organizeImports/Syntax_Error_Body.ts @@ -1,4 +1,5 @@ // ==ORIGINAL== +// ==NO CHANGES== import { F1, F2 } from "lib"; import * as NS from "lib"; @@ -6,10 +7,3 @@ import D from "lib"; class class class; D; - -// ==ORGANIZED== - -import D from "lib"; - -class class class; -D; diff --git a/tests/baselines/reference/organizeImports/Syntax_Error_Body_skipDestructiveCodeActions.ts b/tests/baselines/reference/organizeImports/Syntax_Error_Body_skipDestructiveCodeActions.ts index d48280a6cb9..70cb86ac68a 100644 --- a/tests/baselines/reference/organizeImports/Syntax_Error_Body_skipDestructiveCodeActions.ts +++ b/tests/baselines/reference/organizeImports/Syntax_Error_Body_skipDestructiveCodeActions.ts @@ -1,4 +1,5 @@ // ==ORIGINAL== +// ==NO CHANGES== import { F1, F2 } from "lib"; import * as NS from "lib"; @@ -6,11 +7,3 @@ import D from "lib"; class class class; D; - -// ==ORGANIZED== - -import * as NS from "lib"; -import D, { F1, F2 } from "lib"; - -class class class; -D; diff --git a/tests/baselines/reference/organizeImports/Syntax_Error_Imports.ts b/tests/baselines/reference/organizeImports/Syntax_Error_Imports.ts index 56a20f7aa56..6eb0b692de1 100644 --- a/tests/baselines/reference/organizeImports/Syntax_Error_Imports.ts +++ b/tests/baselines/reference/organizeImports/Syntax_Error_Imports.ts @@ -1,4 +1,5 @@ // ==ORIGINAL== +// ==NO CHANGES== import { F1, F2 class class class; } from "lib"; import * as NS from "lib"; @@ -6,10 +7,3 @@ class class class; import D from "lib"; D; - -// ==ORGANIZED== - -import D from "lib"; -class class class; - -D; diff --git a/tests/baselines/reference/organizeImports/Syntax_Error_Imports_skipDestructiveCodeActions.ts b/tests/baselines/reference/organizeImports/Syntax_Error_Imports_skipDestructiveCodeActions.ts index da5102320fe..6eb0b692de1 100644 --- a/tests/baselines/reference/organizeImports/Syntax_Error_Imports_skipDestructiveCodeActions.ts +++ b/tests/baselines/reference/organizeImports/Syntax_Error_Imports_skipDestructiveCodeActions.ts @@ -1,4 +1,5 @@ // ==ORIGINAL== +// ==NO CHANGES== import { F1, F2 class class class; } from "lib"; import * as NS from "lib"; @@ -6,11 +7,3 @@ class class class; import D from "lib"; D; - -// ==ORGANIZED== - -import * as NS from "lib"; -import D, { F1, F2, class, class, class } from "lib"; -class class class; - -D; diff --git a/tests/baselines/reference/organizeImports/parseErrors.ts b/tests/baselines/reference/organizeImports/parseErrors.ts new file mode 100644 index 00000000000..756652e2bd6 --- /dev/null +++ b/tests/baselines/reference/organizeImports/parseErrors.ts @@ -0,0 +1,20 @@ +// ==ORIGINAL== +// ==NO CHANGES== +declare module 'mod1' { + declare export type P = {| + |}; + declare export type F = {| + ...$Exact, + await?: Span, + |}; + declare export type S = {| + |}; + declare export type C = {| + |}; +} + +declare module 'mod2' { + import type { + U, + } from 'mod1'; +} \ No newline at end of file diff --git a/tests/baselines/reference/overshifts.errors.txt b/tests/baselines/reference/overshifts.errors.txt new file mode 100644 index 00000000000..dde392d2fda --- /dev/null +++ b/tests/baselines/reference/overshifts.errors.txt @@ -0,0 +1,253 @@ +overshifts.ts(2,1): suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 0`. +overshifts.ts(3,1): suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 27`. +overshifts.ts(4,1): suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 0`. +overshifts.ts(6,1): suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 0`. +overshifts.ts(7,1): suggestion TS6807: This operation can be simplified. This shift is identical to `1 << -27`. +overshifts.ts(8,1): suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 0`. +overshifts.ts(11,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. +overshifts.ts(12,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 27`. +overshifts.ts(13,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. +overshifts.ts(15,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. +overshifts.ts(16,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> -27`. +overshifts.ts(17,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. +overshifts.ts(20,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. +overshifts.ts(21,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 27`. +overshifts.ts(22,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. +overshifts.ts(24,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. +overshifts.ts(25,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> -27`. +overshifts.ts(26,1): suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. +overshifts.ts(30,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 0`. +overshifts.ts(31,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 27`. +overshifts.ts(32,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 0`. +overshifts.ts(34,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 0`. +overshifts.ts(35,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= -27`. +overshifts.ts(36,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 0`. +overshifts.ts(39,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 0`. +overshifts.ts(40,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 27`. +overshifts.ts(41,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 0`. +overshifts.ts(43,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 0`. +overshifts.ts(44,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= -27`. +overshifts.ts(45,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 0`. +overshifts.ts(48,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 0`. +overshifts.ts(49,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 27`. +overshifts.ts(50,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 0`. +overshifts.ts(52,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 0`. +overshifts.ts(53,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= -27`. +overshifts.ts(54,1): suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 0`. +overshifts.ts(58,9): error TS6807: This operation can be simplified. This shift is identical to `1 << 0`. +overshifts.ts(59,9): error TS6807: This operation can be simplified. This shift is identical to `1 << 27`. +overshifts.ts(60,9): error TS6807: This operation can be simplified. This shift is identical to `1 << 0`. +overshifts.ts(62,9): error TS6807: This operation can be simplified. This shift is identical to `1 << 0`. +overshifts.ts(63,9): error TS6807: This operation can be simplified. This shift is identical to `1 << -27`. +overshifts.ts(64,9): error TS6807: This operation can be simplified. This shift is identical to `1 << 0`. +overshifts.ts(69,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. +overshifts.ts(70,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 27`. +overshifts.ts(71,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. +overshifts.ts(73,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. +overshifts.ts(74,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> -27`. +overshifts.ts(75,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. +overshifts.ts(80,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. +overshifts.ts(81,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 27`. +overshifts.ts(82,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. +overshifts.ts(84,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. +overshifts.ts(85,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> -27`. +overshifts.ts(86,9): error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + + +==== overshifts.ts (54 errors) ==== + 1 << 1; // ok + 1 << 32; // overshift + ~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 0`. + 1 << 123; + ~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 27`. + 1 << 1024; + ~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 0`. + 1 << -1; // OK-ish + 1 << -32; // backwards overshift + ~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 0`. + 1 << -123; + ~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `1 << -27`. + 1 << -1024; + ~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `1 << 0`. + + 0xFF_FF_FF_FF >> 1; // ok + 0xFF_FF_FF_FF >> 32; // overshift + ~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. + 0xFF_FF_FF_FF >> 123; + ~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 27`. + 0xFF_FF_FF_FF >> 1024; + ~~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. + 0xFF_FF_FF_FF >> -1; // OK-ish + 0xFF_FF_FF_FF >> -32; // backwards overshift + ~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. + 0xFF_FF_FF_FF >> -123; + ~~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> -27`. + 0xFF_FF_FF_FF >> -1024; + ~~~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. + + 0xFF_FF_FF_FF >>> 1; // ok + 0xFF_FF_FF_FF >>> 32; // overshift + ~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + 0xFF_FF_FF_FF >>> 123; + ~~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 27`. + 0xFF_FF_FF_FF >>> 1024; + ~~~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + 0xFF_FF_FF_FF >>> -1; // OK-ish + 0xFF_FF_FF_FF >>> -32; // backwards overshift + ~~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + 0xFF_FF_FF_FF >>> -123; + ~~~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> -27`. + 0xFF_FF_FF_FF >>> -1024; + ~~~~~~~~~~~~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + + let x = 1; + x <<= 1; // ok + x <<= 32; // overshift + ~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 0`. + x <<= 123; + ~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 27`. + x <<= 1024; + ~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 0`. + x <<= -1; // OK-ish + x <<= -32; // backwards overshift + ~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 0`. + x <<= -123; + ~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= -27`. + x <<= -1024; + ~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x <<= 0`. + + x >>= 1; // ok + x >>= 32; // overshift + ~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 0`. + x >>= 123; + ~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 27`. + x >>= 1024; + ~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 0`. + x >>= -1; // OK-ish + x >>= -32; // backwards overshift + ~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 0`. + x >>= -123; + ~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= -27`. + x >>= -1024; + ~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>= 0`. + + x >>>= 1; // ok + x >>>= 32; // overshift + ~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 0`. + x >>>= 123; + ~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 27`. + x >>>= 1024; + ~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 0`. + x >>>= -1; // OK-ish + x >>>= -32; // backwards overshift + ~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 0`. + x >>>= -123; + ~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= -27`. + x >>>= -1024; + ~~~~~~~~~~~~ +!!! suggestion TS6807: This operation can be simplified. This shift is identical to `x >>>= 0`. + + enum One { + A = 1 << 1, // ok + B = 1 << 32, // overshift + ~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `1 << 0`. + C = 1 << 123, + ~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `1 << 27`. + D = 1 << 1024, + ~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `1 << 0`. + E = 1 << -1, // OK-ish + F = 1 << -32, // backwards overshift + ~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `1 << 0`. + G = 1 << -123, + ~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `1 << -27`. + H = 1 << -1024, + ~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `1 << 0`. + } + + enum Two { + A = 0xFF_FF_FF_FF >> 1, // ok + B = 0xFF_FF_FF_FF >> 32, // overshift + ~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. + C = 0xFF_FF_FF_FF >> 123, + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 27`. + D = 0xFF_FF_FF_FF >> 1024, + ~~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. + E = 0xFF_FF_FF_FF >> -1, // OK-ish + F = 0xFF_FF_FF_FF >> -32, // backwards overshift + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. + G = 0xFF_FF_FF_FF >> -123, + ~~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> -27`. + H = 0xFF_FF_FF_FF >> -1024, + ~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >> 0`. + } + + enum Three { + A = 0xFF_FF_FF_FF >>> 1, // ok + B = 0xFF_FF_FF_FF >>> 32, // overshift + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + C = 0xFF_FF_FF_FF >>> 123, + ~~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 27`. + D = 0xFF_FF_FF_FF >>> 1024, + ~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + E = 0xFF_FF_FF_FF >>> -1, // OK-ish + F = 0xFF_FF_FF_FF >>> -32, // backwards overshift + ~~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + G = 0xFF_FF_FF_FF >>> -123, + ~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> -27`. + H = 0xFF_FF_FF_FF >>> -1024, + ~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS6807: This operation can be simplified. This shift is identical to `0xFF_FF_FF_FF >>> 0`. + } + \ No newline at end of file diff --git a/tests/baselines/reference/overshifts.js b/tests/baselines/reference/overshifts.js new file mode 100644 index 00000000000..4fec6ff6101 --- /dev/null +++ b/tests/baselines/reference/overshifts.js @@ -0,0 +1,175 @@ +//// [tests/cases/compiler/overshifts.ts] //// + +//// [overshifts.ts] +1 << 1; // ok +1 << 32; // overshift +1 << 123; +1 << 1024; +1 << -1; // OK-ish +1 << -32; // backwards overshift +1 << -123; +1 << -1024; + +0xFF_FF_FF_FF >> 1; // ok +0xFF_FF_FF_FF >> 32; // overshift +0xFF_FF_FF_FF >> 123; +0xFF_FF_FF_FF >> 1024; +0xFF_FF_FF_FF >> -1; // OK-ish +0xFF_FF_FF_FF >> -32; // backwards overshift +0xFF_FF_FF_FF >> -123; +0xFF_FF_FF_FF >> -1024; + +0xFF_FF_FF_FF >>> 1; // ok +0xFF_FF_FF_FF >>> 32; // overshift +0xFF_FF_FF_FF >>> 123; +0xFF_FF_FF_FF >>> 1024; +0xFF_FF_FF_FF >>> -1; // OK-ish +0xFF_FF_FF_FF >>> -32; // backwards overshift +0xFF_FF_FF_FF >>> -123; +0xFF_FF_FF_FF >>> -1024; + +let x = 1; +x <<= 1; // ok +x <<= 32; // overshift +x <<= 123; +x <<= 1024; +x <<= -1; // OK-ish +x <<= -32; // backwards overshift +x <<= -123; +x <<= -1024; + +x >>= 1; // ok +x >>= 32; // overshift +x >>= 123; +x >>= 1024; +x >>= -1; // OK-ish +x >>= -32; // backwards overshift +x >>= -123; +x >>= -1024; + +x >>>= 1; // ok +x >>>= 32; // overshift +x >>>= 123; +x >>>= 1024; +x >>>= -1; // OK-ish +x >>>= -32; // backwards overshift +x >>>= -123; +x >>>= -1024; + +enum One { + A = 1 << 1, // ok + B = 1 << 32, // overshift + C = 1 << 123, + D = 1 << 1024, + E = 1 << -1, // OK-ish + F = 1 << -32, // backwards overshift + G = 1 << -123, + H = 1 << -1024, +} + +enum Two { + A = 0xFF_FF_FF_FF >> 1, // ok + B = 0xFF_FF_FF_FF >> 32, // overshift + C = 0xFF_FF_FF_FF >> 123, + D = 0xFF_FF_FF_FF >> 1024, + E = 0xFF_FF_FF_FF >> -1, // OK-ish + F = 0xFF_FF_FF_FF >> -32, // backwards overshift + G = 0xFF_FF_FF_FF >> -123, + H = 0xFF_FF_FF_FF >> -1024, +} + +enum Three { + A = 0xFF_FF_FF_FF >>> 1, // ok + B = 0xFF_FF_FF_FF >>> 32, // overshift + C = 0xFF_FF_FF_FF >>> 123, + D = 0xFF_FF_FF_FF >>> 1024, + E = 0xFF_FF_FF_FF >>> -1, // OK-ish + F = 0xFF_FF_FF_FF >>> -32, // backwards overshift + G = 0xFF_FF_FF_FF >>> -123, + H = 0xFF_FF_FF_FF >>> -1024, +} + + +//// [overshifts.js] +1 << 1; // ok +1 << 32; // overshift +1 << 123; +1 << 1024; +1 << -1; // OK-ish +1 << -32; // backwards overshift +1 << -123; +1 << -1024; +4294967295 >> 1; // ok +4294967295 >> 32; // overshift +4294967295 >> 123; +4294967295 >> 1024; +4294967295 >> -1; // OK-ish +4294967295 >> -32; // backwards overshift +4294967295 >> -123; +4294967295 >> -1024; +4294967295 >>> 1; // ok +4294967295 >>> 32; // overshift +4294967295 >>> 123; +4294967295 >>> 1024; +4294967295 >>> -1; // OK-ish +4294967295 >>> -32; // backwards overshift +4294967295 >>> -123; +4294967295 >>> -1024; +var x = 1; +x <<= 1; // ok +x <<= 32; // overshift +x <<= 123; +x <<= 1024; +x <<= -1; // OK-ish +x <<= -32; // backwards overshift +x <<= -123; +x <<= -1024; +x >>= 1; // ok +x >>= 32; // overshift +x >>= 123; +x >>= 1024; +x >>= -1; // OK-ish +x >>= -32; // backwards overshift +x >>= -123; +x >>= -1024; +x >>>= 1; // ok +x >>>= 32; // overshift +x >>>= 123; +x >>>= 1024; +x >>>= -1; // OK-ish +x >>>= -32; // backwards overshift +x >>>= -123; +x >>>= -1024; +var One; +(function (One) { + One[One["A"] = 2] = "A"; + One[One["B"] = 1] = "B"; + One[One["C"] = 134217728] = "C"; + One[One["D"] = 1] = "D"; + One[One["E"] = -2147483648] = "E"; + One[One["F"] = 1] = "F"; + One[One["G"] = 32] = "G"; + One[One["H"] = 1] = "H"; +})(One || (One = {})); +var Two; +(function (Two) { + Two[Two["A"] = -1] = "A"; + Two[Two["B"] = -1] = "B"; + Two[Two["C"] = -1] = "C"; + Two[Two["D"] = -1] = "D"; + Two[Two["E"] = -1] = "E"; + Two[Two["F"] = -1] = "F"; + Two[Two["G"] = -1] = "G"; + Two[Two["H"] = -1] = "H"; +})(Two || (Two = {})); +var Three; +(function (Three) { + Three[Three["A"] = 2147483647] = "A"; + Three[Three["B"] = 4294967295] = "B"; + Three[Three["C"] = 31] = "C"; + Three[Three["D"] = 4294967295] = "D"; + Three[Three["E"] = 1] = "E"; + Three[Three["F"] = 4294967295] = "F"; + Three[Three["G"] = 134217727] = "G"; + Three[Three["H"] = 4294967295] = "H"; +})(Three || (Three = {})); diff --git a/tests/baselines/reference/overshifts.symbols b/tests/baselines/reference/overshifts.symbols new file mode 100644 index 00000000000..c961b941e6e --- /dev/null +++ b/tests/baselines/reference/overshifts.symbols @@ -0,0 +1,189 @@ +//// [tests/cases/compiler/overshifts.ts] //// + +=== overshifts.ts === +1 << 1; // ok +1 << 32; // overshift +1 << 123; +1 << 1024; +1 << -1; // OK-ish +1 << -32; // backwards overshift +1 << -123; +1 << -1024; + +0xFF_FF_FF_FF >> 1; // ok +0xFF_FF_FF_FF >> 32; // overshift +0xFF_FF_FF_FF >> 123; +0xFF_FF_FF_FF >> 1024; +0xFF_FF_FF_FF >> -1; // OK-ish +0xFF_FF_FF_FF >> -32; // backwards overshift +0xFF_FF_FF_FF >> -123; +0xFF_FF_FF_FF >> -1024; + +0xFF_FF_FF_FF >>> 1; // ok +0xFF_FF_FF_FF >>> 32; // overshift +0xFF_FF_FF_FF >>> 123; +0xFF_FF_FF_FF >>> 1024; +0xFF_FF_FF_FF >>> -1; // OK-ish +0xFF_FF_FF_FF >>> -32; // backwards overshift +0xFF_FF_FF_FF >>> -123; +0xFF_FF_FF_FF >>> -1024; + +let x = 1; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x <<= 1; // ok +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x <<= 32; // overshift +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x <<= 123; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x <<= 1024; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x <<= -1; // OK-ish +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x <<= -32; // backwards overshift +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x <<= -123; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x <<= -1024; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>= 1; // ok +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>= 32; // overshift +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>= 123; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>= 1024; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>= -1; // OK-ish +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>= -32; // backwards overshift +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>= -123; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>= -1024; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>>= 1; // ok +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>>= 32; // overshift +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>>= 123; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>>= 1024; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>>= -1; // OK-ish +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>>= -32; // backwards overshift +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>>= -123; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +x >>>= -1024; +>x : Symbol(x, Decl(overshifts.ts, 27, 3)) + +enum One { +>One : Symbol(One, Decl(overshifts.ts, 53, 13)) + + A = 1 << 1, // ok +>A : Symbol(One.A, Decl(overshifts.ts, 55, 10)) + + B = 1 << 32, // overshift +>B : Symbol(One.B, Decl(overshifts.ts, 56, 15)) + + C = 1 << 123, +>C : Symbol(One.C, Decl(overshifts.ts, 57, 16)) + + D = 1 << 1024, +>D : Symbol(One.D, Decl(overshifts.ts, 58, 17)) + + E = 1 << -1, // OK-ish +>E : Symbol(One.E, Decl(overshifts.ts, 59, 18)) + + F = 1 << -32, // backwards overshift +>F : Symbol(One.F, Decl(overshifts.ts, 60, 16)) + + G = 1 << -123, +>G : Symbol(One.G, Decl(overshifts.ts, 61, 17)) + + H = 1 << -1024, +>H : Symbol(One.H, Decl(overshifts.ts, 62, 18)) +} + +enum Two { +>Two : Symbol(Two, Decl(overshifts.ts, 64, 1)) + + A = 0xFF_FF_FF_FF >> 1, // ok +>A : Symbol(Two.A, Decl(overshifts.ts, 66, 10)) + + B = 0xFF_FF_FF_FF >> 32, // overshift +>B : Symbol(Two.B, Decl(overshifts.ts, 67, 27)) + + C = 0xFF_FF_FF_FF >> 123, +>C : Symbol(Two.C, Decl(overshifts.ts, 68, 28)) + + D = 0xFF_FF_FF_FF >> 1024, +>D : Symbol(Two.D, Decl(overshifts.ts, 69, 29)) + + E = 0xFF_FF_FF_FF >> -1, // OK-ish +>E : Symbol(Two.E, Decl(overshifts.ts, 70, 30)) + + F = 0xFF_FF_FF_FF >> -32, // backwards overshift +>F : Symbol(Two.F, Decl(overshifts.ts, 71, 28)) + + G = 0xFF_FF_FF_FF >> -123, +>G : Symbol(Two.G, Decl(overshifts.ts, 72, 29)) + + H = 0xFF_FF_FF_FF >> -1024, +>H : Symbol(Two.H, Decl(overshifts.ts, 73, 30)) +} + +enum Three { +>Three : Symbol(Three, Decl(overshifts.ts, 75, 1)) + + A = 0xFF_FF_FF_FF >>> 1, // ok +>A : Symbol(Three.A, Decl(overshifts.ts, 77, 12)) + + B = 0xFF_FF_FF_FF >>> 32, // overshift +>B : Symbol(Three.B, Decl(overshifts.ts, 78, 28)) + + C = 0xFF_FF_FF_FF >>> 123, +>C : Symbol(Three.C, Decl(overshifts.ts, 79, 29)) + + D = 0xFF_FF_FF_FF >>> 1024, +>D : Symbol(Three.D, Decl(overshifts.ts, 80, 30)) + + E = 0xFF_FF_FF_FF >>> -1, // OK-ish +>E : Symbol(Three.E, Decl(overshifts.ts, 81, 31)) + + F = 0xFF_FF_FF_FF >>> -32, // backwards overshift +>F : Symbol(Three.F, Decl(overshifts.ts, 82, 29)) + + G = 0xFF_FF_FF_FF >>> -123, +>G : Symbol(Three.G, Decl(overshifts.ts, 83, 30)) + + H = 0xFF_FF_FF_FF >>> -1024, +>H : Symbol(Three.H, Decl(overshifts.ts, 84, 31)) +} + diff --git a/tests/baselines/reference/overshifts.types b/tests/baselines/reference/overshifts.types new file mode 100644 index 00000000000..1ca92338206 --- /dev/null +++ b/tests/baselines/reference/overshifts.types @@ -0,0 +1,720 @@ +//// [tests/cases/compiler/overshifts.ts] //// + +=== overshifts.ts === +1 << 1; // ok +>1 << 1 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>1 : 1 +> : ^ + +1 << 32; // overshift +>1 << 32 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>32 : 32 +> : ^^ + +1 << 123; +>1 << 123 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>123 : 123 +> : ^^^ + +1 << 1024; +>1 << 1024 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>1024 : 1024 +> : ^^^^ + +1 << -1; // OK-ish +>1 << -1 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + +1 << -32; // backwards overshift +>1 << -32 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + +1 << -123; +>1 << -123 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + +1 << -1024; +>1 << -1024 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ + +0xFF_FF_FF_FF >> 1; // ok +>0xFF_FF_FF_FF >> 1 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>1 : 1 +> : ^ + +0xFF_FF_FF_FF >> 32; // overshift +>0xFF_FF_FF_FF >> 32 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>32 : 32 +> : ^^ + +0xFF_FF_FF_FF >> 123; +>0xFF_FF_FF_FF >> 123 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>123 : 123 +> : ^^^ + +0xFF_FF_FF_FF >> 1024; +>0xFF_FF_FF_FF >> 1024 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>1024 : 1024 +> : ^^^^ + +0xFF_FF_FF_FF >> -1; // OK-ish +>0xFF_FF_FF_FF >> -1 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + +0xFF_FF_FF_FF >> -32; // backwards overshift +>0xFF_FF_FF_FF >> -32 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + +0xFF_FF_FF_FF >> -123; +>0xFF_FF_FF_FF >> -123 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + +0xFF_FF_FF_FF >> -1024; +>0xFF_FF_FF_FF >> -1024 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ + +0xFF_FF_FF_FF >>> 1; // ok +>0xFF_FF_FF_FF >>> 1 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>1 : 1 +> : ^ + +0xFF_FF_FF_FF >>> 32; // overshift +>0xFF_FF_FF_FF >>> 32 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>32 : 32 +> : ^^ + +0xFF_FF_FF_FF >>> 123; +>0xFF_FF_FF_FF >>> 123 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>123 : 123 +> : ^^^ + +0xFF_FF_FF_FF >>> 1024; +>0xFF_FF_FF_FF >>> 1024 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>1024 : 1024 +> : ^^^^ + +0xFF_FF_FF_FF >>> -1; // OK-ish +>0xFF_FF_FF_FF >>> -1 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + +0xFF_FF_FF_FF >>> -32; // backwards overshift +>0xFF_FF_FF_FF >>> -32 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + +0xFF_FF_FF_FF >>> -123; +>0xFF_FF_FF_FF >>> -123 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + +0xFF_FF_FF_FF >>> -1024; +>0xFF_FF_FF_FF >>> -1024 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ + +let x = 1; +>x : number +> : ^^^^^^ +>1 : 1 +> : ^ + +x <<= 1; // ok +>x <<= 1 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>1 : 1 +> : ^ + +x <<= 32; // overshift +>x <<= 32 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>32 : 32 +> : ^^ + +x <<= 123; +>x <<= 123 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>123 : 123 +> : ^^^ + +x <<= 1024; +>x <<= 1024 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>1024 : 1024 +> : ^^^^ + +x <<= -1; // OK-ish +>x <<= -1 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + +x <<= -32; // backwards overshift +>x <<= -32 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + +x <<= -123; +>x <<= -123 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + +x <<= -1024; +>x <<= -1024 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ + +x >>= 1; // ok +>x >>= 1 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>1 : 1 +> : ^ + +x >>= 32; // overshift +>x >>= 32 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>32 : 32 +> : ^^ + +x >>= 123; +>x >>= 123 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>123 : 123 +> : ^^^ + +x >>= 1024; +>x >>= 1024 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>1024 : 1024 +> : ^^^^ + +x >>= -1; // OK-ish +>x >>= -1 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + +x >>= -32; // backwards overshift +>x >>= -32 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + +x >>= -123; +>x >>= -123 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + +x >>= -1024; +>x >>= -1024 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ + +x >>>= 1; // ok +>x >>>= 1 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>1 : 1 +> : ^ + +x >>>= 32; // overshift +>x >>>= 32 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>32 : 32 +> : ^^ + +x >>>= 123; +>x >>>= 123 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>123 : 123 +> : ^^^ + +x >>>= 1024; +>x >>>= 1024 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>1024 : 1024 +> : ^^^^ + +x >>>= -1; // OK-ish +>x >>>= -1 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + +x >>>= -32; // backwards overshift +>x >>>= -32 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + +x >>>= -123; +>x >>>= -123 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + +x >>>= -1024; +>x >>>= -1024 : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ + +enum One { +>One : One +> : ^^^ + + A = 1 << 1, // ok +>A : One.A +> : ^^^^^ +>1 << 1 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>1 : 1 +> : ^ + + B = 1 << 32, // overshift +>B : One.B +> : ^^^^^ +>1 << 32 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>32 : 32 +> : ^^ + + C = 1 << 123, +>C : One.C +> : ^^^^^ +>1 << 123 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>123 : 123 +> : ^^^ + + D = 1 << 1024, +>D : One.B +> : ^^^^^ +>1 << 1024 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>1024 : 1024 +> : ^^^^ + + E = 1 << -1, // OK-ish +>E : One.E +> : ^^^^^ +>1 << -1 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + + F = 1 << -32, // backwards overshift +>F : One.B +> : ^^^^^ +>1 << -32 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + + G = 1 << -123, +>G : One.G +> : ^^^^^ +>1 << -123 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + + H = 1 << -1024, +>H : One.B +> : ^^^^^ +>1 << -1024 : number +> : ^^^^^^ +>1 : 1 +> : ^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ +} + +enum Two { +>Two : Two +> : ^^^ + + A = 0xFF_FF_FF_FF >> 1, // ok +>A : Two.A +> : ^^^^^ +>0xFF_FF_FF_FF >> 1 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>1 : 1 +> : ^ + + B = 0xFF_FF_FF_FF >> 32, // overshift +>B : Two.A +> : ^^^^^ +>0xFF_FF_FF_FF >> 32 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>32 : 32 +> : ^^ + + C = 0xFF_FF_FF_FF >> 123, +>C : Two.A +> : ^^^^^ +>0xFF_FF_FF_FF >> 123 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>123 : 123 +> : ^^^ + + D = 0xFF_FF_FF_FF >> 1024, +>D : Two.A +> : ^^^^^ +>0xFF_FF_FF_FF >> 1024 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>1024 : 1024 +> : ^^^^ + + E = 0xFF_FF_FF_FF >> -1, // OK-ish +>E : Two.A +> : ^^^^^ +>0xFF_FF_FF_FF >> -1 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + + F = 0xFF_FF_FF_FF >> -32, // backwards overshift +>F : Two.A +> : ^^^^^ +>0xFF_FF_FF_FF >> -32 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + + G = 0xFF_FF_FF_FF >> -123, +>G : Two.A +> : ^^^^^ +>0xFF_FF_FF_FF >> -123 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + + H = 0xFF_FF_FF_FF >> -1024, +>H : Two.A +> : ^^^^^ +>0xFF_FF_FF_FF >> -1024 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ +} + +enum Three { +>Three : Three +> : ^^^^^ + + A = 0xFF_FF_FF_FF >>> 1, // ok +>A : Three.A +> : ^^^^^^^ +>0xFF_FF_FF_FF >>> 1 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>1 : 1 +> : ^ + + B = 0xFF_FF_FF_FF >>> 32, // overshift +>B : Three.B +> : ^^^^^^^ +>0xFF_FF_FF_FF >>> 32 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>32 : 32 +> : ^^ + + C = 0xFF_FF_FF_FF >>> 123, +>C : Three.C +> : ^^^^^^^ +>0xFF_FF_FF_FF >>> 123 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>123 : 123 +> : ^^^ + + D = 0xFF_FF_FF_FF >>> 1024, +>D : Three.B +> : ^^^^^^^ +>0xFF_FF_FF_FF >>> 1024 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>1024 : 1024 +> : ^^^^ + + E = 0xFF_FF_FF_FF >>> -1, // OK-ish +>E : Three.E +> : ^^^^^^^ +>0xFF_FF_FF_FF >>> -1 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-1 : -1 +> : ^^ +>1 : 1 +> : ^ + + F = 0xFF_FF_FF_FF >>> -32, // backwards overshift +>F : Three.B +> : ^^^^^^^ +>0xFF_FF_FF_FF >>> -32 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-32 : -32 +> : ^^^ +>32 : 32 +> : ^^ + + G = 0xFF_FF_FF_FF >>> -123, +>G : Three.G +> : ^^^^^^^ +>0xFF_FF_FF_FF >>> -123 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-123 : -123 +> : ^^^^ +>123 : 123 +> : ^^^ + + H = 0xFF_FF_FF_FF >>> -1024, +>H : Three.B +> : ^^^^^^^ +>0xFF_FF_FF_FF >>> -1024 : number +> : ^^^^^^ +>0xFF_FF_FF_FF : 4294967295 +> : ^^^^^^^^^^ +>-1024 : -1024 +> : ^^^^^ +>1024 : 1024 +> : ^^^^ +} + diff --git a/tests/baselines/reference/parameterPropertyInConstructor4.js b/tests/baselines/reference/parameterPropertyInConstructor4.js new file mode 100644 index 00000000000..d4183c73937 --- /dev/null +++ b/tests/baselines/reference/parameterPropertyInConstructor4.js @@ -0,0 +1,28 @@ +//// [tests/cases/compiler/parameterPropertyInConstructor4.ts] //// + +//// [parameterPropertyInConstructor4.ts] +export class C { + constructor(public a: number[] = [], b: number) { + } +} + + +//// [parameterPropertyInConstructor4.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.C = void 0; +var C = /** @class */ (function () { + function C(a, b) { + if (a === void 0) { a = []; } + this.a = a; + } + return C; +}()); +exports.C = C; + + +//// [parameterPropertyInConstructor4.d.ts] +export declare class C { + a: number[]; + constructor(a: number[] | undefined, b: number); +} diff --git a/tests/baselines/reference/parameterPropertyInConstructor4.symbols b/tests/baselines/reference/parameterPropertyInConstructor4.symbols new file mode 100644 index 00000000000..b0517c309a2 --- /dev/null +++ b/tests/baselines/reference/parameterPropertyInConstructor4.symbols @@ -0,0 +1,12 @@ +//// [tests/cases/compiler/parameterPropertyInConstructor4.ts] //// + +=== parameterPropertyInConstructor4.ts === +export class C { +>C : Symbol(C, Decl(parameterPropertyInConstructor4.ts, 0, 0)) + + constructor(public a: number[] = [], b: number) { +>a : Symbol(C.a, Decl(parameterPropertyInConstructor4.ts, 1, 16)) +>b : Symbol(b, Decl(parameterPropertyInConstructor4.ts, 1, 40)) + } +} + diff --git a/tests/baselines/reference/parameterPropertyInConstructor4.types b/tests/baselines/reference/parameterPropertyInConstructor4.types new file mode 100644 index 00000000000..d193fc8d29e --- /dev/null +++ b/tests/baselines/reference/parameterPropertyInConstructor4.types @@ -0,0 +1,17 @@ +//// [tests/cases/compiler/parameterPropertyInConstructor4.ts] //// + +=== parameterPropertyInConstructor4.ts === +export class C { +>C : C +> : ^ + + constructor(public a: number[] = [], b: number) { +>a : number[] +> : ^^^^^^^^ +>[] : never[] +> : ^^^^^^^ +>b : number +> : ^^^^^^ + } +} + diff --git a/tests/baselines/reference/parametersSyntaxErrorNoCrash1.errors.txt b/tests/baselines/reference/parametersSyntaxErrorNoCrash1.errors.txt new file mode 100644 index 00000000000..19991af5050 --- /dev/null +++ b/tests/baselines/reference/parametersSyntaxErrorNoCrash1.errors.txt @@ -0,0 +1,42 @@ +parametersSyntaxErrorNoCrash1.ts(3,10): error TS2391: Function implementation is missing or not immediately following the declaration. +parametersSyntaxErrorNoCrash1.ts(3,10): error TS7010: 'identity', which lacks return-type annotation, implicitly has an 'any' return type. +parametersSyntaxErrorNoCrash1.ts(3,22): error TS2300: Duplicate identifier 'arg'. +parametersSyntaxErrorNoCrash1.ts(3,28): error TS1005: ',' expected. +parametersSyntaxErrorNoCrash1.ts(3,30): error TS7006: Parameter 'T' implicitly has an 'any' type. +parametersSyntaxErrorNoCrash1.ts(3,32): error TS1005: ',' expected. +parametersSyntaxErrorNoCrash1.ts(4,12): error TS1005: ':' expected. +parametersSyntaxErrorNoCrash1.ts(4,12): error TS2300: Duplicate identifier 'arg'. +parametersSyntaxErrorNoCrash1.ts(4,12): error TS2842: 'arg' is an unused renaming of 'return'. Did you intend to use it as a type annotation? +parametersSyntaxErrorNoCrash1.ts(4,15): error TS1005: ',' expected. +parametersSyntaxErrorNoCrash1.ts(5,2): error TS1005: ')' expected. + + +==== parametersSyntaxErrorNoCrash1.ts (11 errors) ==== + // https://github.com/microsoft/TypeScript/issues/59422 + + function identity(arg: T: T { + ~~~~~~~~ +!!! error TS2391: Function implementation is missing or not immediately following the declaration. + ~~~~~~~~ +!!! error TS7010: 'identity', which lacks return-type annotation, implicitly has an 'any' return type. + ~~~ +!!! error TS2300: Duplicate identifier 'arg'. + ~ +!!! error TS1005: ',' expected. + ~ +!!! error TS7006: Parameter 'T' implicitly has an 'any' type. + ~ +!!! error TS1005: ',' expected. + return arg; + ~~~ +!!! error TS1005: ':' expected. + ~~~ +!!! error TS2300: Duplicate identifier 'arg'. + ~~~ +!!! error TS2842: 'arg' is an unused renaming of 'return'. Did you intend to use it as a type annotation? +!!! related TS2843 parametersSyntaxErrorNoCrash1.ts:5:2: We can only write a type for 'return' by adding a type for the entire parameter here. + ~ +!!! error TS1005: ',' expected. + } + +!!! error TS1005: ')' expected. \ No newline at end of file diff --git a/tests/baselines/reference/parametersSyntaxErrorNoCrash2.errors.txt b/tests/baselines/reference/parametersSyntaxErrorNoCrash2.errors.txt new file mode 100644 index 00000000000..4df2a2a5dda --- /dev/null +++ b/tests/baselines/reference/parametersSyntaxErrorNoCrash2.errors.txt @@ -0,0 +1,35 @@ +parametersSyntaxErrorNoCrash2.ts(3,25): error TS2391: Function implementation is missing or not immediately following the declaration. +parametersSyntaxErrorNoCrash2.ts(3,25): error TS7010: 'getThing', which lacks return-type annotation, implicitly has an 'any' return type. +parametersSyntaxErrorNoCrash2.ts(3,43): error TS2300: Duplicate identifier '(Missing)'. +parametersSyntaxErrorNoCrash2.ts(3,43): error TS2842: '(Missing)' is an unused renaming of 'return'. Did you intend to use it as a type annotation? +parametersSyntaxErrorNoCrash2.ts(3,44): error TS1005: ':' expected. +parametersSyntaxErrorNoCrash2.ts(3,51): error TS2300: Duplicate identifier '(Missing)'. +parametersSyntaxErrorNoCrash2.ts(3,51): error TS2842: '(Missing)' is an unused renaming of ''thing''. Did you intend to use it as a type annotation? +parametersSyntaxErrorNoCrash2.ts(3,51): error TS1005: ':' expected. +parametersSyntaxErrorNoCrash2.ts(3,54): error TS1005: ')' expected. + + +==== parametersSyntaxErrorNoCrash2.ts (9 errors) ==== + // https://github.com/microsoft/TypeScript/issues/59353 + + export default function getThing( { return 'thing'; } + ~~~~~~~~ +!!! error TS2391: Function implementation is missing or not immediately following the declaration. + ~~~~~~~~ +!!! error TS7010: 'getThing', which lacks return-type annotation, implicitly has an 'any' return type. + +!!! error TS2300: Duplicate identifier '(Missing)'. + +!!! error TS2842: '(Missing)' is an unused renaming of 'return'. Did you intend to use it as a type annotation? +!!! related TS2843 parametersSyntaxErrorNoCrash2.ts:3:54: We can only write a type for 'return' by adding a type for the entire parameter here. + ~~~~~~~ +!!! error TS1005: ':' expected. + +!!! error TS2300: Duplicate identifier '(Missing)'. + +!!! error TS2842: '(Missing)' is an unused renaming of ''thing''. Did you intend to use it as a type annotation? +!!! related TS2843 parametersSyntaxErrorNoCrash2.ts:3:54: We can only write a type for ''thing'' by adding a type for the entire parameter here. + ~ +!!! error TS1005: ':' expected. + +!!! error TS1005: ')' expected. \ No newline at end of file diff --git a/tests/baselines/reference/parametersSyntaxErrorNoCrash3.errors.txt b/tests/baselines/reference/parametersSyntaxErrorNoCrash3.errors.txt new file mode 100644 index 00000000000..7af7ce2b628 --- /dev/null +++ b/tests/baselines/reference/parametersSyntaxErrorNoCrash3.errors.txt @@ -0,0 +1,37 @@ +parametersSyntaxErrorNoCrash3.ts(3,17): error TS2391: Function implementation is missing or not immediately following the declaration. +parametersSyntaxErrorNoCrash3.ts(3,17): error TS7010: 'getHtml', which lacks return-type annotation, implicitly has an 'any' return type. +parametersSyntaxErrorNoCrash3.ts(4,11): error TS2300: Duplicate identifier '(Missing)'. +parametersSyntaxErrorNoCrash3.ts(4,11): error TS2842: '(Missing)' is an unused renaming of 'return'. Did you intend to use it as a type annotation? +parametersSyntaxErrorNoCrash3.ts(4,13): error TS1005: ':' expected. +parametersSyntaxErrorNoCrash3.ts(4,22): error TS2300: Duplicate identifier '(Missing)'. +parametersSyntaxErrorNoCrash3.ts(4,22): error TS2842: '(Missing)' is an unused renaming of '" string"'. Did you intend to use it as a type annotation? +parametersSyntaxErrorNoCrash3.ts(5,1): error TS1005: ':' expected. +parametersSyntaxErrorNoCrash3.ts(5,2): error TS1005: ')' expected. + + +==== parametersSyntaxErrorNoCrash3.ts (9 errors) ==== + // https://github.com/microsoft/TypeScript/issues/59449 + + export function getHtml({ + ~~~~~~~ +!!! error TS2391: Function implementation is missing or not immediately following the declaration. + ~~~~~~~ +!!! error TS7010: 'getHtml', which lacks return-type annotation, implicitly has an 'any' return type. + return " string" // a long string; + +!!! error TS2300: Duplicate identifier '(Missing)'. + +!!! error TS2842: '(Missing)' is an unused renaming of 'return'. Did you intend to use it as a type annotation? +!!! related TS2843 parametersSyntaxErrorNoCrash3.ts:5:2: We can only write a type for 'return' by adding a type for the entire parameter here. + ~~~~~~~~~ +!!! error TS1005: ':' expected. + +!!! error TS2300: Duplicate identifier '(Missing)'. + +!!! error TS2842: '(Missing)' is an unused renaming of '" string"'. Did you intend to use it as a type annotation? +!!! related TS2843 parametersSyntaxErrorNoCrash3.ts:5:2: We can only write a type for '" string"' by adding a type for the entire parameter here. + } + ~ +!!! error TS1005: ':' expected. + +!!! error TS1005: ')' expected. \ No newline at end of file diff --git a/tests/baselines/reference/parenthesizedAsyncArrowFunction.js b/tests/baselines/reference/parenthesizedAsyncArrowFunction.js index 522b34f9779..e4fd9b38263 100644 --- a/tests/baselines/reference/parenthesizedAsyncArrowFunction.js +++ b/tests/baselines/reference/parenthesizedAsyncArrowFunction.js @@ -18,8 +18,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/parenthesizedJSDocCastAtReturnStatement.types b/tests/baselines/reference/parenthesizedJSDocCastAtReturnStatement.types index e138921e963..61141eebd4c 100644 --- a/tests/baselines/reference/parenthesizedJSDocCastAtReturnStatement.types +++ b/tests/baselines/reference/parenthesizedJSDocCastAtReturnStatement.types @@ -2,7 +2,7 @@ === Performance Stats === Type Count: 1,000 -Instantiation count: 1,000 +Instantiation count: 2,500 === index.js === /** @type {Map>} */ diff --git a/tests/baselines/reference/parser.asyncGenerators.classMethods.es2018.types b/tests/baselines/reference/parser.asyncGenerators.classMethods.es2018.types index 41859c1f719..1aa65a69c8c 100644 --- a/tests/baselines/reference/parser.asyncGenerators.classMethods.es2018.types +++ b/tests/baselines/reference/parser.asyncGenerators.classMethods.es2018.types @@ -221,8 +221,8 @@ class C16 { > : ^^^ async * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield * []; >yield * [] : any diff --git a/tests/baselines/reference/parser.asyncGenerators.functionDeclarations.es2018.types b/tests/baselines/reference/parser.asyncGenerators.functionDeclarations.es2018.types index 145171838a8..8b708f94c95 100644 --- a/tests/baselines/reference/parser.asyncGenerators.functionDeclarations.es2018.types +++ b/tests/baselines/reference/parser.asyncGenerators.functionDeclarations.es2018.types @@ -142,8 +142,8 @@ async function * f15() { } === yieldStarWithValueIsOk.ts === async function * f16() { ->f16 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f16 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield * []; >yield * [] : any diff --git a/tests/baselines/reference/parser.asyncGenerators.functionExpressions.es2018.types b/tests/baselines/reference/parser.asyncGenerators.functionExpressions.es2018.types index 9082a5732d5..036bdb2f62b 100644 --- a/tests/baselines/reference/parser.asyncGenerators.functionExpressions.es2018.types +++ b/tests/baselines/reference/parser.asyncGenerators.functionExpressions.es2018.types @@ -188,10 +188,10 @@ const f15 = async function * () { }; === yieldStarWithValueIsOk.ts === const f16 = async function * () { ->f16 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->async function * () { yield * [];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f16 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield * [];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield * []; >yield * [] : any diff --git a/tests/baselines/reference/parser.asyncGenerators.objectLiteralMethods.es2018.types b/tests/baselines/reference/parser.asyncGenerators.objectLiteralMethods.es2018.types index a1c287cfa1f..0a67b43853d 100644 --- a/tests/baselines/reference/parser.asyncGenerators.objectLiteralMethods.es2018.types +++ b/tests/baselines/reference/parser.asyncGenerators.objectLiteralMethods.es2018.types @@ -247,14 +247,14 @@ const o15 = { }; === yieldStarWithValueIsOk.ts === const o16 = { ->o16 : { f(): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->{ async * f() { yield * []; }} : { f(): AsyncGenerator; } -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>o16 : { f(): AsyncGenerator; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async * f() { yield * []; }} : { f(): AsyncGenerator; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ async * f() { ->f : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>f : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield * []; >yield * [] : any diff --git a/tests/baselines/reference/parserStrictMode8.errors.txt b/tests/baselines/reference/parserStrictMode8.errors.txt index cc7d5379674..a0bd3dc208e 100644 --- a/tests/baselines/reference/parserStrictMode8.errors.txt +++ b/tests/baselines/reference/parserStrictMode8.errors.txt @@ -1,12 +1,9 @@ parserStrictMode8.ts(2,10): error TS1100: Invalid use of 'eval' in strict mode. -parserStrictMode8.ts(2,10): error TS2384: Overload signatures must all be ambient or non-ambient. -==== parserStrictMode8.ts (2 errors) ==== +==== parserStrictMode8.ts (1 errors) ==== "use strict"; function eval() { ~~~~ !!! error TS1100: Invalid use of 'eval' in strict mode. - ~~~~ -!!! error TS2384: Overload signatures must all be ambient or non-ambient. } \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json index 209dc42d593..6a93f552ca0 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json @@ -33,6 +33,9 @@ "File 'c:/node_modules/file4/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'c:/node_modules/file4/index.d.ts', result 'c:/node_modules/file4/index.d.ts'.", "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4/index.d.ts'. ========", + "File 'c:/node_modules/file4/package.json' does not exist according to earlier cached lookups.", + "File 'c:/node_modules/package.json' does not exist.", + "File 'c:/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json index bc4b608cee0..bac803a7418 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json @@ -33,6 +33,9 @@ "File 'c:/node_modules/file4/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'c:/node_modules/file4/index.d.ts', result 'c:/node_modules/file4/index.d.ts'.", "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4/index.d.ts'. ========", + "File 'c:/node_modules/file4/package.json' does not exist according to earlier cached lookups.", + "File 'c:/node_modules/package.json' does not exist.", + "File 'c:/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json index 430cebb7279..a4485db887d 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json @@ -58,6 +58,8 @@ "File 'c:/node_modules/file4.ts' exists - use it as a name resolution result.", "Resolving real path for 'c:/node_modules/file4.ts', result 'c:/node_modules/file4.ts'.", "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4.ts'. ========", + "File 'c:/node_modules/package.json' does not exist.", + "File 'c:/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json index 33d0880875b..9963fd527d9 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json @@ -92,6 +92,8 @@ "File 'c:/root/src/file3/index.tsx' does not exist.", "File 'c:/root/src/file3/index.d.ts' exists - use it as a name resolution result.", "======== Module name '../file3' was successfully resolved to 'c:/root/src/file3/index.d.ts'. ========", + "File 'c:/node_modules/package.json' does not exist.", + "File 'c:/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/pickOfLargeObjectUnionWorks.js b/tests/baselines/reference/pickOfLargeObjectUnionWorks.js new file mode 100644 index 00000000000..fbe9db615a0 --- /dev/null +++ b/tests/baselines/reference/pickOfLargeObjectUnionWorks.js @@ -0,0 +1,85 @@ +//// [tests/cases/compiler/pickOfLargeObjectUnionWorks.ts] //// + +//// [pickOfLargeObjectUnionWorks.ts] +interface HTMLDataAttributes { + [data: `data-${string}`]: unknown +} + +interface Base { + id: string; + prop01: string; + prop02: string; + prop03: string; + prop04: string; + prop05: string; + prop06: string; + prop07: string; + prop08: string; + prop09: string; + prop10: string; + prop11: string; + prop12: string; + prop13: string; + prop14: string; + prop15: string; + prop16: string; + prop17: string; + prop18: string; + prop19: string; + prop20: string; + prop21: string; + prop22: string; + prop23: string; + prop24: string; + prop25: string; + prop26: string; + prop27: string; + prop28: string; + prop29: string; + prop30: string; + prop31: string; + prop32: string; + prop33: string; + prop34: string; + prop35: string; + prop36: string; + prop37: string; + } + + interface A extends Base, HTMLDataAttributes { + a1: string; + a2: string; + a3: string; + a4: string; + a5: string; + a6: string; + a7: string; + a8: string; + } + + interface B extends Base, HTMLDataAttributes { + b1: string; + b2: string; + b3: string; + b4: string; + b5: string; + b6: string; + b7: string; + b8: string; + } + + interface C extends Base, HTMLDataAttributes { + c1: string; + c2: string; + c3: string; + c4: string; + c5: string; + c6: string; + c7: string; + c8: string; + } + + const xyz: Pick = {id: 'id'} + +//// [pickOfLargeObjectUnionWorks.js] +var xyz = { id: 'id' }; diff --git a/tests/baselines/reference/pickOfLargeObjectUnionWorks.symbols b/tests/baselines/reference/pickOfLargeObjectUnionWorks.symbols new file mode 100644 index 00000000000..dae25147b99 --- /dev/null +++ b/tests/baselines/reference/pickOfLargeObjectUnionWorks.symbols @@ -0,0 +1,226 @@ +//// [tests/cases/compiler/pickOfLargeObjectUnionWorks.ts] //// + +=== pickOfLargeObjectUnionWorks.ts === +interface HTMLDataAttributes { +>HTMLDataAttributes : Symbol(HTMLDataAttributes, Decl(pickOfLargeObjectUnionWorks.ts, 0, 0)) + + [data: `data-${string}`]: unknown +>data : Symbol(data, Decl(pickOfLargeObjectUnionWorks.ts, 1, 5)) +} + +interface Base { +>Base : Symbol(Base, Decl(pickOfLargeObjectUnionWorks.ts, 2, 1)) + + id: string; +>id : Symbol(Base.id, Decl(pickOfLargeObjectUnionWorks.ts, 4, 16)) + + prop01: string; +>prop01 : Symbol(Base.prop01, Decl(pickOfLargeObjectUnionWorks.ts, 5, 15)) + + prop02: string; +>prop02 : Symbol(Base.prop02, Decl(pickOfLargeObjectUnionWorks.ts, 6, 19)) + + prop03: string; +>prop03 : Symbol(Base.prop03, Decl(pickOfLargeObjectUnionWorks.ts, 7, 19)) + + prop04: string; +>prop04 : Symbol(Base.prop04, Decl(pickOfLargeObjectUnionWorks.ts, 8, 19)) + + prop05: string; +>prop05 : Symbol(Base.prop05, Decl(pickOfLargeObjectUnionWorks.ts, 9, 19)) + + prop06: string; +>prop06 : Symbol(Base.prop06, Decl(pickOfLargeObjectUnionWorks.ts, 10, 19)) + + prop07: string; +>prop07 : Symbol(Base.prop07, Decl(pickOfLargeObjectUnionWorks.ts, 11, 19)) + + prop08: string; +>prop08 : Symbol(Base.prop08, Decl(pickOfLargeObjectUnionWorks.ts, 12, 19)) + + prop09: string; +>prop09 : Symbol(Base.prop09, Decl(pickOfLargeObjectUnionWorks.ts, 13, 19)) + + prop10: string; +>prop10 : Symbol(Base.prop10, Decl(pickOfLargeObjectUnionWorks.ts, 14, 19)) + + prop11: string; +>prop11 : Symbol(Base.prop11, Decl(pickOfLargeObjectUnionWorks.ts, 15, 19)) + + prop12: string; +>prop12 : Symbol(Base.prop12, Decl(pickOfLargeObjectUnionWorks.ts, 16, 19)) + + prop13: string; +>prop13 : Symbol(Base.prop13, Decl(pickOfLargeObjectUnionWorks.ts, 17, 19)) + + prop14: string; +>prop14 : Symbol(Base.prop14, Decl(pickOfLargeObjectUnionWorks.ts, 18, 19)) + + prop15: string; +>prop15 : Symbol(Base.prop15, Decl(pickOfLargeObjectUnionWorks.ts, 19, 19)) + + prop16: string; +>prop16 : Symbol(Base.prop16, Decl(pickOfLargeObjectUnionWorks.ts, 20, 19)) + + prop17: string; +>prop17 : Symbol(Base.prop17, Decl(pickOfLargeObjectUnionWorks.ts, 21, 19)) + + prop18: string; +>prop18 : Symbol(Base.prop18, Decl(pickOfLargeObjectUnionWorks.ts, 22, 19)) + + prop19: string; +>prop19 : Symbol(Base.prop19, Decl(pickOfLargeObjectUnionWorks.ts, 23, 19)) + + prop20: string; +>prop20 : Symbol(Base.prop20, Decl(pickOfLargeObjectUnionWorks.ts, 24, 19)) + + prop21: string; +>prop21 : Symbol(Base.prop21, Decl(pickOfLargeObjectUnionWorks.ts, 25, 19)) + + prop22: string; +>prop22 : Symbol(Base.prop22, Decl(pickOfLargeObjectUnionWorks.ts, 26, 19)) + + prop23: string; +>prop23 : Symbol(Base.prop23, Decl(pickOfLargeObjectUnionWorks.ts, 27, 19)) + + prop24: string; +>prop24 : Symbol(Base.prop24, Decl(pickOfLargeObjectUnionWorks.ts, 28, 19)) + + prop25: string; +>prop25 : Symbol(Base.prop25, Decl(pickOfLargeObjectUnionWorks.ts, 29, 19)) + + prop26: string; +>prop26 : Symbol(Base.prop26, Decl(pickOfLargeObjectUnionWorks.ts, 30, 19)) + + prop27: string; +>prop27 : Symbol(Base.prop27, Decl(pickOfLargeObjectUnionWorks.ts, 31, 19)) + + prop28: string; +>prop28 : Symbol(Base.prop28, Decl(pickOfLargeObjectUnionWorks.ts, 32, 19)) + + prop29: string; +>prop29 : Symbol(Base.prop29, Decl(pickOfLargeObjectUnionWorks.ts, 33, 19)) + + prop30: string; +>prop30 : Symbol(Base.prop30, Decl(pickOfLargeObjectUnionWorks.ts, 34, 19)) + + prop31: string; +>prop31 : Symbol(Base.prop31, Decl(pickOfLargeObjectUnionWorks.ts, 35, 19)) + + prop32: string; +>prop32 : Symbol(Base.prop32, Decl(pickOfLargeObjectUnionWorks.ts, 36, 19)) + + prop33: string; +>prop33 : Symbol(Base.prop33, Decl(pickOfLargeObjectUnionWorks.ts, 37, 19)) + + prop34: string; +>prop34 : Symbol(Base.prop34, Decl(pickOfLargeObjectUnionWorks.ts, 38, 19)) + + prop35: string; +>prop35 : Symbol(Base.prop35, Decl(pickOfLargeObjectUnionWorks.ts, 39, 19)) + + prop36: string; +>prop36 : Symbol(Base.prop36, Decl(pickOfLargeObjectUnionWorks.ts, 40, 19)) + + prop37: string; +>prop37 : Symbol(Base.prop37, Decl(pickOfLargeObjectUnionWorks.ts, 41, 19)) + } + + interface A extends Base, HTMLDataAttributes { +>A : Symbol(A, Decl(pickOfLargeObjectUnionWorks.ts, 43, 3)) +>Base : Symbol(Base, Decl(pickOfLargeObjectUnionWorks.ts, 2, 1)) +>HTMLDataAttributes : Symbol(HTMLDataAttributes, Decl(pickOfLargeObjectUnionWorks.ts, 0, 0)) + + a1: string; +>a1 : Symbol(A.a1, Decl(pickOfLargeObjectUnionWorks.ts, 45, 48)) + + a2: string; +>a2 : Symbol(A.a2, Decl(pickOfLargeObjectUnionWorks.ts, 46, 15)) + + a3: string; +>a3 : Symbol(A.a3, Decl(pickOfLargeObjectUnionWorks.ts, 47, 15)) + + a4: string; +>a4 : Symbol(A.a4, Decl(pickOfLargeObjectUnionWorks.ts, 48, 15)) + + a5: string; +>a5 : Symbol(A.a5, Decl(pickOfLargeObjectUnionWorks.ts, 49, 15)) + + a6: string; +>a6 : Symbol(A.a6, Decl(pickOfLargeObjectUnionWorks.ts, 50, 15)) + + a7: string; +>a7 : Symbol(A.a7, Decl(pickOfLargeObjectUnionWorks.ts, 51, 15)) + + a8: string; +>a8 : Symbol(A.a8, Decl(pickOfLargeObjectUnionWorks.ts, 52, 15)) + } + + interface B extends Base, HTMLDataAttributes { +>B : Symbol(B, Decl(pickOfLargeObjectUnionWorks.ts, 54, 3)) +>Base : Symbol(Base, Decl(pickOfLargeObjectUnionWorks.ts, 2, 1)) +>HTMLDataAttributes : Symbol(HTMLDataAttributes, Decl(pickOfLargeObjectUnionWorks.ts, 0, 0)) + + b1: string; +>b1 : Symbol(B.b1, Decl(pickOfLargeObjectUnionWorks.ts, 56, 48)) + + b2: string; +>b2 : Symbol(B.b2, Decl(pickOfLargeObjectUnionWorks.ts, 57, 15)) + + b3: string; +>b3 : Symbol(B.b3, Decl(pickOfLargeObjectUnionWorks.ts, 58, 15)) + + b4: string; +>b4 : Symbol(B.b4, Decl(pickOfLargeObjectUnionWorks.ts, 59, 15)) + + b5: string; +>b5 : Symbol(B.b5, Decl(pickOfLargeObjectUnionWorks.ts, 60, 15)) + + b6: string; +>b6 : Symbol(B.b6, Decl(pickOfLargeObjectUnionWorks.ts, 61, 15)) + + b7: string; +>b7 : Symbol(B.b7, Decl(pickOfLargeObjectUnionWorks.ts, 62, 15)) + + b8: string; +>b8 : Symbol(B.b8, Decl(pickOfLargeObjectUnionWorks.ts, 63, 15)) + } + + interface C extends Base, HTMLDataAttributes { +>C : Symbol(C, Decl(pickOfLargeObjectUnionWorks.ts, 65, 3)) +>Base : Symbol(Base, Decl(pickOfLargeObjectUnionWorks.ts, 2, 1)) +>HTMLDataAttributes : Symbol(HTMLDataAttributes, Decl(pickOfLargeObjectUnionWorks.ts, 0, 0)) + + c1: string; +>c1 : Symbol(C.c1, Decl(pickOfLargeObjectUnionWorks.ts, 67, 48)) + + c2: string; +>c2 : Symbol(C.c2, Decl(pickOfLargeObjectUnionWorks.ts, 68, 15)) + + c3: string; +>c3 : Symbol(C.c3, Decl(pickOfLargeObjectUnionWorks.ts, 69, 15)) + + c4: string; +>c4 : Symbol(C.c4, Decl(pickOfLargeObjectUnionWorks.ts, 70, 15)) + + c5: string; +>c5 : Symbol(C.c5, Decl(pickOfLargeObjectUnionWorks.ts, 71, 15)) + + c6: string; +>c6 : Symbol(C.c6, Decl(pickOfLargeObjectUnionWorks.ts, 72, 15)) + + c7: string; +>c7 : Symbol(C.c7, Decl(pickOfLargeObjectUnionWorks.ts, 73, 15)) + + c8: string; +>c8 : Symbol(C.c8, Decl(pickOfLargeObjectUnionWorks.ts, 74, 15)) + } + + const xyz: Pick = {id: 'id'} +>xyz : Symbol(xyz, Decl(pickOfLargeObjectUnionWorks.ts, 78, 7)) +>Pick : Symbol(Pick, Decl(lib.es5.d.ts, --, --)) +>A : Symbol(A, Decl(pickOfLargeObjectUnionWorks.ts, 43, 3)) +>B : Symbol(B, Decl(pickOfLargeObjectUnionWorks.ts, 54, 3)) +>C : Symbol(C, Decl(pickOfLargeObjectUnionWorks.ts, 65, 3)) +>id : Symbol(id, Decl(pickOfLargeObjectUnionWorks.ts, 78, 38)) + diff --git a/tests/baselines/reference/pickOfLargeObjectUnionWorks.types b/tests/baselines/reference/pickOfLargeObjectUnionWorks.types new file mode 100644 index 00000000000..3a637bd997b --- /dev/null +++ b/tests/baselines/reference/pickOfLargeObjectUnionWorks.types @@ -0,0 +1,275 @@ +//// [tests/cases/compiler/pickOfLargeObjectUnionWorks.ts] //// + +=== pickOfLargeObjectUnionWorks.ts === +interface HTMLDataAttributes { + [data: `data-${string}`]: unknown +>data : `data-${string}` +> : ^^^^^^^^^^^^^^^^ +} + +interface Base { + id: string; +>id : string +> : ^^^^^^ + + prop01: string; +>prop01 : string +> : ^^^^^^ + + prop02: string; +>prop02 : string +> : ^^^^^^ + + prop03: string; +>prop03 : string +> : ^^^^^^ + + prop04: string; +>prop04 : string +> : ^^^^^^ + + prop05: string; +>prop05 : string +> : ^^^^^^ + + prop06: string; +>prop06 : string +> : ^^^^^^ + + prop07: string; +>prop07 : string +> : ^^^^^^ + + prop08: string; +>prop08 : string +> : ^^^^^^ + + prop09: string; +>prop09 : string +> : ^^^^^^ + + prop10: string; +>prop10 : string +> : ^^^^^^ + + prop11: string; +>prop11 : string +> : ^^^^^^ + + prop12: string; +>prop12 : string +> : ^^^^^^ + + prop13: string; +>prop13 : string +> : ^^^^^^ + + prop14: string; +>prop14 : string +> : ^^^^^^ + + prop15: string; +>prop15 : string +> : ^^^^^^ + + prop16: string; +>prop16 : string +> : ^^^^^^ + + prop17: string; +>prop17 : string +> : ^^^^^^ + + prop18: string; +>prop18 : string +> : ^^^^^^ + + prop19: string; +>prop19 : string +> : ^^^^^^ + + prop20: string; +>prop20 : string +> : ^^^^^^ + + prop21: string; +>prop21 : string +> : ^^^^^^ + + prop22: string; +>prop22 : string +> : ^^^^^^ + + prop23: string; +>prop23 : string +> : ^^^^^^ + + prop24: string; +>prop24 : string +> : ^^^^^^ + + prop25: string; +>prop25 : string +> : ^^^^^^ + + prop26: string; +>prop26 : string +> : ^^^^^^ + + prop27: string; +>prop27 : string +> : ^^^^^^ + + prop28: string; +>prop28 : string +> : ^^^^^^ + + prop29: string; +>prop29 : string +> : ^^^^^^ + + prop30: string; +>prop30 : string +> : ^^^^^^ + + prop31: string; +>prop31 : string +> : ^^^^^^ + + prop32: string; +>prop32 : string +> : ^^^^^^ + + prop33: string; +>prop33 : string +> : ^^^^^^ + + prop34: string; +>prop34 : string +> : ^^^^^^ + + prop35: string; +>prop35 : string +> : ^^^^^^ + + prop36: string; +>prop36 : string +> : ^^^^^^ + + prop37: string; +>prop37 : string +> : ^^^^^^ + } + + interface A extends Base, HTMLDataAttributes { + a1: string; +>a1 : string +> : ^^^^^^ + + a2: string; +>a2 : string +> : ^^^^^^ + + a3: string; +>a3 : string +> : ^^^^^^ + + a4: string; +>a4 : string +> : ^^^^^^ + + a5: string; +>a5 : string +> : ^^^^^^ + + a6: string; +>a6 : string +> : ^^^^^^ + + a7: string; +>a7 : string +> : ^^^^^^ + + a8: string; +>a8 : string +> : ^^^^^^ + } + + interface B extends Base, HTMLDataAttributes { + b1: string; +>b1 : string +> : ^^^^^^ + + b2: string; +>b2 : string +> : ^^^^^^ + + b3: string; +>b3 : string +> : ^^^^^^ + + b4: string; +>b4 : string +> : ^^^^^^ + + b5: string; +>b5 : string +> : ^^^^^^ + + b6: string; +>b6 : string +> : ^^^^^^ + + b7: string; +>b7 : string +> : ^^^^^^ + + b8: string; +>b8 : string +> : ^^^^^^ + } + + interface C extends Base, HTMLDataAttributes { + c1: string; +>c1 : string +> : ^^^^^^ + + c2: string; +>c2 : string +> : ^^^^^^ + + c3: string; +>c3 : string +> : ^^^^^^ + + c4: string; +>c4 : string +> : ^^^^^^ + + c5: string; +>c5 : string +> : ^^^^^^ + + c6: string; +>c6 : string +> : ^^^^^^ + + c7: string; +>c7 : string +> : ^^^^^^ + + c8: string; +>c8 : string +> : ^^^^^^ + } + + const xyz: Pick = {id: 'id'} +>xyz : Pick +> : ^^^^^^^^^^^^^^^^^^^^^ +>{id: 'id'} : { id: string; } +> : ^^^^^^^^^^^^^^^ +>id : string +> : ^^^^^^ +>'id' : "id" +> : ^^^^ + diff --git a/tests/baselines/reference/predicateSemantics.errors.txt b/tests/baselines/reference/predicateSemantics.errors.txt index 4d96f98df22..883ce457098 100644 --- a/tests/baselines/reference/predicateSemantics.errors.txt +++ b/tests/baselines/reference/predicateSemantics.errors.txt @@ -70,4 +70,7 @@ predicateSemantics.ts(36,8): error TS2872: This kind of expression is always tru while ((({}))) { } ~~~~~~ !!! error TS2872: This kind of expression is always truthy. + + // Should be OK + console.log((cond || undefined) && 1 / cond); \ No newline at end of file diff --git a/tests/baselines/reference/predicateSemantics.js b/tests/baselines/reference/predicateSemantics.js index c1aebaad42b..4ed29418933 100644 --- a/tests/baselines/reference/predicateSemantics.js +++ b/tests/baselines/reference/predicateSemantics.js @@ -37,6 +37,9 @@ while ({} as any) { } while ({} satisfies unknown) { } while ((({}))) { } while ((({}))) { } + +// Should be OK +console.log((cond || undefined) && 1 / cond); //// [predicateSemantics.js] @@ -75,3 +78,5 @@ while ({}) { } while ({}) { } while (({})) { } while ((({}))) { } +// Should be OK +console.log((cond || undefined) && 1 / cond); diff --git a/tests/baselines/reference/predicateSemantics.symbols b/tests/baselines/reference/predicateSemantics.symbols index f92a128bbd4..39ce291427a 100644 --- a/tests/baselines/reference/predicateSemantics.symbols +++ b/tests/baselines/reference/predicateSemantics.symbols @@ -61,3 +61,12 @@ while ({} satisfies unknown) { } while ((({}))) { } while ((({}))) { } +// Should be OK +console.log((cond || undefined) && 1 / cond); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>cond : Symbol(cond, Decl(predicateSemantics.ts, 0, 11)) +>undefined : Symbol(undefined) +>cond : Symbol(cond, Decl(predicateSemantics.ts, 0, 11)) + diff --git a/tests/baselines/reference/predicateSemantics.types b/tests/baselines/reference/predicateSemantics.types index b75183dc538..b4f418ce339 100644 --- a/tests/baselines/reference/predicateSemantics.types +++ b/tests/baselines/reference/predicateSemantics.types @@ -192,3 +192,30 @@ while ((({}))) { } >{} : {} > : ^^ +// Should be OK +console.log((cond || undefined) && 1 / cond); +>console.log((cond || undefined) && 1 / cond) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>(cond || undefined) && 1 / cond : number +> : ^^^^^^ +>(cond || undefined) : any +> : ^^^ +>cond || undefined : any +> : ^^^ +>cond : any +> : ^^^ +>undefined : undefined +> : ^^^^^^^^^ +>1 / cond : number +> : ^^^^^^ +>1 : 1 +> : ^ +>cond : any +> : ^^^ + diff --git a/tests/baselines/reference/printerApi/printsFileCorrectly.lambda type parameter lists in tsx.js b/tests/baselines/reference/printerApi/printsFileCorrectly.lambda type parameter lists in tsx.js new file mode 100644 index 00000000000..c28604711e8 --- /dev/null +++ b/tests/baselines/reference/printerApi/printsFileCorrectly.lambda type parameter lists in tsx.js @@ -0,0 +1 @@ +export const id = (id: T): T => id; diff --git a/tests/baselines/reference/privateNamesIncompatibleModifiers.js b/tests/baselines/reference/privateNamesIncompatibleModifiers.js index 6b6c916a43b..7db58dd9ddb 100644 --- a/tests/baselines/reference/privateNamesIncompatibleModifiers.js +++ b/tests/baselines/reference/privateNamesIncompatibleModifiers.js @@ -51,7 +51,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/promiseDefinitionTest.js b/tests/baselines/reference/promiseDefinitionTest.js index f2d4d10dfe9..ef7cd20fd9e 100644 --- a/tests/baselines/reference/promiseDefinitionTest.js +++ b/tests/baselines/reference/promiseDefinitionTest.js @@ -17,8 +17,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/protectedAccessThroughContextualThis.errors.txt b/tests/baselines/reference/protectedAccessThroughContextualThis.errors.txt new file mode 100644 index 00000000000..65aaa37775a --- /dev/null +++ b/tests/baselines/reference/protectedAccessThroughContextualThis.errors.txt @@ -0,0 +1,30 @@ +protectedAccessThroughContextualThis.ts(13,20): error TS2341: Property 'privat' is private and only accessible within class 'Foo'. +protectedAccessThroughContextualThis.ts(20,20): error TS2341: Property 'privat' is private and only accessible within class 'Foo'. + + +==== protectedAccessThroughContextualThis.ts (2 errors) ==== + class Foo { + protected protec = 'bar'; + private privat = ''; + copy!: string + constructor() { + bindCopy.call(this) + bindCopy2.call(this) + } + } + + function bindCopy(this: Foo) { + this.copy = this.protec; // Should OK + console.log(this.privat); // Should error + ~~~~~~ +!!! error TS2341: Property 'privat' is private and only accessible within class 'Foo'. + } + + type BindingFunction = (this: Foo) => void; + + const bindCopy2: BindingFunction = function () { + this.copy = this.protec; // Should OK + console.log(this.privat); // Should error + ~~~~~~ +!!! error TS2341: Property 'privat' is private and only accessible within class 'Foo'. + } \ No newline at end of file diff --git a/tests/baselines/reference/protectedAccessThroughContextualThis.js b/tests/baselines/reference/protectedAccessThroughContextualThis.js new file mode 100644 index 00000000000..30bd2e1b3a5 --- /dev/null +++ b/tests/baselines/reference/protectedAccessThroughContextualThis.js @@ -0,0 +1,44 @@ +//// [tests/cases/compiler/protectedAccessThroughContextualThis.ts] //// + +//// [protectedAccessThroughContextualThis.ts] +class Foo { + protected protec = 'bar'; + private privat = ''; + copy!: string + constructor() { + bindCopy.call(this) + bindCopy2.call(this) + } +} + +function bindCopy(this: Foo) { + this.copy = this.protec; // Should OK + console.log(this.privat); // Should error +} + +type BindingFunction = (this: Foo) => void; + +const bindCopy2: BindingFunction = function () { + this.copy = this.protec; // Should OK + console.log(this.privat); // Should error +} + +//// [protectedAccessThroughContextualThis.js] +"use strict"; +var Foo = /** @class */ (function () { + function Foo() { + this.protec = 'bar'; + this.privat = ''; + bindCopy.call(this); + bindCopy2.call(this); + } + return Foo; +}()); +function bindCopy() { + this.copy = this.protec; // Should OK + console.log(this.privat); // Should error +} +var bindCopy2 = function () { + this.copy = this.protec; // Should OK + console.log(this.privat); // Should error +}; diff --git a/tests/baselines/reference/protectedAccessThroughContextualThis.symbols b/tests/baselines/reference/protectedAccessThroughContextualThis.symbols new file mode 100644 index 00000000000..cd76db70724 --- /dev/null +++ b/tests/baselines/reference/protectedAccessThroughContextualThis.symbols @@ -0,0 +1,77 @@ +//// [tests/cases/compiler/protectedAccessThroughContextualThis.ts] //// + +=== protectedAccessThroughContextualThis.ts === +class Foo { +>Foo : Symbol(Foo, Decl(protectedAccessThroughContextualThis.ts, 0, 0)) + + protected protec = 'bar'; +>protec : Symbol(Foo.protec, Decl(protectedAccessThroughContextualThis.ts, 0, 11)) + + private privat = ''; +>privat : Symbol(Foo.privat, Decl(protectedAccessThroughContextualThis.ts, 1, 27)) + + copy!: string +>copy : Symbol(Foo.copy, Decl(protectedAccessThroughContextualThis.ts, 2, 22)) + + constructor() { + bindCopy.call(this) +>bindCopy.call : Symbol(CallableFunction.call, Decl(lib.es5.d.ts, --, --)) +>bindCopy : Symbol(bindCopy, Decl(protectedAccessThroughContextualThis.ts, 8, 1)) +>call : Symbol(CallableFunction.call, Decl(lib.es5.d.ts, --, --)) +>this : Symbol(Foo, Decl(protectedAccessThroughContextualThis.ts, 0, 0)) + + bindCopy2.call(this) +>bindCopy2.call : Symbol(CallableFunction.call, Decl(lib.es5.d.ts, --, --)) +>bindCopy2 : Symbol(bindCopy2, Decl(protectedAccessThroughContextualThis.ts, 17, 5)) +>call : Symbol(CallableFunction.call, Decl(lib.es5.d.ts, --, --)) +>this : Symbol(Foo, Decl(protectedAccessThroughContextualThis.ts, 0, 0)) + } +} + +function bindCopy(this: Foo) { +>bindCopy : Symbol(bindCopy, Decl(protectedAccessThroughContextualThis.ts, 8, 1)) +>this : Symbol(this, Decl(protectedAccessThroughContextualThis.ts, 10, 18)) +>Foo : Symbol(Foo, Decl(protectedAccessThroughContextualThis.ts, 0, 0)) + + this.copy = this.protec; // Should OK +>this.copy : Symbol(Foo.copy, Decl(protectedAccessThroughContextualThis.ts, 2, 22)) +>this : Symbol(this, Decl(protectedAccessThroughContextualThis.ts, 10, 18)) +>copy : Symbol(Foo.copy, Decl(protectedAccessThroughContextualThis.ts, 2, 22)) +>this.protec : Symbol(Foo.protec, Decl(protectedAccessThroughContextualThis.ts, 0, 11)) +>this : Symbol(this, Decl(protectedAccessThroughContextualThis.ts, 10, 18)) +>protec : Symbol(Foo.protec, Decl(protectedAccessThroughContextualThis.ts, 0, 11)) + + console.log(this.privat); // Should error +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>this.privat : Symbol(Foo.privat, Decl(protectedAccessThroughContextualThis.ts, 1, 27)) +>this : Symbol(this, Decl(protectedAccessThroughContextualThis.ts, 10, 18)) +>privat : Symbol(Foo.privat, Decl(protectedAccessThroughContextualThis.ts, 1, 27)) +} + +type BindingFunction = (this: Foo) => void; +>BindingFunction : Symbol(BindingFunction, Decl(protectedAccessThroughContextualThis.ts, 13, 1)) +>this : Symbol(this, Decl(protectedAccessThroughContextualThis.ts, 15, 24)) +>Foo : Symbol(Foo, Decl(protectedAccessThroughContextualThis.ts, 0, 0)) + +const bindCopy2: BindingFunction = function () { +>bindCopy2 : Symbol(bindCopy2, Decl(protectedAccessThroughContextualThis.ts, 17, 5)) +>BindingFunction : Symbol(BindingFunction, Decl(protectedAccessThroughContextualThis.ts, 13, 1)) + + this.copy = this.protec; // Should OK +>this.copy : Symbol(Foo.copy, Decl(protectedAccessThroughContextualThis.ts, 2, 22)) +>this : Symbol(this, Decl(protectedAccessThroughContextualThis.ts, 15, 24)) +>copy : Symbol(Foo.copy, Decl(protectedAccessThroughContextualThis.ts, 2, 22)) +>this.protec : Symbol(Foo.protec, Decl(protectedAccessThroughContextualThis.ts, 0, 11)) +>this : Symbol(this, Decl(protectedAccessThroughContextualThis.ts, 15, 24)) +>protec : Symbol(Foo.protec, Decl(protectedAccessThroughContextualThis.ts, 0, 11)) + + console.log(this.privat); // Should error +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>this.privat : Symbol(Foo.privat, Decl(protectedAccessThroughContextualThis.ts, 1, 27)) +>this : Symbol(this, Decl(protectedAccessThroughContextualThis.ts, 15, 24)) +>privat : Symbol(Foo.privat, Decl(protectedAccessThroughContextualThis.ts, 1, 27)) +} diff --git a/tests/baselines/reference/protectedAccessThroughContextualThis.types b/tests/baselines/reference/protectedAccessThroughContextualThis.types new file mode 100644 index 00000000000..8c597680032 --- /dev/null +++ b/tests/baselines/reference/protectedAccessThroughContextualThis.types @@ -0,0 +1,133 @@ +//// [tests/cases/compiler/protectedAccessThroughContextualThis.ts] //// + +=== protectedAccessThroughContextualThis.ts === +class Foo { +>Foo : Foo +> : ^^^ + + protected protec = 'bar'; +>protec : string +> : ^^^^^^ +>'bar' : "bar" +> : ^^^^^ + + private privat = ''; +>privat : string +> : ^^^^^^ +>'' : "" +> : ^^ + + copy!: string +>copy : string +> : ^^^^^^ + + constructor() { + bindCopy.call(this) +>bindCopy.call(this) : void +> : ^^^^ +>bindCopy.call : (this: (this: T, ...args: A) => R, thisArg: T, ...args: A) => R +> : ^ ^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^ +>bindCopy : (this: Foo) => void +> : ^ ^^ ^^^^^^^^^ +>call : (this: (this: T, ...args: A) => R, thisArg: T, ...args: A) => R +> : ^ ^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^ +>this : this +> : ^^^^ + + bindCopy2.call(this) +>bindCopy2.call(this) : void +> : ^^^^ +>bindCopy2.call : (this: (this: T, ...args: A) => R, thisArg: T, ...args: A) => R +> : ^ ^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^ +>bindCopy2 : BindingFunction +> : ^^^^^^^^^^^^^^^ +>call : (this: (this: T, ...args: A) => R, thisArg: T, ...args: A) => R +> : ^ ^^ ^^^^^^^^^ ^^ ^^ ^^ ^^ ^^ ^^^^^ ^^ ^^^^^ +>this : this +> : ^^^^ + } +} + +function bindCopy(this: Foo) { +>bindCopy : (this: Foo) => void +> : ^ ^^ ^^^^^^^^^ +>this : Foo +> : ^^^ + + this.copy = this.protec; // Should OK +>this.copy = this.protec : string +> : ^^^^^^ +>this.copy : string +> : ^^^^^^ +>this : Foo +> : ^^^ +>copy : string +> : ^^^^^^ +>this.protec : string +> : ^^^^^^ +>this : Foo +> : ^^^ +>protec : string +> : ^^^^^^ + + console.log(this.privat); // Should error +>console.log(this.privat) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>this.privat : string +> : ^^^^^^ +>this : Foo +> : ^^^ +>privat : string +> : ^^^^^^ +} + +type BindingFunction = (this: Foo) => void; +>BindingFunction : BindingFunction +> : ^^^^^^^^^^^^^^^ +>this : Foo +> : ^^^ + +const bindCopy2: BindingFunction = function () { +>bindCopy2 : BindingFunction +> : ^^^^^^^^^^^^^^^ +>function () { this.copy = this.protec; // Should OK console.log(this.privat); // Should error} : (this: Foo) => void +> : ^ ^^ ^^^^^^^^^ + + this.copy = this.protec; // Should OK +>this.copy = this.protec : string +> : ^^^^^^ +>this.copy : string +> : ^^^^^^ +>this : Foo +> : ^^^ +>copy : string +> : ^^^^^^ +>this.protec : string +> : ^^^^^^ +>this : Foo +> : ^^^ +>protec : string +> : ^^^^^^ + + console.log(this.privat); // Should error +>console.log(this.privat) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>this.privat : string +> : ^^^^^^ +>this : Foo +> : ^^^ +>privat : string +> : ^^^^^^ +} diff --git a/tests/baselines/reference/reachabilityChecks1.errors.txt b/tests/baselines/reference/reachabilityChecks1.errors.txt index 72736526094..d25977a05b7 100644 --- a/tests/baselines/reference/reachabilityChecks1.errors.txt +++ b/tests/baselines/reference/reachabilityChecks1.errors.txt @@ -3,9 +3,11 @@ reachabilityChecks1.ts(6,5): error TS7027: Unreachable code detected. reachabilityChecks1.ts(18,5): error TS7027: Unreachable code detected. reachabilityChecks1.ts(30,5): error TS7027: Unreachable code detected. reachabilityChecks1.ts(47,5): error TS7027: Unreachable code detected. +reachabilityChecks1.ts(60,5): error TS7027: Unreachable code detected. +reachabilityChecks1.ts(69,5): error TS7027: Unreachable code detected. -==== reachabilityChecks1.ts (5 errors) ==== +==== reachabilityChecks1.ts (7 errors) ==== while (true); var x = 1; ~~~~~~~~~~ @@ -81,8 +83,12 @@ reachabilityChecks1.ts(47,5): error TS7027: Unreachable code detected. do { } while (true); enum E { + ~~~~~~~~ X = 1 + ~~~~~~~~~~~~~ } + ~~~~~ +!!! error TS7027: Unreachable code detected. } function f4() { @@ -90,8 +96,12 @@ reachabilityChecks1.ts(47,5): error TS7027: Unreachable code detected. throw new Error(); } const enum E { + ~~~~~~~~~~~~~~ X = 1 + ~~~~~~~~~~~~~ } + ~~~~~ +!!! error TS7027: Unreachable code detected. } \ No newline at end of file diff --git a/tests/baselines/reference/reactReduxLikeDeferredInferenceAllowsAssignment.js b/tests/baselines/reference/reactReduxLikeDeferredInferenceAllowsAssignment.js index 6283c4097c8..b000368f448 100644 --- a/tests/baselines/reference/reactReduxLikeDeferredInferenceAllowsAssignment.js +++ b/tests/baselines/reference/reactReduxLikeDeferredInferenceAllowsAssignment.js @@ -176,8 +176,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/regexMatchAll-esnext.types b/tests/baselines/reference/regexMatchAll-esnext.types index 80790de1128..af8bf8d1466 100644 --- a/tests/baselines/reference/regexMatchAll-esnext.types +++ b/tests/baselines/reference/regexMatchAll-esnext.types @@ -2,12 +2,12 @@ === regexMatchAll-esnext.ts === const matches = /\w/g[Symbol.matchAll]("matchAll"); ->matches : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->/\w/g[Symbol.matchAll]("matchAll") : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->/\w/g[Symbol.matchAll] : (str: string) => BuiltinIterator -> : ^ ^^ ^^^^^ +>matches : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>/\w/g[Symbol.matchAll]("matchAll") : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>/\w/g[Symbol.matchAll] : (str: string) => RegExpStringIterator +> : ^ ^^ ^^^^^ >/\w/g : RegExp > : ^^^^^^ >Symbol.matchAll : unique symbol @@ -26,8 +26,8 @@ const array = [...matches]; > : ^^^^^^^^^^^^^^^^^^ >...matches : RegExpMatchArray > : ^^^^^^^^^^^^^^^^ ->matches : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>matches : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const { index, input } = array[0]; >index : number diff --git a/tests/baselines/reference/regexMatchAll.types b/tests/baselines/reference/regexMatchAll.types index 3237c73dba1..9b937a0577e 100644 --- a/tests/baselines/reference/regexMatchAll.types +++ b/tests/baselines/reference/regexMatchAll.types @@ -2,12 +2,12 @@ === regexMatchAll.ts === const matches = /\w/g[Symbol.matchAll]("matchAll"); ->matches : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->/\w/g[Symbol.matchAll]("matchAll") : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->/\w/g[Symbol.matchAll] : (str: string) => BuiltinIterator -> : ^ ^^ ^^^^^ +>matches : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>/\w/g[Symbol.matchAll]("matchAll") : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>/\w/g[Symbol.matchAll] : (str: string) => RegExpStringIterator +> : ^ ^^ ^^^^^ >/\w/g : RegExp > : ^^^^^^ >Symbol.matchAll : unique symbol @@ -26,8 +26,8 @@ const array = [...matches]; > : ^^^^^^^^^^^^^^^^^^ >...matches : RegExpMatchArray > : ^^^^^^^^^^^^^^^^ ->matches : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>matches : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const { index, input } = array[0]; >index : number diff --git a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json index f79ccd1ddc6..0901c215691 100644 --- a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json @@ -1,11 +1,13 @@ [ + "Found 'package.json' at '/node_modules/foo/package.json'.", + "Found 'package.json' at '/node_modules/@types/bar/package.json'.", "======== Resolving module 'foo' from '/index.mts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", "File '/package.json' does not exist.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Found 'package.json' at '/node_modules/foo/package.json'.", + "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.mjs'.", @@ -56,7 +58,7 @@ "Failed to resolve under condition 'import'.", "Saw non-matching condition 'require'.", "Exiting conditional exports.", - "Found 'package.json' at '/node_modules/@types/bar/package.json'.", + "File '/node_modules/@types/bar/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Saw non-matching condition 'require'.", "Exiting conditional exports.", diff --git a/tests/baselines/reference/reuseProgramStructure/can-reuse-module-resolutions-from-non-modified-files.js b/tests/baselines/reference/reuseProgramStructure/can-reuse-module-resolutions-from-non-modified-files.js index 96526409f24..263bcae52fc 100644 --- a/tests/baselines/reference/reuseProgramStructure/can-reuse-module-resolutions-from-non-modified-files.js +++ b/tests/baselines/reference/reuseProgramStructure/can-reuse-module-resolutions-from-non-modified-files.js @@ -92,9 +92,17 @@ typerefs2: { ] } +File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist. +File '/node_modules/package.json' does not exist. +File '/package.json' does not exist. +File '/node_modules/@types/typerefs2/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'typerefs1', containing file '/f1.ts', root directory '/node_modules/@types'. ======== Resolving with primary search path '/node_modules/@types'. -File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. File '/node_modules/@types/typerefs1/index.d.ts' exists - use it as a name resolution result. ======== Type reference directive 'typerefs1' was successfully resolved to '/node_modules/@types/typerefs1/index.d.ts', primary: true. ======== ======== Resolving module './b1' from '/f1.ts'. ======== @@ -103,7 +111,7 @@ File '/b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to '/b1.ts'. ======== ======== Resolving type reference directive 'typerefs2', containing file '/f2.ts', root directory '/node_modules/@types'. ======== Resolving with primary search path '/node_modules/@types'. -File '/node_modules/@types/typerefs2/package.json' does not exist. +File '/node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. File '/node_modules/@types/typerefs2/index.d.ts' exists - use it as a name resolution result. ======== Type reference directive 'typerefs2' was successfully resolved to '/node_modules/@types/typerefs2/index.d.ts', primary: true. ======== ======== Resolving module './b2' from '/f2.ts'. ======== @@ -217,9 +225,25 @@ typerefs2: { ] } +File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist. +File '/node_modules/package.json' does not exist. +File '/package.json' does not exist. +File '/node_modules/@types/typerefs2/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'typerefs1', containing file '/f1.ts', root directory '/node_modules/@types'. ======== Resolving with primary search path '/node_modules/@types'. -File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. File '/node_modules/@types/typerefs1/index.d.ts' exists - use it as a name resolution result. ======== Type reference directive 'typerefs1' was successfully resolved to '/node_modules/@types/typerefs1/index.d.ts', primary: true. ======== ======== Resolving module './b1' from '/f1.ts'. ======== @@ -322,6 +346,22 @@ typerefs2: { ] } +File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist. +File '/node_modules/package.json' does not exist. +File '/package.json' does not exist. +File '/node_modules/@types/typerefs2/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module './b1' from '/f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File '/b1.ts' exists - use it as a name resolution result. @@ -422,6 +462,22 @@ typerefs2: { ] } +File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist. +File '/node_modules/package.json' does not exist. +File '/package.json' does not exist. +File '/node_modules/@types/typerefs2/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module './b1' from '/f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File '/b1.ts' exists - use it as a name resolution result. @@ -521,6 +577,14 @@ typerefs2: { ] } +File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist. +File '/node_modules/package.json' does not exist. +File '/package.json' does not exist. +File '/node_modules/@types/typerefs2/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module './b1' from '/f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File '/b1.ts' exists - use it as a name resolution result. @@ -618,6 +682,22 @@ typerefs2: { ] } +File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist. +File '/node_modules/package.json' does not exist. +File '/package.json' does not exist. +File '/node_modules/@types/typerefs2/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module './b1' from '/f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File '/b1.ts' exists - use it as a name resolution result. @@ -709,6 +789,22 @@ typerefs2: { ] } +File '/node_modules/@types/typerefs1/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist. +File '/node_modules/package.json' does not exist. +File '/package.json' does not exist. +File '/node_modules/@types/typerefs2/package.json' does not exist. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. +File '/node_modules/@types/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'typerefs2' from '/f2.ts' of old program, it was successfully resolved to '/node_modules/@types/typerefs2/index.d.ts'. Reusing resolution of module './b2' from '/f2.ts' of old program, it was successfully resolved to '/b2.ts'. Reusing resolution of module './f1' from '/f2.ts' of old program, it was successfully resolved to '/f1.ts'. diff --git a/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js b/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js index eda662540f2..3e5e73fead2 100644 --- a/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js +++ b/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js @@ -105,6 +105,9 @@ File '/node_modules/a/index.ts' does not exist. File '/node_modules/a/index.tsx' does not exist. File '/node_modules/a/index.d.ts' exists - use it as a name resolution result. ======== Module name 'a' was successfully resolved to '/node_modules/a/index.d.ts'. ======== +File '/node_modules/a/package.json' does not exist according to earlier cached lookups. +File '/node_modules/package.json' does not exist. +File '/package.json' does not exist. MissingPaths:: [] diff --git a/tests/baselines/reference/scopedPackages.trace.json b/tests/baselines/reference/scopedPackages.trace.json index 7b4f3e8c2c3..a2320a796a1 100644 --- a/tests/baselines/reference/scopedPackages.trace.json +++ b/tests/baselines/reference/scopedPackages.trace.json @@ -31,6 +31,19 @@ "File '/node_modules/@types/be__bop/e/z.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/be__bop/e/z.d.ts', result '/node_modules/@types/be__bop/e/z.d.ts'.", "======== Module name '@be/bop/e/z' was successfully resolved to '/node_modules/@types/be__bop/e/z.d.ts'. ========", + "File '/node_modules/@cow/boy/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@cow/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", + "File '/node_modules/@types/be__bop/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/be__bop/e/package.json' does not exist.", + "File '/node_modules/@types/be__bop/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/scopedPackagesClassic.trace.json b/tests/baselines/reference/scopedPackagesClassic.trace.json index 2407dcda0f1..4a6472faf86 100644 --- a/tests/baselines/reference/scopedPackagesClassic.trace.json +++ b/tests/baselines/reference/scopedPackagesClassic.trace.json @@ -8,6 +8,10 @@ "File '/node_modules/@types/see__saw/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/see__saw/index.d.ts', result '/node_modules/@types/see__saw/index.d.ts'.", "======== Module name '@see/saw' was successfully resolved to '/node_modules/@types/see__saw/index.d.ts'. ========", + "File '/node_modules/@types/see__saw/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/selfNameModuleAugmentation.trace.json b/tests/baselines/reference/selfNameModuleAugmentation.trace.json index f3eac5210e5..c02409bd734 100644 --- a/tests/baselines/reference/selfNameModuleAugmentation.trace.json +++ b/tests/baselines/reference/selfNameModuleAugmentation.trace.json @@ -1,9 +1,11 @@ [ + "File '/node_modules/acorn-walk/dist/package.json' does not exist.", + "Found 'package.json' at '/node_modules/acorn-walk/package.json'.", "======== Resolving module 'acorn-walk' from '/node_modules/acorn-walk/dist/walk.d.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/node_modules/acorn-walk/dist/package.json' does not exist.", - "Found 'package.json' at '/node_modules/acorn-walk/package.json'.", + "File '/node_modules/acorn-walk/dist/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/acorn-walk/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './dist/walk.mjs'.", diff --git a/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.js b/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.js index 429f2bf3608..18694bfa14c 100644 --- a/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.js +++ b/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.js @@ -10,8 +10,8 @@ call(function* (a: 'a') { }); // error, 2nd argument required //// [spreadOfParamsFromGeneratorMakesRequiredParams.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/stringMatchAll.types b/tests/baselines/reference/stringMatchAll.types index 13e45697d8b..0de59f913a9 100644 --- a/tests/baselines/reference/stringMatchAll.types +++ b/tests/baselines/reference/stringMatchAll.types @@ -2,16 +2,16 @@ === stringMatchAll.ts === const matches = "matchAll".matchAll(/\w/g); ->matches : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->"matchAll".matchAll(/\w/g) : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->"matchAll".matchAll : (regexp: RegExp) => BuiltinIterator -> : ^ ^^ ^^^^^ +>matches : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>"matchAll".matchAll(/\w/g) : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>"matchAll".matchAll : (regexp: RegExp) => RegExpStringIterator +> : ^ ^^ ^^^^^ >"matchAll" : "matchAll" > : ^^^^^^^^^^ ->matchAll : (regexp: RegExp) => BuiltinIterator -> : ^ ^^ ^^^^^ +>matchAll : (regexp: RegExp) => RegExpStringIterator +> : ^ ^^ ^^^^^ >/\w/g : RegExp > : ^^^^^^ @@ -22,8 +22,8 @@ const array = [...matches]; > : ^^^^^^^^^^^^^^^^^ >...matches : RegExpExecArray > : ^^^^^^^^^^^^^^^ ->matches : BuiltinIterator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>matches : RegExpStringIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ const { index, input } = array[0]; >index : number diff --git a/tests/baselines/reference/substitutionTypePassedToExtends.types b/tests/baselines/reference/substitutionTypePassedToExtends.types index a5d81c4699c..102d4d17d56 100644 --- a/tests/baselines/reference/substitutionTypePassedToExtends.types +++ b/tests/baselines/reference/substitutionTypePassedToExtends.types @@ -2,7 +2,7 @@ === Performance Stats === Type Count: 500 -> 1,000 -Instantiation count: 100 -> 1,000 +Instantiation count: 100 -> 2,500 === substitutionTypePassedToExtends.ts === type Foo1 = [A, B] extends unknown[][] ? Bar1<[A, B]> : 'else' diff --git a/tests/baselines/reference/templateStringWithEmbeddedYieldKeyword.js b/tests/baselines/reference/templateStringWithEmbeddedYieldKeyword.js index 9165eaf7d05..3c767adb91b 100644 --- a/tests/baselines/reference/templateStringWithEmbeddedYieldKeyword.js +++ b/tests/baselines/reference/templateStringWithEmbeddedYieldKeyword.js @@ -9,8 +9,8 @@ function* gen { //// [templateStringWithEmbeddedYieldKeyword.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/thisPredicateInObjectLiteral.errors.txt b/tests/baselines/reference/thisPredicateInObjectLiteral.errors.txt new file mode 100644 index 00000000000..117a47720d6 --- /dev/null +++ b/tests/baselines/reference/thisPredicateInObjectLiteral.errors.txt @@ -0,0 +1,20 @@ +thisPredicateInObjectLiteral.ts(10,28): error TS2526: A 'this' type is available only in a non-static member of a class or interface. + + +==== thisPredicateInObjectLiteral.ts (1 errors) ==== + // Should be OK + const foo2 = { + isNumber(): this is { b: string } { + return true; + }, + }; + + // Still an error + const foo3 = { + isNumber(x: any): x is this { + ~~~~ +!!! error TS2526: A 'this' type is available only in a non-static member of a class or interface. + return true; + }, + }; + \ No newline at end of file diff --git a/tests/baselines/reference/thisPredicateInObjectLiteral.js b/tests/baselines/reference/thisPredicateInObjectLiteral.js new file mode 100644 index 00000000000..f2c9e457407 --- /dev/null +++ b/tests/baselines/reference/thisPredicateInObjectLiteral.js @@ -0,0 +1,32 @@ +//// [tests/cases/compiler/thisPredicateInObjectLiteral.ts] //// + +//// [thisPredicateInObjectLiteral.ts] +// Should be OK +const foo2 = { + isNumber(): this is { b: string } { + return true; + }, +}; + +// Still an error +const foo3 = { + isNumber(x: any): x is this { + return true; + }, +}; + + +//// [thisPredicateInObjectLiteral.js] +"use strict"; +// Should be OK +var foo2 = { + isNumber: function () { + return true; + }, +}; +// Still an error +var foo3 = { + isNumber: function (x) { + return true; + }, +}; diff --git a/tests/baselines/reference/thisPredicateInObjectLiteral.symbols b/tests/baselines/reference/thisPredicateInObjectLiteral.symbols new file mode 100644 index 00000000000..ed78d8775bd --- /dev/null +++ b/tests/baselines/reference/thisPredicateInObjectLiteral.symbols @@ -0,0 +1,28 @@ +//// [tests/cases/compiler/thisPredicateInObjectLiteral.ts] //// + +=== thisPredicateInObjectLiteral.ts === +// Should be OK +const foo2 = { +>foo2 : Symbol(foo2, Decl(thisPredicateInObjectLiteral.ts, 1, 5)) + + isNumber(): this is { b: string } { +>isNumber : Symbol(isNumber, Decl(thisPredicateInObjectLiteral.ts, 1, 14)) +>b : Symbol(b, Decl(thisPredicateInObjectLiteral.ts, 2, 25)) + + return true; + }, +}; + +// Still an error +const foo3 = { +>foo3 : Symbol(foo3, Decl(thisPredicateInObjectLiteral.ts, 8, 5)) + + isNumber(x: any): x is this { +>isNumber : Symbol(isNumber, Decl(thisPredicateInObjectLiteral.ts, 8, 14)) +>x : Symbol(x, Decl(thisPredicateInObjectLiteral.ts, 9, 13)) +>x : Symbol(x, Decl(thisPredicateInObjectLiteral.ts, 9, 13)) + + return true; + }, +}; + diff --git a/tests/baselines/reference/thisPredicateInObjectLiteral.types b/tests/baselines/reference/thisPredicateInObjectLiteral.types new file mode 100644 index 00000000000..96963ea5061 --- /dev/null +++ b/tests/baselines/reference/thisPredicateInObjectLiteral.types @@ -0,0 +1,43 @@ +//// [tests/cases/compiler/thisPredicateInObjectLiteral.ts] //// + +=== thisPredicateInObjectLiteral.ts === +// Should be OK +const foo2 = { +>foo2 : { isNumber(): this is { b: string; }; } +> : ^^^^^^^^^^^^^^ ^^^ +>{ isNumber(): this is { b: string } { return true; },} : { isNumber(): this is { b: string; }; } +> : ^^^^^^^^^^^^^^ ^^^ + + isNumber(): this is { b: string } { +>isNumber : () => this is { b: string; } +> : ^^^^^^ +>b : string +> : ^^^^^^ + + return true; +>true : true +> : ^^^^ + + }, +}; + +// Still an error +const foo3 = { +>foo3 : { isNumber(x: any): x is this; } +> : ^^^^^^^^^^^ ^^ ^^^ ^^^ +>{ isNumber(x: any): x is this { return true; },} : { isNumber(x: any): x is this; } +> : ^^^^^^^^^^^ ^^ ^^^ ^^^ + + isNumber(x: any): x is this { +>isNumber : (x: any) => x is this +> : ^ ^^ ^^^^^ +>x : any +> : ^^^ + + return true; +>true : true +> : ^^^^ + + }, +}; + diff --git a/tests/baselines/reference/transformNestedGeneratorsWithTry.js b/tests/baselines/reference/transformNestedGeneratorsWithTry.js index fafab23513f..03e601481e8 100644 --- a/tests/baselines/reference/transformNestedGeneratorsWithTry.js +++ b/tests/baselines/reference/transformNestedGeneratorsWithTry.js @@ -34,8 +34,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/transpile/Supports setting declarationMap (verbatimModuleSyntax=true).js b/tests/baselines/reference/transpile/Supports setting declarationMap (verbatimModuleSyntax=true).js new file mode 100644 index 00000000000..8394371f908 --- /dev/null +++ b/tests/baselines/reference/transpile/Supports setting declarationMap (verbatimModuleSyntax=true).js @@ -0,0 +1,2 @@ +x; +//# sourceMappingURL=input.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declarationMap (verbatimModuleSyntax=true).oldTranspile.js b/tests/baselines/reference/transpile/Supports setting declarationMap (verbatimModuleSyntax=true).oldTranspile.js new file mode 100644 index 00000000000..8394371f908 --- /dev/null +++ b/tests/baselines/reference/transpile/Supports setting declarationMap (verbatimModuleSyntax=true).oldTranspile.js @@ -0,0 +1,2 @@ +x; +//# sourceMappingURL=input.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declarationMap.js b/tests/baselines/reference/transpile/Supports setting declarationMap.js new file mode 100644 index 00000000000..8394371f908 --- /dev/null +++ b/tests/baselines/reference/transpile/Supports setting declarationMap.js @@ -0,0 +1,2 @@ +x; +//# sourceMappingURL=input.js.map \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Supports setting declarationMap.oldTranspile.js b/tests/baselines/reference/transpile/Supports setting declarationMap.oldTranspile.js new file mode 100644 index 00000000000..8394371f908 --- /dev/null +++ b/tests/baselines/reference/transpile/Supports setting declarationMap.oldTranspile.js @@ -0,0 +1,2 @@ +x; +//# sourceMappingURL=input.js.map \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js index 398b621b1de..d60adcf9846 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js @@ -216,6 +216,13 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +File '/home/src/projects/node_modules/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -231,6 +238,13 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -246,6 +260,13 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -268,6 +289,13 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts @@ -302,6 +330,13 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -310,6 +345,13 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-es5/index.d.ts Library 'lib.es5.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -330,6 +372,13 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -338,6 +387,13 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-es5/index.d.ts Library 'lib.es5.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -365,6 +421,13 @@ File '/home/src/projects/node_modules/@typescript/lib-esnext/index.tsx' does not File '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts'. ======== Module name '@typescript/lib-esnext' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-esnext/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -373,6 +436,13 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -381,6 +451,13 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-webworker' Resolution for module '@typescript/lib-webworker' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-esnext/index.d.ts Library 'lib.esnext.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -590,7 +667,7 @@ exports.x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -610,38 +687,46 @@ exports.x = "type1"; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./core.d.ts": { "version": "-15683237936-export const core = 10;", @@ -701,7 +786,7 @@ exports.x = "type1"; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1680 + "size": 1752 } //// [/home/src/projects/project2/index.d.ts] @@ -716,7 +801,7 @@ exports.y = 10; //// [/home/src/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -730,20 +815,24 @@ exports.y = 10; "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./index.ts": { "original": { @@ -773,7 +862,7 @@ exports.y = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 959 + "size": 995 } //// [/home/src/projects/project3/index.d.ts] @@ -788,7 +877,7 @@ exports.z = 10; //// [/home/src/projects/project3/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -802,20 +891,24 @@ exports.z = 10; "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./index.ts": { "original": { @@ -845,7 +938,7 @@ exports.z = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 959 + "size": 995 } //// [/home/src/projects/project4/index.d.ts] @@ -860,7 +953,7 @@ exports.z = 10; //// [/home/src/projects/project4/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-esnext/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-esnext/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -875,29 +968,35 @@ exports.z = 10; "../node_modules/@typescript/lib-esnext/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./index.ts": { "original": { @@ -927,6 +1026,6 @@ exports.z = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1102 + "size": 1156 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js index cb94ea67dc6..10d5acdcc40 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js @@ -88,6 +88,7 @@ Found 'package.json' at '/src/projects/node_modules/@types/pg/package.json'. File '/src/projects/node_modules/@types/pg/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/projects/node_modules/@types/pg/index.d.ts', result '/src/projects/node_modules/@types/pg/index.d.ts'. ======== Type reference directive 'pg' was successfully resolved to '/src/projects/node_modules/@types/pg/index.d.ts', primary: true. ======== +File '/src/projects/node_modules/@types/pg/package.json' exists according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/projects/a/src/index.ts diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index 240e8ab2cd2..71935c0bfc8 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -96,6 +96,8 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 'package.json' does not have a 'peerDependencies' field. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== +File '/user/username/projects/myproject/node_modules/pkg2/build/package.json' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module 'const' from '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. diff --git a/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js b/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js new file mode 100644 index 00000000000..4aea56338cc --- /dev/null +++ b/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js @@ -0,0 +1,602 @@ +currentDirectory:: /user/username/projects/sample1 useCaseSensitiveFileNames: false +Input:: +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/user/username/projects/sample1/core/anotherModule.ts] +export const World = "hello"; + +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } +multiply(); + +//// [/user/username/projects/sample1/core/some_decl.d.ts] +declare const dts: any; + +//// [/user/username/projects/sample1/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/user/username/projects/sample1/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { + "path": "../core" + } + ] +} + +//// [/user/username/projects/sample1/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.json] +{ + "references": [ + { + "path": "../logic" + } + ], + "files": [ + "index.ts" + ], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + + + +Output:: +/a/lib/tsc --b tests --verbose --stopBuildOnErrors +[HH:MM:SS AM] Projects in this build: + * core/tsconfig.json + * logic/tsconfig.json + * tests/tsconfig.json + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because output file 'core/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + +core/index.ts:4:1 - error TS2554: Expected 2 arguments, but got 0. + +4 multiply(); +  ~~~~~~~~ + + core/index.ts:3:26 + 3 export function multiply(a: number, b: number) { return a * b; } +    ~~~~~~~~~ + An argument for 'a' was not provided. + +[HH:MM:SS AM] Project 'logic/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/logic/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + +[HH:MM:SS AM] Project 'tests/tsconfig.json' can't be built because its dependency 'logic' was not built + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/tests/tsconfig.json' because its dependency '/user/username/projects/sample1/logic' was not built + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + +//// [/user/username/projects/sample1/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + +//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} + +//// [/user/username/projects/sample1/core/anotherModule.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.World = void 0; +exports.World = "hello"; + + +//// [/user/username/projects/sample1/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + +//// [/user/username/projects/sample1/core/index.d.ts.map] +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } +multiply(); + + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "start": 178, + "length": 8, + "messageText": "Expected 2 arguments, but got 0.", + "category": 1, + "code": 2554, + "relatedInformation": [ + { + "start": 138, + "length": 9, + "messageText": "An argument for 'a' was not provided.", + "category": 3, + "code": 6210 + } + ] + } + ] + ] + ], + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1654 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/a/lib/tsc --b tests --verbose --stopBuildOnErrors +[HH:MM:SS AM] Projects in this build: + * core/tsconfig.json + * logic/tsconfig.json + * tests/tsconfig.json + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'core/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + +core/index.ts:4:1 - error TS2554: Expected 2 arguments, but got 0. + +4 multiply(); +  ~~~~~~~~ + + core/index.ts:3:26 + 3 export function multiply(a: number, b: number) { return a * b; } +    ~~~~~~~~~ + An argument for 'a' was not provided. + +[HH:MM:SS AM] Project 'logic/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/logic/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + +[HH:MM:SS AM] Project 'tests/tsconfig.json' can't be built because its dependency 'logic' was not built + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/tests/tsconfig.json' because its dependency '/user/username/projects/sample1/logic' was not built + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: fix error +Input:: +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + + + +Output:: +/a/lib/tsc --b tests --verbose --stopBuildOnErrors +[HH:MM:SS AM] Projects in this build: + * core/tsconfig.json + * logic/tsconfig.json + * tests/tsconfig.json + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'core/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + +[HH:MM:SS AM] Project 'logic/tsconfig.json' is out of date because output file 'logic/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... + +[HH:MM:SS AM] Project 'tests/tsconfig.json' is out of date because output file 'tests/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } + + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1380 +} + +//// [/user/username/projects/sample1/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/logic/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +exports.getSecondsInDay = getSecondsInDay; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map + +//// [/user/username/projects/sample1/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 4, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1427 +} + +//// [/user/username/projects/sample1/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/tests/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "../logic/index.d.ts": { + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "./index.ts": { + "original": { + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 5, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1565 +} + diff --git a/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js b/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js new file mode 100644 index 00000000000..8f0a3da4d67 --- /dev/null +++ b/tests/baselines/reference/tsbuild/sample1/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js @@ -0,0 +1,605 @@ +currentDirectory:: /user/username/projects/sample1 useCaseSensitiveFileNames: false +Input:: +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/user/username/projects/sample1/core/anotherModule.ts] +export const World = "hello"; + +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } +multiply(); + +//// [/user/username/projects/sample1/core/some_decl.d.ts] +declare const dts: any; + +//// [/user/username/projects/sample1/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/user/username/projects/sample1/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { + "path": "../core" + } + ] +} + +//// [/user/username/projects/sample1/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.json] +{ + "references": [ + { + "path": "../core" + }, + { + "path": "../logic" + } + ], + "files": [ + "index.ts" + ], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + + + +Output:: +/a/lib/tsc --b tests --verbose --stopBuildOnErrors +[HH:MM:SS AM] Projects in this build: + * core/tsconfig.json + * logic/tsconfig.json + * tests/tsconfig.json + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because output file 'core/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + +core/index.ts:4:1 - error TS2554: Expected 2 arguments, but got 0. + +4 multiply(); +  ~~~~~~~~ + + core/index.ts:3:26 + 3 export function multiply(a: number, b: number) { return a * b; } +    ~~~~~~~~~ + An argument for 'a' was not provided. + +[HH:MM:SS AM] Project 'logic/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/logic/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + +[HH:MM:SS AM] Project 'tests/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/tests/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + +//// [/user/username/projects/sample1/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + +//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} + +//// [/user/username/projects/sample1/core/anotherModule.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.World = void 0; +exports.World = "hello"; + + +//// [/user/username/projects/sample1/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + +//// [/user/username/projects/sample1/core/index.d.ts.map] +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } +multiply(); + + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "start": 178, + "length": 8, + "messageText": "Expected 2 arguments, but got 0.", + "category": 1, + "code": 2554, + "relatedInformation": [ + { + "start": 138, + "length": 9, + "messageText": "An argument for 'a' was not provided.", + "category": 3, + "code": 6210 + } + ] + } + ] + ] + ], + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1654 +} + + + +Change:: no-change-run +Input:: + + +Output:: +/a/lib/tsc --b tests --verbose --stopBuildOnErrors +[HH:MM:SS AM] Projects in this build: + * core/tsconfig.json + * logic/tsconfig.json + * tests/tsconfig.json + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'core/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + +core/index.ts:4:1 - error TS2554: Expected 2 arguments, but got 0. + +4 multiply(); +  ~~~~~~~~ + + core/index.ts:3:26 + 3 export function multiply(a: number, b: number) { return a * b; } +    ~~~~~~~~~ + An argument for 'a' was not provided. + +[HH:MM:SS AM] Project 'logic/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/logic/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + +[HH:MM:SS AM] Project 'tests/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/tests/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + + +Found 1 error. + +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped + + + + +Change:: fix error +Input:: +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + + + +Output:: +/a/lib/tsc --b tests --verbose --stopBuildOnErrors +[HH:MM:SS AM] Projects in this build: + * core/tsconfig.json + * logic/tsconfig.json + * tests/tsconfig.json + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'core/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + +[HH:MM:SS AM] Project 'logic/tsconfig.json' is out of date because output file 'logic/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... + +[HH:MM:SS AM] Project 'tests/tsconfig.json' is out of date because output file 'tests/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... + +exitCode:: ExitStatus.Success + + +//// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } + + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1380 +} + +//// [/user/username/projects/sample1/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/logic/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +exports.getSecondsInDay = getSecondsInDay; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map + +//// [/user/username/projects/sample1/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 4, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1427 +} + +//// [/user/username/projects/sample1/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/tests/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "../logic/index.d.ts": { + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "./index.ts": { + "original": { + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 5, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1565 +} + diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js index 5471f68b606..75f96f95533 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js @@ -202,6 +202,13 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +File '/home/src/projects/node_modules/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -217,6 +224,13 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -232,6 +246,13 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -254,6 +275,13 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts @@ -288,6 +316,13 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -296,6 +331,13 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-es5/index.d.ts Library 'lib.es5.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -316,6 +358,13 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -324,6 +373,13 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-es5/index.d.ts Library 'lib.es5.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -351,6 +407,13 @@ File '/home/src/projects/node_modules/@typescript/lib-esnext/index.tsx' does not File '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts'. ======== Module name '@typescript/lib-esnext' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-esnext/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -359,6 +422,13 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -367,6 +437,13 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-webworker' Resolution for module '@typescript/lib-webworker' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-esnext/index.d.ts Library 'lib.esnext.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -389,6 +466,12 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/index.ts 250 undefi FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 250 undefined Source file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/index.d.ts 250 undefined Source file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/src/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json +FileWatcher:: Added:: WatchInfo: /home/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json +FileWatcher:: Added:: WatchInfo: /package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json @@ -443,7 +526,7 @@ export declare const x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -463,38 +546,46 @@ export declare const x = "type1"; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./core.d.ts": { "version": "-15683237936-export const core = 10;", @@ -554,7 +645,7 @@ export declare const x = "type1"; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1680 + "size": 1752 } //// [/home/src/projects/project2/index.js] @@ -569,7 +660,7 @@ export declare const y = 10; //// [/home/src/projects/project2/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -583,20 +674,24 @@ export declare const y = 10; "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./index.ts": { "original": { @@ -626,7 +721,7 @@ export declare const y = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 959 + "size": 995 } //// [/home/src/projects/project3/index.js] @@ -641,7 +736,7 @@ export declare const z = 10; //// [/home/src/projects/project3/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -655,20 +750,24 @@ export declare const z = 10; "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./index.ts": { "original": { @@ -698,7 +797,7 @@ export declare const z = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 959 + "size": 995 } //// [/home/src/projects/project4/index.js] @@ -713,7 +812,7 @@ export declare const z = 10; //// [/home/src/projects/project4/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-esnext/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-esnext/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -728,29 +827,35 @@ export declare const z = 10; "../node_modules/@typescript/lib-esnext/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./index.ts": { "original": { @@ -780,11 +885,15 @@ export declare const z = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1102 + "size": 1156 } PolledWatches:: +/home/package.json: *new* + {"pollingInterval":2000} +/home/src/package.json: *new* + {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-es5/package.json: *new* @@ -795,8 +904,16 @@ PolledWatches:: {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project1/typeroot1/sometype/package.json: *new* {"pollingInterval":2000} +/package.json: *new* + {"pollingInterval":2000} FsWatches:: /home/src/projects/project1/core.d.ts: *new* diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 306e0ff852a..9a8a33b0795 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -105,7 +105,7 @@ export {}; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-12042713060-export const bar = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -132,8 +132,13 @@ export {}; "affectsGlobalScope": true }, "./node_modules/file/index.d.ts": { + "original": { + "version": "-12737086933-export const foo = 10;", + "impliedFormat": 1 + }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;" + "signature": "-12737086933-export const foo = 10;", + "impliedFormat": "commonjs" }, "./index.ts": { "original": { @@ -144,12 +149,22 @@ export {}; "signature": "-3531856636-export {};\n" }, "../node_modules/@types/foo/index.d.ts": { + "original": { + "version": "-12737086933-export const foo = 10;", + "impliedFormat": 1 + }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;" + "signature": "-12737086933-export const foo = 10;", + "impliedFormat": "commonjs" }, "../node_modules/@types/bar/index.d.ts": { + "original": { + "version": "-12042713060-export const bar = 10;", + "impliedFormat": 1 + }, "version": "-12042713060-export const bar = 10;", - "signature": "-12042713060-export const bar = 10;" + "signature": "-12042713060-export const bar = 10;", + "impliedFormat": "commonjs" } }, "root": [ @@ -168,7 +183,7 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 943 + "size": 1033 } //// [/user/username/projects/myproject/project2/index.js] @@ -181,7 +196,7 @@ export {}; //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../a/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;"],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../a/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -219,8 +234,13 @@ export {}; "signature": "-3531856636-export {};\n" }, "../node_modules/@types/foo/index.d.ts": { + "original": { + "version": "-12737086933-export const foo = 10;", + "impliedFormat": 1 + }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;" + "signature": "-12737086933-export const foo = 10;", + "impliedFormat": "commonjs" } }, "root": [ @@ -239,17 +259,35 @@ export {}; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 846 + "size": 876 } PolledWatches:: +/package.json: *new* + {"pollingInterval":2000} +/user/package.json: *new* + {"pollingInterval":2000} +/user/username/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types/bar/package.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types/foo/package.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/project1/node_modules/file/package.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/project1/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/project1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/project1/index.ts: *new* @@ -366,7 +404,7 @@ var bar = 10; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-7561100220-import { foo } from \"file\";const bar = 10;","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileIdsList":[[2]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-7561100220-import { foo } from \"file\";const bar = 10;","signature":"-3531856636-export {};\n"},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-12042713060-export const bar = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -393,8 +431,13 @@ var bar = 10; "affectsGlobalScope": true }, "./node_modules/file/index.d.ts": { + "original": { + "version": "-12737086933-export const foo = 10;", + "impliedFormat": 1 + }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;" + "signature": "-12737086933-export const foo = 10;", + "impliedFormat": "commonjs" }, "./index.ts": { "original": { @@ -405,12 +448,22 @@ var bar = 10; "signature": "-3531856636-export {};\n" }, "../node_modules/@types/foo/index.d.ts": { + "original": { + "version": "-12737086933-export const foo = 10;", + "impliedFormat": 1 + }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;" + "signature": "-12737086933-export const foo = 10;", + "impliedFormat": "commonjs" }, "../node_modules/@types/bar/index.d.ts": { + "original": { + "version": "-12042713060-export const bar = 10;", + "impliedFormat": 1 + }, "version": "-12042713060-export const bar = 10;", - "signature": "-12042713060-export const bar = 10;" + "signature": "-12042713060-export const bar = 10;", + "impliedFormat": "commonjs" } }, "root": [ @@ -429,7 +482,7 @@ var bar = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 958 + "size": 1048 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-stopBuildOnErrors-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-stopBuildOnErrors-is-passed-on-command-line.js new file mode 100644 index 00000000000..cccf6cf96d7 --- /dev/null +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-stopBuildOnErrors-is-passed-on-command-line.js @@ -0,0 +1,890 @@ +currentDirectory:: /user/username/projects/sample1 useCaseSensitiveFileNames: false +Input:: +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/user/username/projects/sample1/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + +//// [/user/username/projects/sample1/core/some_decl.d.ts] +declare const dts: any; + +//// [/user/username/projects/sample1/core/anotherModule.ts] +export const World = "hello"; + +//// [/user/username/projects/sample1/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { + "path": "../core" + } + ] +} + +//// [/user/username/projects/sample1/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.json] +{ + "references": [ + { + "path": "../core" + }, + { + "path": "../logic" + } + ], + "files": [ + "index.ts" + ], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + + +/a/lib/tsc.js -b -w tests --stopBuildOnErrors +Output:: +>> Screen clear +[HH:MM:SS AM] Starting compilation in watch mode... + +[HH:MM:SS AM] Found 0 errors. Watching for file changes. + + + +//// [/user/username/projects/sample1/core/anotherModule.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.World = void 0; +exports.World = "hello"; + + +//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} + +//// [/user/username/projects/sample1/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } + + +//// [/user/username/projects/sample1/core/index.d.ts.map] +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} + +//// [/user/username/projects/sample1/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1300 +} + +//// [/user/username/projects/sample1/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} + +//// [/user/username/projects/sample1/logic/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +exports.getSecondsInDay = getSecondsInDay; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map + +//// [/user/username/projects/sample1/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 4, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1347 +} + +//// [/user/username/projects/sample1/tests/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; + + +//// [/user/username/projects/sample1/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "../logic/index.d.ts": { + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "./index.ts": { + "original": { + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 5, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1485 +} + + +FsWatches:: +/user/username/projects/sample1/core/anotherModule.ts: *new* + {} +/user/username/projects/sample1/core/index.ts: *new* + {} +/user/username/projects/sample1/core/some_decl.d.ts: *new* + {} +/user/username/projects/sample1/core/tsconfig.json: *new* + {} +/user/username/projects/sample1/logic/index.ts: *new* + {} +/user/username/projects/sample1/logic/tsconfig.json: *new* + {} +/user/username/projects/sample1/tests/index.ts: *new* + {} +/user/username/projects/sample1/tests/tsconfig.json: *new* + {} + +FsWatchesRecursive:: +/user/username/projects/sample1/core: *new* + {} +/user/username/projects/sample1/logic: *new* + {} + +Program root files: [ + "/user/username/projects/sample1/core/anotherModule.ts", + "/user/username/projects/sample1/core/index.ts", + "/user/username/projects/sample1/core/some_decl.d.ts" +] +Program options: { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/core/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/some_decl.d.ts (used version) + +Program root files: [ + "/user/username/projects/sample1/logic/index.ts" +] +Program options: { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/logic/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/index.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.d.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) + +Program root files: [ + "/user/username/projects/sample1/tests/index.ts" +] +Program options: { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/tests/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.d.ts +/user/username/projects/sample1/tests/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.d.ts +/user/username/projects/sample1/tests/index.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/index.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.d.ts (used version) +/user/username/projects/sample1/logic/index.d.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) + +exitCode:: ExitStatus.undefined + +Change:: change logic + +Input:: +//// [/user/username/projects/sample1/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + +let y: string = 10; + + +Timeout callback:: count: 1 +1: timerToBuildInvalidatedProject *new* + +Before running Timeout callback:: count: 1 +1: timerToBuildInvalidatedProject + +Host is moving to new time +After running Timeout callback:: count: 0 +Output:: +>> Screen clear +[HH:MM:SS AM] File change detected. Starting incremental compilation... + +logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. + +8 let y: string = 10; +   ~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. + + + +//// [/user/username/projects/sample1/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC;AAErB,IAAI,CAAC,GAAW,EAAE,CAAC"} + +//// [/user/username/projects/sample1/logic/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +exports.getSecondsInDay = getSecondsInDay; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +var mod = require("../core/anotherModule"); +exports.m = mod; +var y = 10; +//# sourceMappingURL=index.js.map + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 4, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "start": 178, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ] + ], + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1521 +} + + + +Program root files: [ + "/user/username/projects/sample1/logic/index.ts" +] +Program options: { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/logic/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/sample1/logic/index.ts + +Shape signatures in builder refreshed for:: +/user/username/projects/sample1/logic/index.ts (computed .d.ts) + +exitCode:: ExitStatus.undefined + +Change:: change core + +Input:: +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + +let x: string = 10; + + +Timeout callback:: count: 1 +2: timerToBuildInvalidatedProject *new* + +Before running Timeout callback:: count: 1 +2: timerToBuildInvalidatedProject + +Host is moving to new time +After running Timeout callback:: count: 0 +Output:: +>> Screen clear +[HH:MM:SS AM] File change detected. Starting incremental compilation... + +core/index.ts:5:5 - error TS2322: Type 'number' is not assignable to type 'string'. + +5 let x: string = 10; +   ~ + +logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. + +8 let y: string = 10; +   ~ + +[HH:MM:SS AM] Found 2 errors. Watching for file changes. + + + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } +var x = 10; + + +//// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "start": 183, + "length": 1, + "code": 2322, + "category": 1, + "messageText": "Type 'number' is not assignable to type 'string'." + } + ] + ] + ], + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1474 +} + + +Before running Timeout callback:: count: 0 + +After running Timeout callback:: count: 0 + + +Program root files: [ + "/user/username/projects/sample1/core/anotherModule.ts", + "/user/username/projects/sample1/core/index.ts", + "/user/username/projects/sample1/core/some_decl.d.ts" +] +Program options: { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/core/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/sample1/core/index.ts + +Shape signatures in builder refreshed for:: +/user/username/projects/sample1/core/index.ts (computed .d.ts) + +exitCode:: ExitStatus.undefined + +Change:: fix error in logic + +Input:: +//// [/user/username/projects/sample1/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + + +Timeout callback:: count: 1 +3: timerToBuildInvalidatedProject *new* + +Before running Timeout callback:: count: 1 +3: timerToBuildInvalidatedProject + +Host is moving to new time +After running Timeout callback:: count: 0 +Output:: +>> Screen clear +[HH:MM:SS AM] File change detected. Starting incremental compilation... + +core/index.ts:5:5 - error TS2322: Type 'number' is not assignable to type 'string'. + +5 let x: string = 10; +   ~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. + + + + + +exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js b/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js new file mode 100644 index 00000000000..024873da564 --- /dev/null +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors-when-test-does-not-reference-core.js @@ -0,0 +1,731 @@ +currentDirectory:: /user/username/projects/sample1 useCaseSensitiveFileNames: false +Input:: +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/user/username/projects/sample1/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } +multiply(); + +//// [/user/username/projects/sample1/core/some_decl.d.ts] +declare const dts: any; + +//// [/user/username/projects/sample1/core/anotherModule.ts] +export const World = "hello"; + +//// [/user/username/projects/sample1/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { + "path": "../core" + } + ] +} + +//// [/user/username/projects/sample1/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.json] +{ + "references": [ + { + "path": "../logic" + } + ], + "files": [ + "index.ts" + ], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + + +/a/lib/tsc.js --b -w tests --verbose --stopBuildOnErrors +Output:: +>> Screen clear +[HH:MM:SS AM] Starting compilation in watch mode... + +[HH:MM:SS AM] Projects in this build: + * core/tsconfig.json + * logic/tsconfig.json + * tests/tsconfig.json + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because output file 'core/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + +core/index.ts:4:1 - error TS2554: Expected 2 arguments, but got 0. + +4 multiply(); +  ~~~~~~~~ + + core/index.ts:3:26 + 3 export function multiply(a: number, b: number) { return a * b; } +    ~~~~~~~~~ + An argument for 'a' was not provided. + +[HH:MM:SS AM] Project 'logic/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/logic/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + +[HH:MM:SS AM] Project 'tests/tsconfig.json' can't be built because its dependency 'logic' was not built + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/tests/tsconfig.json' because its dependency '/user/username/projects/sample1/logic' was not built + +[HH:MM:SS AM] Found 1 error. Watching for file changes. + + + +//// [/user/username/projects/sample1/core/anotherModule.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.World = void 0; +exports.World = "hello"; + + +//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} + +//// [/user/username/projects/sample1/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } +multiply(); + + +//// [/user/username/projects/sample1/core/index.d.ts.map] +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} + +//// [/user/username/projects/sample1/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "start": 178, + "length": 8, + "messageText": "Expected 2 arguments, but got 0.", + "category": 1, + "code": 2554, + "relatedInformation": [ + { + "start": 138, + "length": 9, + "messageText": "An argument for 'a' was not provided.", + "category": 3, + "code": 6210 + } + ] + } + ] + ] + ], + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1574 +} + + +FsWatches:: +/user/username/projects/sample1/core/anotherModule.ts: *new* + {} +/user/username/projects/sample1/core/index.ts: *new* + {} +/user/username/projects/sample1/core/some_decl.d.ts: *new* + {} +/user/username/projects/sample1/core/tsconfig.json: *new* + {} +/user/username/projects/sample1/logic/index.ts: *new* + {} +/user/username/projects/sample1/logic/tsconfig.json: *new* + {} +/user/username/projects/sample1/tests/index.ts: *new* + {} +/user/username/projects/sample1/tests/tsconfig.json: *new* + {} + +FsWatchesRecursive:: +/user/username/projects/sample1/core: *new* + {} +/user/username/projects/sample1/logic: *new* + {} + +Program root files: [ + "/user/username/projects/sample1/core/anotherModule.ts", + "/user/username/projects/sample1/core/index.ts", + "/user/username/projects/sample1/core/some_decl.d.ts" +] +Program options: { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/core/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/some_decl.d.ts (used version) + +exitCode:: ExitStatus.undefined + +Change:: fix error + +Input:: +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + + +Timeout callback:: count: 1 +1: timerToBuildInvalidatedProject *new* + +Before running Timeout callback:: count: 1 +1: timerToBuildInvalidatedProject + +Host is moving to new time +After running Timeout callback:: count: 1 +Output:: +>> Screen clear +[HH:MM:SS AM] File change detected. Starting incremental compilation... + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'core/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + + + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } + + +//// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1300 +} + + +Timeout callback:: count: 1 +2: timerToBuildInvalidatedProject *new* + +Before running Timeout callback:: count: 1 +2: timerToBuildInvalidatedProject + +Host is moving to new time +After running Timeout callback:: count: 0 +Output:: +[HH:MM:SS AM] Project 'logic/tsconfig.json' is out of date because output file 'logic/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... + +[HH:MM:SS AM] Project 'tests/tsconfig.json' is out of date because output file 'tests/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... + +[HH:MM:SS AM] Found 0 errors. Watching for file changes. + + + +//// [/user/username/projects/sample1/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} + +//// [/user/username/projects/sample1/logic/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +exports.getSecondsInDay = getSecondsInDay; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map + +//// [/user/username/projects/sample1/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 4, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1347 +} + +//// [/user/username/projects/sample1/tests/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; + + +//// [/user/username/projects/sample1/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "../logic/index.d.ts": { + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "./index.ts": { + "original": { + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 5, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1485 +} + + + +Program root files: [ + "/user/username/projects/sample1/core/anotherModule.ts", + "/user/username/projects/sample1/core/index.ts", + "/user/username/projects/sample1/core/some_decl.d.ts" +] +Program options: { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/core/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/sample1/core/index.ts + +Shape signatures in builder refreshed for:: +/user/username/projects/sample1/core/index.ts (computed .d.ts) + +Program root files: [ + "/user/username/projects/sample1/logic/index.ts" +] +Program options: { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/logic/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/index.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.d.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) + +Program root files: [ + "/user/username/projects/sample1/tests/index.ts" +] +Program options: { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/tests/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.d.ts +/user/username/projects/sample1/tests/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.d.ts +/user/username/projects/sample1/tests/index.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/index.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.d.ts (used version) +/user/username/projects/sample1/logic/index.d.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) + +exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js b/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js new file mode 100644 index 00000000000..5e025aa04a2 --- /dev/null +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/skips-builds-downstream-projects-if-upstream-projects-have-errors-with-stopBuildOnErrors.js @@ -0,0 +1,734 @@ +currentDirectory:: /user/username/projects/sample1 useCaseSensitiveFileNames: false +Input:: +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/user/username/projects/sample1/core/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } +multiply(); + +//// [/user/username/projects/sample1/core/some_decl.d.ts] +declare const dts: any; + +//// [/user/username/projects/sample1/core/anotherModule.ts] +export const World = "hello"; + +//// [/user/username/projects/sample1/logic/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + }, + "references": [ + { + "path": "../core" + } + ] +} + +//// [/user/username/projects/sample1/logic/index.ts] +import * as c from '../core/index'; +export function getSecondsInDay() { + return c.multiply(10, 15); +} +import * as mod from '../core/anotherModule'; +export const m = mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.json] +{ + "references": [ + { + "path": "../core" + }, + { + "path": "../logic" + } + ], + "files": [ + "index.ts" + ], + "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true + } +} + +//// [/user/username/projects/sample1/tests/index.ts] +import * as c from '../core/index'; +import * as logic from '../logic/index'; + +c.leftPad("", 10); +logic.getSecondsInDay(); + +import * as mod from '../core/anotherModule'; +export const m = mod; + + + +/a/lib/tsc.js --b -w tests --verbose --stopBuildOnErrors +Output:: +>> Screen clear +[HH:MM:SS AM] Starting compilation in watch mode... + +[HH:MM:SS AM] Projects in this build: + * core/tsconfig.json + * logic/tsconfig.json + * tests/tsconfig.json + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because output file 'core/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + +core/index.ts:4:1 - error TS2554: Expected 2 arguments, but got 0. + +4 multiply(); +  ~~~~~~~~ + + core/index.ts:3:26 + 3 export function multiply(a: number, b: number) { return a * b; } +    ~~~~~~~~~ + An argument for 'a' was not provided. + +[HH:MM:SS AM] Project 'logic/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/logic/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + +[HH:MM:SS AM] Project 'tests/tsconfig.json' can't be built because its dependency 'core' has errors + +[HH:MM:SS AM] Skipping build of project '/user/username/projects/sample1/tests/tsconfig.json' because its dependency '/user/username/projects/sample1/core' has errors + +[HH:MM:SS AM] Found 1 error. Watching for file changes. + + + +//// [/user/username/projects/sample1/core/anotherModule.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.World = void 0; +exports.World = "hello"; + + +//// [/user/username/projects/sample1/core/anotherModule.d.ts.map] +{"version":3,"file":"anotherModule.d.ts","sourceRoot":"","sources":["anotherModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC"} + +//// [/user/username/projects/sample1/core/anotherModule.d.ts] +export declare const World = "hello"; +//# sourceMappingURL=anotherModule.d.ts.map + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } +multiply(); + + +//// [/user/username/projects/sample1/core/index.d.ts.map] +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB"} + +//// [/user/username/projects/sample1/core/index.d.ts] +export declare const someString: string; +export declare function leftPad(s: string, n: number): string; +export declare function multiply(a: number, b: number): number; +//# sourceMappingURL=index.d.ts.map + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":178,"length":8,"messageText":"Expected 2 arguments, but got 0.","category":1,"code":2554,"relatedInformation":[{"start":138,"length":9,"messageText":"An argument for 'a' was not provided.","category":3,"code":6210}]}]]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-12887218413-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\nmultiply();", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "semanticDiagnosticsPerFile": [ + [ + "./index.ts", + [ + { + "start": 178, + "length": 8, + "messageText": "Expected 2 arguments, but got 0.", + "category": 1, + "code": 2554, + "relatedInformation": [ + { + "start": 138, + "length": 9, + "messageText": "An argument for 'a' was not provided.", + "category": 3, + "code": 6210 + } + ] + } + ] + ] + ], + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1574 +} + + +FsWatches:: +/user/username/projects/sample1/core/anotherModule.ts: *new* + {} +/user/username/projects/sample1/core/index.ts: *new* + {} +/user/username/projects/sample1/core/some_decl.d.ts: *new* + {} +/user/username/projects/sample1/core/tsconfig.json: *new* + {} +/user/username/projects/sample1/logic/index.ts: *new* + {} +/user/username/projects/sample1/logic/tsconfig.json: *new* + {} +/user/username/projects/sample1/tests/index.ts: *new* + {} +/user/username/projects/sample1/tests/tsconfig.json: *new* + {} + +FsWatchesRecursive:: +/user/username/projects/sample1/core: *new* + {} +/user/username/projects/sample1/logic: *new* + {} + +Program root files: [ + "/user/username/projects/sample1/core/anotherModule.ts", + "/user/username/projects/sample1/core/index.ts", + "/user/username/projects/sample1/core/some_decl.d.ts" +] +Program options: { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/core/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/index.ts (computed .d.ts during emit) +/user/username/projects/sample1/core/some_decl.d.ts (used version) + +exitCode:: ExitStatus.undefined + +Change:: fix error + +Input:: +//// [/user/username/projects/sample1/core/index.ts] +export const someString: string = "HELLO WORLD"; +export function leftPad(s: string, n: number) { return s + n; } +export function multiply(a: number, b: number) { return a * b; } + + + +Timeout callback:: count: 1 +1: timerToBuildInvalidatedProject *new* + +Before running Timeout callback:: count: 1 +1: timerToBuildInvalidatedProject + +Host is moving to new time +After running Timeout callback:: count: 1 +Output:: +>> Screen clear +[HH:MM:SS AM] File change detected. Starting incremental compilation... + +[HH:MM:SS AM] Project 'core/tsconfig.json' is out of date because buildinfo file 'core/tsconfig.tsbuildinfo' indicates that program needs to report errors. + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... + + + +//// [/user/username/projects/sample1/core/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.someString = void 0; +exports.leftPad = leftPad; +exports.multiply = multiply; +exports.someString = "HELLO WORLD"; +function leftPad(s, n) { return s + n; } +function multiply(a, b) { return a * b; } + + +//// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./anothermodule.ts": { + "original": { + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "version": "-3090574810-export const World = \"hello\";", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "./some_decl.d.ts": { + "original": { + "version": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + }, + "version": "-7959511260-declare const dts: any;", + "signature": "-7959511260-declare const dts: any;", + "affectsGlobalScope": true + } + }, + "root": [ + [ + [ + 2, + 4 + ], + [ + "./anothermodule.ts", + "./index.ts", + "./some_decl.d.ts" + ] + ] + ], + "options": { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1300 +} + + +Timeout callback:: count: 1 +2: timerToBuildInvalidatedProject *new* + +Before running Timeout callback:: count: 1 +2: timerToBuildInvalidatedProject + +Host is moving to new time +After running Timeout callback:: count: 0 +Output:: +[HH:MM:SS AM] Project 'logic/tsconfig.json' is out of date because output file 'logic/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... + +[HH:MM:SS AM] Project 'tests/tsconfig.json' is out of date because output file 'tests/tsconfig.tsbuildinfo' does not exist + +[HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... + +[HH:MM:SS AM] Found 0 errors. Watching for file changes. + + + +//// [/user/username/projects/sample1/logic/index.js.map] +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} + +//// [/user/username/projects/sample1/logic/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +exports.getSecondsInDay = getSecondsInDay; +var c = require("../core/index"); +function getSecondsInDay() { + return c.multiply(10, 15); +} +var mod = require("../core/anotherModule"); +exports.m = mod; +//# sourceMappingURL=index.js.map + +//// [/user/username/projects/sample1/logic/index.d.ts] +export declare function getSecondsInDay(): number; +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "./index.ts": { + "original": { + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 4, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true, + "sourceMap": true + }, + "referencedMap": { + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1347 +} + +//// [/user/username/projects/sample1/tests/index.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.m = void 0; +var c = require("../core/index"); +var logic = require("../logic/index"); +c.leftPad("", 10); +logic.getSecondsInDay(); +var mod = require("../core/anotherModule"); +exports.m = mod; + + +//// [/user/username/projects/sample1/tests/index.d.ts] +import * as mod from '../core/anotherModule'; +export declare const m: typeof mod; + + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] +{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileIdsList":[[3],[2,3,4]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} + +//// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "fileNames": [ + "../../../../../a/lib/lib.d.ts", + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts", + "./index.ts" + ], + "fileIdsList": [ + [ + "../core/anothermodule.d.ts" + ], + [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + ], + "fileInfos": { + "../../../../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "../core/index.d.ts": { + "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" + }, + "../core/anothermodule.d.ts": { + "version": "-9234818176-export declare const World = \"hello\";\n", + "signature": "-9234818176-export declare const World = \"hello\";\n" + }, + "../logic/index.d.ts": { + "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "./index.ts": { + "original": { + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + }, + "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" + } + }, + "root": [ + [ + 5, + "./index.ts" + ] + ], + "options": { + "composite": true, + "declaration": true, + "skipDefaultLibCheck": true + }, + "referencedMap": { + "../logic/index.d.ts": [ + "../core/anothermodule.d.ts" + ], + "./index.ts": [ + "../core/index.d.ts", + "../core/anothermodule.d.ts", + "../logic/index.d.ts" + ] + }, + "latestChangedDtsFile": "./index.d.ts", + "version": "FakeTSVersion", + "size": 1485 +} + + + +Program root files: [ + "/user/username/projects/sample1/core/anotherModule.ts", + "/user/username/projects/sample1/core/index.ts", + "/user/username/projects/sample1/core/some_decl.d.ts" +] +Program options: { + "composite": true, + "declaration": true, + "declarationMap": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/core/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/anotherModule.ts +/user/username/projects/sample1/core/index.ts +/user/username/projects/sample1/core/some_decl.d.ts + +Semantic diagnostics in builder refreshed for:: +/user/username/projects/sample1/core/index.ts + +Shape signatures in builder refreshed for:: +/user/username/projects/sample1/core/index.ts (computed .d.ts) + +Program root files: [ + "/user/username/projects/sample1/logic/index.ts" +] +Program options: { + "composite": true, + "declaration": true, + "sourceMap": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/logic/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/index.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.d.ts (used version) +/user/username/projects/sample1/logic/index.ts (computed .d.ts during emit) + +Program root files: [ + "/user/username/projects/sample1/tests/index.ts" +] +Program options: { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, + "skipDefaultLibCheck": true, + "watch": true, + "tscBuild": true, + "configFilePath": "/user/username/projects/sample1/tests/tsconfig.json" +} +Program structureReused: Not +Program files:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.d.ts +/user/username/projects/sample1/tests/index.ts + +Semantic diagnostics in builder refreshed for:: +/a/lib/lib.d.ts +/user/username/projects/sample1/core/index.d.ts +/user/username/projects/sample1/core/anotherModule.d.ts +/user/username/projects/sample1/logic/index.d.ts +/user/username/projects/sample1/tests/index.ts + +Shape signatures in builder refreshed for:: +/a/lib/lib.d.ts (used version) +/user/username/projects/sample1/core/index.d.ts (used version) +/user/username/projects/sample1/core/anothermodule.d.ts (used version) +/user/username/projects/sample1/logic/index.d.ts (used version) +/user/username/projects/sample1/tests/index.ts (computed .d.ts during emit) + +exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js index f4daf4e6153..61fe239cc13 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js @@ -118,6 +118,7 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== +File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -149,6 +150,7 @@ File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== +File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' plugin-one/node_modules/typescript-fsa/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js index 56d3133c71b..8ac6d3240ba 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js @@ -163,6 +163,8 @@ File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== +File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. +File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' plugin-two/node_modules/typescript-fsa/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js index 366ea665d69..5d7cd7a50f9 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js @@ -163,6 +163,8 @@ File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== +File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. +File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' plugin-two/node_modules/typescript-fsa/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js index 4a79a18f881..ad05a8be189 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js @@ -118,6 +118,7 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== +File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -149,6 +150,7 @@ File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== +File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' plugin-one/node_modules/typescript-fsa/index.d.ts diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js index 35d03cae679..1ce9050981a 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js @@ -206,6 +206,13 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +File '/home/src/projects/node_modules/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -221,6 +228,13 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -236,6 +250,13 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -258,6 +279,13 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts @@ -373,7 +401,7 @@ exports.x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -393,38 +421,46 @@ exports.x = "type1"; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./core.d.ts": { "version": "-15683237936-export const core = 10;", @@ -484,6 +520,6 @@ exports.x = "type1"; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1680 + "size": 1752 } diff --git a/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js b/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js index 95c948bd17a..6df2d863aa7 100644 --- a/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js +++ b/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js @@ -204,6 +204,13 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +File '/home/src/projects/node_modules/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -217,6 +224,13 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -230,6 +244,13 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -243,6 +264,13 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts diff --git a/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js b/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js index 37d45dc691a..a5a91c81970 100644 --- a/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js +++ b/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js @@ -240,6 +240,8 @@ Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/ Found peerDependency '@component-type-checker/button' with '0.0.1' version. Resolving real path for '/home/src/projects/component-type-checker/packages/sdk/node_modules/@component-type-checker/components/src/index.ts', result '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/src/index.ts'. ======== Module name '@component-type-checker/components' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/src/index.ts' with Package ID '@component-type-checker/components/src/index.ts@0.0.1+@component-type-checker/button@0.0.1'. ======== +File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/src/package.json' does not exist. +Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/package.json'. ======== Resolving module '@component-type-checker/button' from '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/src/index.ts'. ======== Explicitly specified module resolution kind: 'Node10'. 'baseUrl' option is set to '/home/src/projects/component-type-checker/packages/app', using this value to resolve non-relative module name '@component-type-checker/button'. @@ -265,6 +267,10 @@ File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-ty 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts', result '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts'. ======== Module name '@component-type-checker/button' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts' with Package ID '@component-type-checker/button/src/index.ts@0.0.1'. ======== +File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/package.json' does not exist. +Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/package.json'. +File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.2/node_modules/@component-type-checker/components/src/package.json' does not exist. +Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.2/node_modules/@component-type-checker/components/package.json'. ======== Resolving module '@component-type-checker/button' from '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.2/node_modules/@component-type-checker/components/src/index.ts'. ======== Explicitly specified module resolution kind: 'Node10'. 'baseUrl' option is set to '/home/src/projects/component-type-checker/packages/app', using this value to resolve non-relative module name '@component-type-checker/button'. @@ -290,6 +296,8 @@ File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-ty 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts', result '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts'. ======== Module name '@component-type-checker/button' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts' with Package ID '@component-type-checker/button/src/index.ts@0.0.2'. ======== +File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/package.json' does not exist. +Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/package.json'. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/component-type-checker/packages/app/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. diff --git a/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js b/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js index cae334db82e..866c833d418 100644 --- a/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js +++ b/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js @@ -82,6 +82,7 @@ export declare const esm: number; Output:: /lib/tsc --p app --pretty false app/src/index.ts(2,28): error TS2613: Module '"/app/src/local"' has no default export. Did you mean to use 'import { local } from "/app/src/local"' instead? +app/src/index.ts(3,28): error TS2613: Module '"/node_modules/esm-package/index"' has no default export. Did you mean to use 'import { esm } from "/node_modules/esm-package/index"' instead? exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/projectReferences/importing-const-enum-from-referenced-project-with-preserveConstEnums-and-verbatimModuleSyntax.js b/tests/baselines/reference/tsc/projectReferences/importing-const-enum-from-referenced-project-with-preserveConstEnums-and-verbatimModuleSyntax.js new file mode 100644 index 00000000000..45a6868c9ec --- /dev/null +++ b/tests/baselines/reference/tsc/projectReferences/importing-const-enum-from-referenced-project-with-preserveConstEnums-and-verbatimModuleSyntax.js @@ -0,0 +1,83 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Input:: +//// [/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + +//// [/src/no-preserve/index.d.ts] +export declare const enum F { A = 1 } + +//// [/src/no-preserve/index.ts] +export const enum E { A = 1 } + +//// [/src/no-preserve/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "preserveConstEnums": false + } +} + +//// [/src/preserve/index.d.ts] +export declare const enum E { A = 1 } + +//// [/src/preserve/index.ts] +export const enum E { A = 1 } + +//// [/src/preserve/tsconfig.json] +{ + "compilerOptions": { + "composite": true, + "declaration": true, + "preserveConstEnums": true + } +} + +//// [/src/project/index.ts] +import { E } from "../preserve"; +import { F } from "../no-preserve"; +E.A; F.A; + +//// [/src/project/tsconfig.json] +{ + "compilerOptions": { + "module": "preserve", + "verbatimModuleSyntax": true + }, + "references": [ + { + "path": "../preserve" + }, + { + "path": "../no-preserve" + } + ] +} + + + +Output:: +/lib/tsc --p src/project --pretty false +src/project/index.ts(2,10): error TS2748: Cannot access ambient const enums when 'verbatimModuleSyntax' is enabled. +exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated + + +//// [/src/project/index.js] +import { E } from "../preserve"; +import { F } from "../no-preserve"; +E.A; +F.A; + + diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js index 279f578285c..edd0f77e992 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js @@ -70,7 +70,7 @@ exports.App = App; //// [/src/project/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"code":7016,"category":1,"messageText":"Could not find a declaration file for module 'react/jsx-runtime'. '/src/project/node_modules/react/jsx-runtime.js' implicitly has an 'any' type."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"code":7016,"category":1,"messageText":"Could not find a declaration file for module 'react/jsx-runtime'. '/src/project/node_modules/react/jsx-runtime.js' implicitly has an 'any' type."}]]],"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,11 +96,13 @@ exports.App = App; "./node_modules/@types/react/index.d.ts": { "original": { "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", "signature": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" } }, "root": [ @@ -130,6 +132,6 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1275 + "size": 1293 } diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js index aee89af8a89..a2d2e1144a6 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js @@ -62,7 +62,7 @@ exports.App = App; //// [/src/project/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -88,11 +88,13 @@ exports.App = App; "./node_modules/@types/react/index.d.ts": { "original": { "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", "signature": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" } }, "root": [ @@ -107,6 +109,6 @@ exports.App = App; "module": 1 }, "version": "FakeTSVersion", - "size": 1013 + "size": 1031 } diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js index 6de5b16cdd4..75405d55fd9 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js @@ -89,6 +89,8 @@ exports.App = App; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/react/Jsx-runtime/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 3f8289c5207..8fd695b8883 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -322,8 +322,18 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/node_modules/fp-ts/lib/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules/fp-ts/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js index eb30c9508cf..8d5b0dac686 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js @@ -45,7 +45,7 @@ var classnames_1 = require("classnames"); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;","-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},"-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -75,8 +75,13 @@ var classnames_1 = require("classnames"); "affectsGlobalScope": true }, "./node_modules/classnames/index.d.ts": { + "original": { + "version": "1239706283-export interface Result {} export default function classNames(): Result;", + "impliedFormat": 1 + }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "signature": "1239706283-export interface Result {} export default function classNames(): Result;" + "signature": "1239706283-export interface Result {} export default function classNames(): Result;", + "impliedFormat": "commonjs" }, "./src/index.ts": { "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", @@ -110,7 +115,7 @@ var classnames_1 = require("classnames"); ] }, "version": "FakeTSVersion", - "size": 983 + "size": 1013 } @@ -164,7 +169,7 @@ Found 1 error in src/index.ts:1 //// [/users/username/projects/project/src/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;",{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -194,8 +199,13 @@ Found 1 error in src/index.ts:1 "affectsGlobalScope": true }, "./node_modules/classnames/index.d.ts": { + "original": { + "version": "1239706283-export interface Result {} export default function classNames(): Result;", + "impliedFormat": 1 + }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "signature": "1239706283-export interface Result {} export default function classNames(): Result;" + "signature": "1239706283-export interface Result {} export default function classNames(): Result;", + "impliedFormat": "commonjs" }, "./src/index.ts": { "original": { @@ -247,7 +257,7 @@ Found 1 error in src/index.ts:1 ] ], "version": "FakeTSVersion", - "size": 1179 + "size": 1209 } diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js index ef2bf5b7a1c..25fefdcb502 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -50,7 +50,7 @@ var classnames_1 = require("classnames"); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;","-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},"-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -80,8 +80,13 @@ var classnames_1 = require("classnames"); "affectsGlobalScope": true }, "./node_modules/classnames/index.d.ts": { + "original": { + "version": "1239706283-export interface Result {} export default function classNames(): Result;", + "impliedFormat": 1 + }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "signature": "1239706283-export interface Result {} export default function classNames(): Result;" + "signature": "1239706283-export interface Result {} export default function classNames(): Result;", + "impliedFormat": "commonjs" }, "./src/index.ts": { "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", @@ -115,15 +120,23 @@ var classnames_1 = require("classnames"); ] }, "version": "FakeTSVersion", - "size": 983 + "size": 1013 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/node_modules/classnames/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -186,8 +199,16 @@ export {}; declare module "classnames" { interface Result {} } PolledWatches *deleted*:: /users/username/projects/node_modules/@types: {"pollingInterval":500} +/users/username/projects/package.json: + {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/node_modules/classnames/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/package.json: + {"pollingInterval":2000} +/users/username/projects/project/package.json: + {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -224,7 +245,7 @@ Output:: //// [/users/username/projects/project/src/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;",{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileIdsList":[[2,4],[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -254,8 +275,13 @@ Output:: "affectsGlobalScope": true }, "./node_modules/classnames/index.d.ts": { + "original": { + "version": "1239706283-export interface Result {} export default function classNames(): Result;", + "impliedFormat": 1 + }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "signature": "1239706283-export interface Result {} export default function classNames(): Result;" + "signature": "1239706283-export interface Result {} export default function classNames(): Result;", + "impliedFormat": "commonjs" }, "./src/index.ts": { "original": { @@ -307,15 +333,23 @@ Output:: ] ], "version": "FakeTSVersion", - "size": 1179 + "size": 1209 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/node_modules/classnames/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js index 85384d9e7be..696d0e2a10b 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js @@ -48,7 +48,7 @@ exports.x = tslib_1.__assign({}); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/tslib/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1620578607-export function __assign(...args: any[]): any;","-14168389096-export const x = {...{}};"],"root":[3],"options":{"importHelpers":true},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/tslib/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1620578607-export function __assign(...args: any[]): any;","impliedFormat":1},"-14168389096-export const x = {...{}};"],"root":[3],"options":{"importHelpers":true},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -73,8 +73,13 @@ exports.x = tslib_1.__assign({}); "affectsGlobalScope": true }, "./node_modules/tslib/index.d.ts": { + "original": { + "version": "1620578607-export function __assign(...args: any[]): any;", + "impliedFormat": 1 + }, "version": "1620578607-export function __assign(...args: any[]): any;", - "signature": "1620578607-export function __assign(...args: any[]): any;" + "signature": "1620578607-export function __assign(...args: any[]): any;", + "impliedFormat": "commonjs" }, "./index.tsx": { "version": "-14168389096-export const x = {...{}};", @@ -96,7 +101,7 @@ exports.x = tslib_1.__assign({}); ] }, "version": "FakeTSVersion", - "size": 800 + "size": 830 } diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js index df6342f1b7a..401cc30613e 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js @@ -158,7 +158,7 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n",{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -183,8 +183,13 @@ Output:: "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { + "original": { + "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": 1 + }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": "commonjs" }, "./index.tsx": { "original": { @@ -212,7 +217,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1214 + "size": 1244 } diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js index 73f2a147bcf..a8d71ffbd82 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js @@ -210,7 +210,7 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n",{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -235,8 +235,13 @@ Output:: "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { + "original": { + "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": 1 + }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": "commonjs" }, "./index.tsx": { "original": { @@ -264,7 +269,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1214 + "size": 1244 } @@ -273,6 +278,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/node_modules/react/jsx-runtime/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js index b72dc0fe407..b334d76bc27 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js @@ -63,7 +63,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -88,8 +88,13 @@ exports.App = App; "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { + "original": { + "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": 1 + }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": "commonjs" }, "./index.tsx": { "version": "-14760199789-export const App = () =>
;", @@ -113,7 +118,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1098 + "size": 1128 } diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js index b1455e53f31..5b5bc01e0b8 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js @@ -68,7 +68,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,8 +93,13 @@ exports.App = App; "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { + "original": { + "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": 1 + }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": "commonjs" }, "./index.tsx": { "version": "-14760199789-export const App = () =>
;", @@ -118,7 +123,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1098 + "size": 1128 } @@ -127,6 +132,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/node_modules/react/jsx-runtime/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -186,6 +193,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/node_modules/react/jsx-runtime/package.json: + {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js index 17aa26122f2..c744c66e983 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js @@ -89,7 +89,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -114,8 +114,13 @@ exports.App = App; "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { + "original": { + "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": 1 + }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": "commonjs" }, "./index.tsx": { "version": "-14760199789-export const App = () =>
;", @@ -139,7 +144,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1098 + "size": 1128 } @@ -214,7 +219,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n",{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -239,8 +244,13 @@ exports.App = App; "affectsGlobalScope": true }, "./node_modules/preact/jsx-runtime/index.d.ts": { + "original": { + "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": 1 + }, "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" + "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": "commonjs" }, "./index.tsx": { "original": { @@ -293,7 +303,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1574 + "size": 1604 } diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js index 9a32661bae9..ca9bd4edd7f 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js @@ -94,7 +94,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},"-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"referencedMap":[[3,1]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -119,8 +119,13 @@ exports.App = App; "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { + "original": { + "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": 1 + }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": "commonjs" }, "./index.tsx": { "version": "-14760199789-export const App = () =>
;", @@ -144,7 +149,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1098 + "size": 1128 } @@ -153,6 +158,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/node_modules/react/jsx-runtime/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -221,6 +228,8 @@ PolledWatches *deleted*:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/node_modules/react/jsx-runtime/package.json: + {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -270,7 +279,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n",{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]],"version":"FakeTSVersion"} +{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileIdsList":[[2]],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]],"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -295,8 +304,13 @@ exports.App = App; "affectsGlobalScope": true }, "./node_modules/preact/jsx-runtime/index.d.ts": { + "original": { + "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": 1 + }, "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" + "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", + "impliedFormat": "commonjs" }, "./index.tsx": { "original": { @@ -349,7 +363,7 @@ exports.App = App; ] ], "version": "FakeTSVersion", - "size": 1574 + "size": 1604 } @@ -358,6 +372,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/node_modules/preact/jsx-runtime/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js index 0b3d485734c..899dd68bb90 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js @@ -205,6 +205,13 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +File '/home/src/projects/node_modules/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -221,6 +228,13 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -237,6 +251,13 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/index.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 250 undefined Source file @@ -265,7 +286,21 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Type roots node_modules/@typescript/lib-webworker/index.d.ts @@ -328,7 +363,7 @@ export declare const x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -348,38 +383,46 @@ export declare const x = "type1"; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./core.d.ts": { "version": "-15683237936-export const core = 10;", @@ -439,11 +482,25 @@ export declare const x = "type1"; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1680 + "size": 1752 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project1/node_modules: *new* {"pollingInterval":500} @@ -573,10 +630,59 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -584,7 +690,7 @@ Loading module '@typescript/lib-dom' from 'node_modules' folder, target file typ Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'typescript__lib-dom' -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -612,6 +718,7 @@ Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions node_modules/@typescript/lib-webworker/index.d.ts @@ -642,7 +749,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -671,29 +778,35 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./core.d.ts": { "version": "-15683237936-export const core = 10;", @@ -753,14 +866,30 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1656 + "size": 1710 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.dom.d.ts: *new* {} @@ -891,6 +1020,27 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -935,7 +1085,7 @@ export declare const xyz = 10; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -964,29 +1114,35 @@ export declare const xyz = 10; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./core.d.ts": { "version": "-15683237936-export const core = 10;", @@ -1046,7 +1202,7 @@ export declare const xyz = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1709 + "size": 1763 } @@ -1127,8 +1283,29 @@ CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. FileWatcher:: Close:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undefined Source file @@ -1157,7 +1334,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1185,29 +1362,35 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -1262,11 +1445,23 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1655 + "size": 1709 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} @@ -1387,6 +1582,27 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -1405,9 +1621,38 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts @@ -1436,7 +1681,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1455,38 +1700,46 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -1541,11 +1794,25 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1679 + "size": 1751 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} @@ -1685,8 +1952,29 @@ CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1","/home/src/projects/project1/typeroot2"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1,/home/src/projects/project1/typeroot2'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1, /home/src/projects/project1/typeroot2'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -1695,6 +1983,13 @@ File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots node_modules/@typescript/lib-webworker/index.d.ts @@ -1723,6 +2018,20 @@ project1/typeroot1/sometype/index.d.ts PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} /home/src/projects/project1/typeroot2: *new* @@ -1852,8 +2161,29 @@ CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -1896,6 +2226,7 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots ../lib/lib.dom.d.ts @@ -1926,7 +2257,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1954,29 +2285,35 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -2031,15 +2368,29 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1655 + "size": 1709 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} /home/src/projects/project1/typeroot2: {"pollingInterval":500} @@ -2170,6 +2521,13 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -2177,7 +2535,7 @@ Loading module '@typescript/lib-webworker' from 'node_modules' folder, target fi Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'typescript__lib-webworker' -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -2206,9 +2564,24 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions ../lib/lib.webworker.d.ts @@ -2237,7 +2610,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2274,20 +2647,24 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -2342,14 +2719,28 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1631 + "size": 1667 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.dom.d.ts: {} @@ -2486,6 +2877,20 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -2501,12 +2906,34 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions node_modules/@typescript/lib-webworker/index.d.ts @@ -2535,7 +2962,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2563,29 +2990,35 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -2640,11 +3073,23 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1655 + "size": 1709 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js index d3c89775e9e..fb9dda0fc7a 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js @@ -610,8 +610,19 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - u Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +File '/home/src/projects/node_modules/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -642,7 +653,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -689,11 +700,13 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./core.d.ts": { "version": "-15683237936-export const core = 10;", @@ -753,11 +766,19 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1608 + "size": 1626 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} @@ -888,6 +909,13 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -932,7 +960,7 @@ export declare const xyz = 10; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -979,11 +1007,13 @@ export declare const xyz = 10; "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./core.d.ts": { "version": "-15683237936-export const core = 10;", @@ -1043,7 +1073,7 @@ export declare const xyz = 10; }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1661 + "size": 1679 } @@ -1128,6 +1158,13 @@ Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projec Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undefined Source file ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' @@ -1154,7 +1191,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1200,11 +1237,13 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -1259,11 +1298,19 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1607 + "size": 1625 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} @@ -1374,6 +1421,13 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. @@ -1385,7 +1439,7 @@ Loading module '@typescript/lib-dom' from 'node_modules' folder, target file typ Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'typescript__lib-dom' -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -1413,6 +1467,10 @@ Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -1554,6 +1612,16 @@ PolledWatches:: /home/src/projects/project1/node_modules: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.dom.d.ts: *new* {} @@ -1882,8 +1950,19 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots ../lib/lib.es5.d.ts @@ -1914,7 +1993,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1960,11 +2039,13 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -2019,11 +2100,19 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1607 + "size": 1625 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} @@ -2171,6 +2260,13 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -2186,12 +2282,27 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -2220,7 +2331,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2257,20 +2368,24 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -2325,11 +2440,21 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1631 + "size": 1667 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} @@ -2456,6 +2581,13 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -2463,7 +2595,7 @@ Loading module '@typescript/lib-webworker' from 'node_modules' folder, target fi Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'typescript__lib-webworker' -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -2495,6 +2627,14 @@ Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projec Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -2523,7 +2663,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts","version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2569,11 +2709,13 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "./file.ts": { "original": { @@ -2628,14 +2770,26 @@ project1/typeroot1/sometype/index.d.ts }, "latestChangedDtsFile": "./index.d.ts", "version": "FakeTSVersion", - "size": 1607 + "size": 1625 } PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.es5.d.ts: {} diff --git a/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js b/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js index 93f2a70c74c..db794016f1d 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js @@ -202,6 +202,13 @@ Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webwork ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +File '/home/src/projects/node_modules/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -216,6 +223,13 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -230,6 +244,13 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -244,7 +265,21 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots node_modules/@typescript/lib-webworker/index.d.ts @@ -294,6 +329,20 @@ exports.x = "type1"; PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts: *new* @@ -403,15 +452,64 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -438,6 +536,7 @@ Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions node_modules/@typescript/lib-webworker/index.d.ts @@ -468,6 +567,22 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} + +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -581,6 +696,27 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -681,10 +817,52 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: project1/core.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. FileWatcher:: Added:: WatchInfo: project1/core.d.ts 500 undefined Missing file error TS6053: File 'project1/core.d.ts' not found. @@ -716,6 +894,18 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: *new* {"pollingInterval":500} @@ -821,6 +1011,27 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -837,8 +1048,37 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: Root file specified for compilation @@ -871,6 +1111,20 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} @@ -973,12 +1227,19 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -1006,8 +1267,30 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: Root file specified for compilation @@ -1040,9 +1323,25 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.webworker.d.ts: *new* {} @@ -1154,6 +1453,27 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1167,11 +1487,40 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: Root file specified for compilation @@ -1204,6 +1553,20 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} diff --git a/tests/baselines/reference/tscWatch/libraryResolution/without-config.js b/tests/baselines/reference/tscWatch/libraryResolution/without-config.js index 7fe78260f97..2916a22ac3a 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/without-config.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/without-config.js @@ -433,8 +433,19 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +File '/home/src/projects/node_modules/package.json' does not exist. +File '/home/src/projects/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -465,6 +476,14 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.es5.d.ts: @@ -575,6 +594,13 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -675,11 +701,25 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: project1/core.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/core.d.ts 500 undefined Missing file error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: @@ -710,6 +750,14 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: *new* {"pollingInterval":500} @@ -805,6 +853,13 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. @@ -813,7 +868,7 @@ Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__li Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -840,6 +895,10 @@ Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: Root file specified for compilation @@ -875,6 +934,16 @@ PolledWatches:: /home/src/projects/project1/core.d.ts: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.dom.d.ts: *new* {} @@ -1003,11 +1072,22 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: Root file specified for compilation @@ -1040,6 +1120,14 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} @@ -1141,12 +1229,19 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -1176,6 +1271,10 @@ FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: Root file specified for compilation @@ -1211,6 +1310,16 @@ PolledWatches:: /home/src/projects/project1/core.d.ts: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.dom.d.ts: {} diff --git a/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js b/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js index b91239eacd2..8235093e449 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/ambient-module-names-are-resolved-correctly.js @@ -104,6 +104,13 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'mymoduleutils' was not resolved. ======== +File '/home/src/project/witha/node_modules/mymodule/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/witha/node_modules/package.json' does not exist. +File '/home/src/project/witha/package.json' does not exist. +File '/home/src/project/package.json' does not exist. +File '/home/src/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/src/project/witha/node_modules/mymodule/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/project/withb/b.ts 250 undefined Source file ======== Resolving module 'mymodule' from '/home/src/project/withb/b.ts'. ======== @@ -129,6 +136,13 @@ File '/home/src/project/withb/node_modules/mymoduleutils.d.ts' does not exist. Directory '/home/src/project/withb/node_modules/@types' does not exist, skipping all lookups in it. Resolution for module 'mymoduleutils' was found in cache from location '/home/src/project'. ======== Module name 'mymoduleutils' was not resolved. ======== +File '/home/src/project/withb/node_modules/mymodule/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/withb/node_modules/package.json' does not exist. +File '/home/src/project/withb/package.json' does not exist. +File '/home/src/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/project/withb/node_modules/mymodule/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/project/witha 1 undefined Failed Lookup Locations @@ -137,6 +151,13 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules 1 undefined Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/project/withb 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/withb 1 undefined Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /home/src/project/witha/node_modules/mymodule/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/project/witha/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/project/witha/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/project/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/project/withb/node_modules/mymodule/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/project/withb/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/src/project/withb/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/project/node_modules/@types 1 undefined Type roots ../../../a/lib/lib.d.ts @@ -161,6 +182,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/project/node_modules/@types: *new* {"pollingInterval":500} +/home/src/project/package.json: *new* + {"pollingInterval":2000} +/home/src/project/witha/node_modules/mymodule/package.json: *new* + {"pollingInterval":2000} +/home/src/project/witha/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/project/witha/package.json: *new* + {"pollingInterval":2000} +/home/src/project/withb/node_modules/mymodule/package.json: *new* + {"pollingInterval":2000} +/home/src/project/withb/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/project/withb/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -325,6 +360,20 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/project/witha/a.ts","/home/src/project/withb/b.ts"] options: {"noEmit":true,"traceResolution":true,"watch":true,"extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/project/tsconfig.json"} +File '/home/src/project/witha/node_modules/mymodule/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/witha/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/witha/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/withb/node_modules/mymodule/package.json' does not exist. +File '/home/src/project/withb/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/withb/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/project/withb/node_modules/mymodule/index.d.ts 250 undefined Source file Reusing resolution of module 'mymodule' from '/home/src/project/witha/a.ts' of old program, it was successfully resolved to '/home/src/project/witha/node_modules/mymodule/index.d.ts'. ======== Resolving module 'mymoduleutils' from '/home/src/project/witha/a.ts'. ======== @@ -348,6 +397,13 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'mymoduleutils' was not resolved. ======== +File '/home/src/project/witha/node_modules/mymodule/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/witha/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/witha/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'mymoduleutils' from '/home/src/project/withb/b.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'mymoduleutils' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -361,7 +417,16 @@ File '/home/src/project/withb/node_modules/mymoduleutils/index.tsx' does not exi File '/home/src/project/withb/node_modules/mymoduleutils/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/project/withb/node_modules/mymoduleutils/index.d.ts', result '/home/src/project/withb/node_modules/mymoduleutils/index.d.ts'. ======== Module name 'mymoduleutils' was successfully resolved to '/home/src/project/withb/node_modules/mymoduleutils/index.d.ts'. ======== +File '/home/src/project/withb/node_modules/mymoduleutils/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/withb/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/withb/package.json' does not exist according to earlier cached lookups. +File '/home/src/project/package.json' does not exist according to earlier cached lookups. +File '/home/src/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/project/withb/node_modules/mymoduleutils/index.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /home/src/project/withb/node_modules/mymoduleutils/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/src/project/withb/node_modules/mymodule/package.json 2000 undefined File location affecting resolution ../../../a/lib/lib.d.ts Default library for target 'es5' witha/node_modules/mymodule/index.d.ts @@ -382,6 +447,24 @@ PolledWatches:: {"pollingInterval":500} /home/src/project/node_modules/@types: {"pollingInterval":500} +/home/src/project/package.json: + {"pollingInterval":2000} +/home/src/project/witha/node_modules/mymodule/package.json: + {"pollingInterval":2000} +/home/src/project/witha/node_modules/package.json: + {"pollingInterval":2000} +/home/src/project/witha/package.json: + {"pollingInterval":2000} +/home/src/project/withb/node_modules/mymoduleutils/package.json: *new* + {"pollingInterval":2000} +/home/src/project/withb/node_modules/package.json: + {"pollingInterval":2000} +/home/src/project/withb/package.json: + {"pollingInterval":2000} + +PolledWatches *deleted*:: +/home/src/project/withb/node_modules/mymodule/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js index f1611518833..356bce1af40 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js @@ -46,6 +46,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); +PolledWatches:: +/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} + FsWatches:: /a/b/file1.ts: *new* {} @@ -118,6 +122,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); +PolledWatches *deleted*:: +/a/b/node_modules/package.json: + {"pollingInterval":2000} + FsWatches:: /a/b/file1.ts: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js b/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js index a71bdbda4a5..9c78f9fc725 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js +++ b/tests/baselines/reference/tscWatch/programUpdates/types-should-load-from-config-file-path-if-config-exists.js @@ -43,6 +43,14 @@ var x = 1; +PolledWatches:: +/a/b/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} +/a/b/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} + FsWatches:: /a/b/app.ts: *new* {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js index ebf84a4a5d6..3c8a457eb7d 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js @@ -41,8 +41,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/somemodule/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js index 410113f5dc2..3a6b6985453 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js @@ -38,6 +38,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); +PolledWatches:: +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/somemodule/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: *new* {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js index 10cef311809..c5f7b580b89 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js @@ -86,6 +86,13 @@ Directory '/users/username/node_modules' does not exist, skipping all lookups in Directory '/users/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'pkg1' was not resolved. ======== +File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist. +File '/users/username/projects/project/package.json' does not exist. +File '/users/username/projects/package.json' does not exist. +File '/users/username/package.json' does not exist. +File '/users/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg0/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /users/username/projects/project/fileWithTypeRefs.ts 250 undefined Source file ======== Resolving type reference directive 'pkg2', containing file '/users/username/projects/project/fileWithTypeRefs.ts', root directory '/users/username/projects/project/node_modules/@types,/users/username/projects/node_modules/@types,/users/username/node_modules/@types,/users/node_modules/@types,/node_modules/@types'. ======== @@ -122,8 +129,20 @@ Directory '/users/username/node_modules' does not exist, skipping all lookups in Directory '/users/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Type reference directive 'pkg3' was not resolved. ======== +File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg2/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg0/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg2/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Type roots @@ -180,7 +199,7 @@ export {}; //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2],[4]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8124756421-export interface Import0 {}",{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[3,5],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1],[5,2]],"semanticDiagnosticsPerFile":[[3,[{"start":66,"length":6,"messageText":"Cannot find module 'pkg1' or its corresponding type declarations.","category":1,"code":2307}]],[5,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2],[4]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[3,5],"options":{"composite":true,"outDir":"./"},"referencedMap":[[3,1],[5,2]],"semanticDiagnosticsPerFile":[[3,[{"start":66,"length":6,"messageText":"Cannot find module 'pkg1' or its corresponding type declarations.","category":1,"code":2307}]],[5,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -210,8 +229,13 @@ export {}; "affectsGlobalScope": true }, "../node_modules/pkg0/index.d.ts": { + "original": { + "version": "-8124756421-export interface Import0 {}", + "impliedFormat": 1 + }, "version": "-8124756421-export interface Import0 {}", - "signature": "-8124756421-export interface Import0 {}" + "signature": "-8124756421-export interface Import0 {}", + "impliedFormat": "commonjs" }, "../filewithimports.ts": { "original": { @@ -224,11 +248,13 @@ export {}; "../node_modules/pkg2/index.d.ts": { "original": { "version": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../filewithtyperefs.ts": { "original": { @@ -293,7 +319,7 @@ export {}; ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1589 + "size": 1637 } @@ -302,8 +328,18 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg0/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg2/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -416,6 +452,20 @@ Synchronizing program CreatingProgramWith:: roots: ["/users/username/projects/project/fileWithImports.ts","/users/username/projects/project/fileWithTypeRefs.ts"] options: {"composite":true,"traceResolution":true,"outDir":"/users/username/projects/project/outDir","watch":true,"explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} +File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module 'pkg0' from '/users/username/projects/project/fileWithImports.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg0/index.d.ts'. ======== Resolving module 'pkg1' from '/users/username/projects/project/fileWithImports.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -430,9 +480,31 @@ File '/users/username/projects/project/node_modules/pkg1/index.tsx' does not exi File '/users/username/projects/project/node_modules/pkg1/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/users/username/projects/project/node_modules/pkg1/index.d.ts', result '/users/username/projects/project/node_modules/pkg1/index.d.ts'. ======== Module name 'pkg1' was successfully resolved to '/users/username/projects/project/node_modules/pkg1/index.d.ts'. ======== +File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/pkg1/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg1/index.d.ts 250 undefined Source file Reusing resolution of type reference directive 'pkg2' from '/users/username/projects/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg2/index.d.ts'. Reusing resolution of type reference directive 'pkg3' from '/users/username/projects/project/fileWithTypeRefs.ts' of old program, it was not resolved. +File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg1/package.json 2000 undefined File location affecting resolution fileWithTypeRefs.ts:2:23 - error TS2688: Cannot find type definition file for 'pkg3'. 2 /// @@ -461,7 +533,7 @@ fileWithTypeRefs.ts //// [/users/username/projects/project/outDir/fileWithImports.js] file written with same contents //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2,3],[5]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8124756421-export interface Import0 {}","-8124720484-export interface Import1 {}",{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,6],"options":{"composite":true,"outDir":"./"},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[[6,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2,3],[5]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-8124720484-export interface Import1 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,6],"options":{"composite":true,"outDir":"./"},"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[[6,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -493,12 +565,22 @@ fileWithTypeRefs.ts "affectsGlobalScope": true }, "../node_modules/pkg0/index.d.ts": { + "original": { + "version": "-8124756421-export interface Import0 {}", + "impliedFormat": 1 + }, "version": "-8124756421-export interface Import0 {}", - "signature": "-8124756421-export interface Import0 {}" + "signature": "-8124756421-export interface Import0 {}", + "impliedFormat": "commonjs" }, "../node_modules/pkg1/index.d.ts": { + "original": { + "version": "-8124720484-export interface Import1 {}", + "impliedFormat": 1 + }, "version": "-8124720484-export interface Import1 {}", - "signature": "-8124720484-export interface Import1 {}" + "signature": "-8124720484-export interface Import1 {}", + "impliedFormat": "commonjs" }, "../filewithimports.ts": { "original": { @@ -511,11 +593,13 @@ fileWithTypeRefs.ts "../node_modules/pkg2/index.d.ts": { "original": { "version": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../filewithtyperefs.ts": { "original": { @@ -569,7 +653,7 @@ fileWithTypeRefs.ts ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1530 + "size": 1608 } @@ -578,8 +662,20 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} +/users/username/projects/package.json: + {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/node_modules/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg0/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg1/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg2/package.json: + {"pollingInterval":2000} +/users/username/projects/project/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -690,8 +786,43 @@ Synchronizing program CreatingProgramWith:: roots: ["/users/username/projects/project/fileWithImports.ts","/users/username/projects/project/fileWithTypeRefs.ts"] options: {"composite":true,"traceResolution":true,"outDir":"/users/username/projects/project/outDir","watch":true,"explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} +File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/pkg1/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module 'pkg0' from '/users/username/projects/project/fileWithImports.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg1' from '/users/username/projects/project/fileWithImports.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg1/index.d.ts'. +File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/pkg1/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'pkg2' from '/users/username/projects/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg2/index.d.ts'. ======== Resolving type reference directive 'pkg3', containing file '/users/username/projects/project/fileWithTypeRefs.ts', root directory '/users/username/projects/project/node_modules/@types,/users/username/projects/node_modules/@types,/users/username/node_modules/@types,/users/node_modules/@types,/node_modules/@types'. ======== Resolving with primary search path '/users/username/projects/project/node_modules/@types, /users/username/projects/node_modules/@types, /users/username/node_modules/@types, /users/node_modules/@types, /node_modules/@types'. @@ -707,7 +838,22 @@ File '/users/username/projects/project/node_modules/pkg3.d.ts' does not exist. File '/users/username/projects/project/node_modules/pkg3/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/users/username/projects/project/node_modules/pkg3/index.d.ts', result '/users/username/projects/project/node_modules/pkg3/index.d.ts'. ======== Type reference directive 'pkg3' was successfully resolved to '/users/username/projects/project/node_modules/pkg3/index.d.ts', primary: false. ======== +File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/pkg3/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. +File '/users/username/projects/package.json' does not exist according to earlier cached lookups. +File '/users/username/package.json' does not exist according to earlier cached lookups. +File '/users/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg3/index.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg3/package.json 2000 undefined File location affecting resolution fileWithTypeRefs.ts:3:43 - error TS2552: Cannot find name 'Import3'. Did you mean 'Import2'? 3 interface LocalInterface extends Import2, Import3 {} @@ -733,7 +879,7 @@ fileWithTypeRefs.ts //// [/users/username/projects/project/outDir/fileWithTypeRefs.js] file written with same contents //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../node_modules/pkg3/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2,3],[5,6]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8124756421-export interface Import0 {}","-8124720484-export interface Import1 {}",{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true},"-8124648610-export interface Import3 {}",{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,7],"options":{"composite":true,"outDir":"./"},"referencedMap":[[4,1],[7,2]],"semanticDiagnosticsPerFile":[[7,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../node_modules/pkg3/index.d.ts","../filewithtyperefs.ts"],"fileIdsList":[[2,3],[5,6]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-8124720484-export interface Import1 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8124648610-export interface Import3 {}","impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,7],"options":{"composite":true,"outDir":"./"},"referencedMap":[[4,1],[7,2]],"semanticDiagnosticsPerFile":[[7,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts","version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -767,12 +913,22 @@ fileWithTypeRefs.ts "affectsGlobalScope": true }, "../node_modules/pkg0/index.d.ts": { + "original": { + "version": "-8124756421-export interface Import0 {}", + "impliedFormat": 1 + }, "version": "-8124756421-export interface Import0 {}", - "signature": "-8124756421-export interface Import0 {}" + "signature": "-8124756421-export interface Import0 {}", + "impliedFormat": "commonjs" }, "../node_modules/pkg1/index.d.ts": { + "original": { + "version": "-8124720484-export interface Import1 {}", + "impliedFormat": 1 + }, "version": "-8124720484-export interface Import1 {}", - "signature": "-8124720484-export interface Import1 {}" + "signature": "-8124720484-export interface Import1 {}", + "impliedFormat": "commonjs" }, "../filewithimports.ts": { "original": { @@ -785,15 +941,22 @@ fileWithTypeRefs.ts "../node_modules/pkg2/index.d.ts": { "original": { "version": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": 1 }, "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true + "affectsGlobalScope": true, + "impliedFormat": "commonjs" }, "../node_modules/pkg3/index.d.ts": { + "original": { + "version": "-8124648610-export interface Import3 {}", + "impliedFormat": 1 + }, "version": "-8124648610-export interface Import3 {}", - "signature": "-8124648610-export interface Import3 {}" + "signature": "-8124648610-export interface Import3 {}", + "impliedFormat": "commonjs" }, "../filewithtyperefs.ts": { "original": { @@ -848,7 +1011,7 @@ fileWithTypeRefs.ts ], "latestChangedDtsFile": "./fileWithTypeRefs.d.ts", "version": "FakeTSVersion", - "size": 1608 + "size": 1716 } @@ -857,8 +1020,22 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} +/users/username/projects/package.json: + {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/node_modules/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg0/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg1/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg2/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/pkg3/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js index 0b154a21be7..e694df8aabf 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js @@ -524,7 +524,20 @@ File '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.tsx' File '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts', result '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts'. ======== Module name '@myapp/ts-types' was successfully resolved to '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts'. ======== +File '/user/username/projects/myproject/node_modules/@myapp/ts-types/package.json' does not exist according to earlier cached lookups. +File '/user/username/projects/myproject/node_modules/@myapp/package.json' does not exist. +File '/user/username/projects/myproject/node_modules/package.json' does not exist. +File '/user/username/projects/myproject/package.json' does not exist. +File '/user/username/projects/package.json' does not exist. +File '/user/username/package.json' does not exist. +File '/user/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/ts-types/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -534,10 +547,20 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node //// [/user/username/projects/myproject/lib/app.js] file written with same contents PolledWatches:: +/user/username/projects/myproject/node_modules/@myapp/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@myapp/ts-types/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js index 41603b7a6b7..91c32436f80 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js @@ -166,6 +166,8 @@ Output:: //// [/user/username/projects/myproject/lib/app.js] file written with same contents PolledWatches:: +/user/username/projects/myproject/node_modules/@myapp/ts-types/types/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js index 9991820321f..9073d85e75b 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js @@ -56,6 +56,12 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -72,8 +78,20 @@ process.on("uncaughtException"); PolledWatches:: +/user/username/projects/myproject/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -249,6 +267,12 @@ FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file +FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json 2000 undefined File location affecting resolution worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. 1 process.on("uncaughtException"); @@ -264,6 +288,20 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/@types/node/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} +/user/username/projects/package.json: + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: {} @@ -372,6 +410,11 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/worker.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/mocha/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. 1 process.on("uncaughtException"); @@ -383,8 +426,18 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ PolledWatches:: +/user/username/projects/myproject/node_modules/@types/mocha/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -474,10 +527,20 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node PolledWatches:: +/user/username/projects/myproject/node_modules/@types/mocha/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -584,6 +647,8 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -593,8 +658,22 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node //// [/user/username/projects/myproject/worker.js] file written with same contents PolledWatches:: +/user/username/projects/myproject/node_modules/@types/mocha/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js index c56847bceed..b40a6feec62 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js @@ -86,8 +86,8 @@ export {} //// [/user/username/projects/myproject/node_modules2/@types/qqq/index.d.ts] deleted Output:: -sysLog:: /user/username/projects/myproject/node_modules:: Changing watcher to PresentFileSystemEntryWatcher sysLog:: /user/username/projects/myproject/node_modules/@types:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: /user/username/projects/myproject/node_modules:: Changing watcher to PresentFileSystemEntryWatcher PolledWatches:: @@ -115,14 +115,13 @@ FsWatchesRecursive:: {} Timeout callback:: count: 2 -11: timerToUpdateProgram *new* -13: timerToInvalidateFailedLookupResolutions *new* +7: timerToUpdateProgram *new* +10: timerToInvalidateFailedLookupResolutions *new* Before running Timeout callback:: count: 2 -11: timerToUpdateProgram -13: timerToInvalidateFailedLookupResolutions +7: timerToUpdateProgram +10: timerToInvalidateFailedLookupResolutions -Host is moving to new time After running Timeout callback:: count: 0 Output:: >> Screen clear @@ -135,8 +134,18 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents PolledWatches:: +/user/username/projects/myproject/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types/qqq/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: @@ -157,7 +166,7 @@ FsWatchesRecursive:: {} Timeout callback:: count: 0 -13: timerToInvalidateFailedLookupResolutions *deleted* +10: timerToInvalidateFailedLookupResolutions *deleted* Program root files: [ diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js index 7d67ff822e4..3a65b6fbb43 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js @@ -63,6 +63,12 @@ module11("hello"); PolledWatches:: /a/b/projects/myProject/node_modules/@types: *new* {"pollingInterval":500} +/a/b/projects/myProject/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/a/b/projects/myProject/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/b/projects/myProject/package.json: *new* + {"pollingInterval":2000} /a/b/projects/myProject/src/node_modules: *new* {"pollingInterval":500} /a/b/projects/myProject/src/node_modules/@types: *new* @@ -71,6 +77,8 @@ PolledWatches:: {"pollingInterval":500} /a/b/projects/node_modules/@types: *new* {"pollingInterval":500} +/a/b/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/b/projects/myProject/node_modules/module1/index.js: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index 4ade86b132b..00b3a7a97fd 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -157,7 +157,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,12 +184,22 @@ export {}; "affectsGlobalScope": true }, "../../node_modules/b/lib/index.d.ts": { + "original": { + "version": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": 1 + }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n" + "signature": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": "commonjs" }, "../../node_modules/b/lib/bar.d.ts": { + "original": { + "version": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": 1 + }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n" + "signature": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": "commonjs" }, "./src/index.ts": { "original": { @@ -219,7 +229,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 990 + "size": 1050 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index ab06254380b..2aa475b6bd5 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -157,7 +157,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,12 +184,22 @@ export {}; "affectsGlobalScope": true }, "../../node_modules/@issue/b/lib/index.d.ts": { + "original": { + "version": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": 1 + }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n" + "signature": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": "commonjs" }, "../../node_modules/@issue/b/lib/bar.d.ts": { + "original": { + "version": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": 1 + }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n" + "signature": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": "commonjs" }, "./src/index.ts": { "original": { @@ -219,7 +229,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1018 + "size": 1078 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index ecb37a89639..a40870d40be 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -154,7 +154,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,12 +181,22 @@ export {}; "affectsGlobalScope": true }, "../../node_modules/b/lib/foo.d.ts": { + "original": { + "version": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": 1 + }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n" + "signature": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": "commonjs" }, "../../node_modules/b/lib/bar/foo.d.ts": { + "original": { + "version": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": 1 + }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n" + "signature": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": "commonjs" }, "./src/test.ts": { "original": { @@ -216,7 +226,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1003 + "size": 1063 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index b4dde826dd2..fab45274d3b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -154,7 +154,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,12 +181,22 @@ export {}; "affectsGlobalScope": true }, "../../node_modules/@issue/b/lib/foo.d.ts": { + "original": { + "version": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": 1 + }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n" + "signature": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": "commonjs" }, "../../node_modules/@issue/b/lib/bar/foo.d.ts": { + "original": { + "version": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": 1 + }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n" + "signature": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": "commonjs" }, "./src/test.ts": { "original": { @@ -216,7 +226,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1032 + "size": 1092 } diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js index 71e41cadd7f..141555a0edf 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js @@ -63,6 +63,13 @@ File '/home/user/projects/myproject/node_modules/a/index.tsx' does not exist. File '/home/user/projects/myproject/node_modules/a/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/user/projects/myproject/node_modules/a/index.d.ts', result '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== Module name 'a' was successfully resolved to '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== +File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist. +File '/home/user/projects/myproject/node_modules/package.json' does not exist. +File '/home/user/projects/myproject/package.json' does not exist. +File '/home/user/projects/package.json' does not exist. +File '/home/user/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 {"synchronousWatchDirectory":true} Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"synchronousWatchDirectory":true} Source file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 {"synchronousWatchDirectory":true} Failed Lookup Locations @@ -71,6 +78,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/a 1 {"synchronousWatchDirectory":true} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/user/projects/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 {"synchronousWatchDirectory":true} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 {"synchronousWatchDirectory":true} Type roots DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules/@types 1 {"synchronousWatchDirectory":true} Type roots @@ -92,8 +103,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /home/user/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/home/user/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/user/projects/myproject/node_modules/reala/package.json: *new* + {"pollingInterval":2000} +/home/user/projects/myproject/package.json: *new* + {"pollingInterval":2000} /home/user/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/user/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -178,10 +197,18 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/user/projects/myproject/no PolledWatches:: /home/user/projects/myproject/node_modules/@types: {"pollingInterval":500} +/home/user/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} /home/user/projects/myproject/node_modules/reala/index.d.ts: *new* {"pollingInterval":250} +/home/user/projects/myproject/node_modules/reala/package.json: + {"pollingInterval":2000} +/home/user/projects/myproject/package.json: + {"pollingInterval":2000} /home/user/projects/node_modules/@types: {"pollingInterval":500} +/home/user/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -229,6 +256,13 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/user/projects/myproject/src/file.ts"] options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} +File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist. +File '/home/user/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/package.json' does not exist according to earlier cached lookups. +File '/home/user/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 {"synchronousWatchDirectory":true} Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -262,6 +296,10 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations +FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/user/projects/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution src/file.ts:1:20 - error TS2307: Cannot find module 'a' or its corresponding type declarations. 1 import * as a from "a" @@ -282,8 +320,16 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: +/home/user/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} /home/user/projects/myproject/node_modules/reala/index.d.ts: {"pollingInterval":250} +/home/user/projects/myproject/node_modules/reala/package.json: + {"pollingInterval":2000} +/home/user/projects/myproject/package.json: + {"pollingInterval":2000} +/home/user/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js index 8de7ef4ce96..89a7ac57bee 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js @@ -60,6 +60,13 @@ File '/home/user/projects/myproject/node_modules/a/index.tsx' does not exist. File '/home/user/projects/myproject/node_modules/a/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/user/projects/myproject/node_modules/a/index.d.ts', result '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== Module name 'a' was successfully resolved to '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== +File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist. +File '/home/user/projects/myproject/node_modules/package.json' does not exist. +File '/home/user/projects/myproject/package.json' does not exist. +File '/home/user/projects/package.json' does not exist. +File '/home/user/package.json' does not exist. +File '/home/package.json' does not exist. +File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 undefined Failed Lookup Locations @@ -68,6 +75,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/a 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 undefined Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/package.json 2000 undefined File location affecting resolution +FileWatcher:: Added:: WatchInfo: /home/user/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules/@types 1 undefined Type roots @@ -87,8 +98,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /home/user/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/home/user/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/user/projects/myproject/node_modules/reala/package.json: *new* + {"pollingInterval":2000} +/home/user/projects/myproject/package.json: *new* + {"pollingInterval":2000} /home/user/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/user/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -161,10 +180,18 @@ sysLog:: /home/user/projects/myproject/node_modules/reala/index.d.ts:: Changing PolledWatches:: /home/user/projects/myproject/node_modules/@types: {"pollingInterval":500} +/home/user/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} /home/user/projects/myproject/node_modules/reala/index.d.ts: *new* {"pollingInterval":250} +/home/user/projects/myproject/node_modules/reala/package.json: + {"pollingInterval":2000} +/home/user/projects/myproject/package.json: + {"pollingInterval":2000} /home/user/projects/node_modules/@types: {"pollingInterval":500} +/home/user/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -212,6 +239,13 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/user/projects/myproject/src/file.ts"] options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} +File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. +File '/home/user/projects/package.json' does not exist according to earlier cached lookups. +File '/home/user/package.json' does not exist according to earlier cached lookups. +File '/home/package.json' does not exist according to earlier cached lookups. +File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -245,6 +279,10 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules 1 undefined Failed Lookup Locations +FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/package.json 2000 undefined File location affecting resolution +FileWatcher:: Close:: WatchInfo: /home/user/projects/package.json 2000 undefined File location affecting resolution src/file.ts:1:20 - error TS2307: Cannot find module 'a' or its corresponding type declarations. 1 import * as a from "a" @@ -288,8 +326,16 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: +/home/user/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} /home/user/projects/myproject/node_modules/reala/index.d.ts: {"pollingInterval":250} +/home/user/projects/myproject/node_modules/reala/package.json: + {"pollingInterval":2000} +/home/user/projects/myproject/package.json: + {"pollingInterval":2000} +/home/user/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js index 241fb0210d5..92bf6e6842c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js @@ -50,8 +50,16 @@ export {}; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/file2/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -164,8 +172,16 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/file2/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js index ca9bb25a8c0..9444c74bb9f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js @@ -41,8 +41,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/file2/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -121,8 +129,16 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/file2/index.d.ts: *new* {"pollingInterval":250} +/user/username/projects/myproject/node_modules/file2/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -185,6 +201,14 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/file2/index.d.ts: {"pollingInterval":250} +/user/username/projects/myproject/node_modules/file2/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -429,8 +453,16 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/file2/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js index ced53f0f301..1f1abc60c6c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js @@ -58,6 +58,10 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Type roots @@ -78,8 +82,16 @@ var bar_1 = require("bar"); PolledWatches:: +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js index 3221f7c15e8..390afeedcfa 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js @@ -59,6 +59,10 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Type roots @@ -80,8 +84,16 @@ var bar_1 = require("bar"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js index 51809bf4798..5e580149fc0 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js @@ -61,8 +61,16 @@ var bar_1 = require("bar"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js index 0c4ef46a0ae..f6d462bdba6 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js @@ -59,8 +59,16 @@ var bar_1 = require("bar"); PolledWatches:: +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js index c5a0c59025f..c05d7cb6c8f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js @@ -59,6 +59,10 @@ ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modul FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations +ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution +ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution +FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Type roots @@ -82,8 +86,12 @@ var bar_1 = require("bar"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js index 2d0bdad8858..ed0f23bc912 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js @@ -61,8 +61,12 @@ var bar_1 = require("bar"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js index 2e546952717..2ca3bea57e7 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js @@ -52,6 +52,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@angular/forms/forms.d.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -73,6 +74,10 @@ PolledWatches:: /node_modules/@angular/forms/node_modules/@types: *new* {"pollingInterval":500} +FsWatches:: +/node_modules/@angular/forms/package.json: *new* + {} + Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 @@ -229,7 +234,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* +/node_modules/@angular/forms/package.json: {} Projects:: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js index f645541ac74..b1b9bd41799 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js @@ -91,6 +91,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -240,6 +241,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/forms/package.json: *new* + {} /package.json: *new* {} /tsconfig.json: *new* @@ -310,6 +313,8 @@ PolledWatches:: FsWatches:: /index.ts: *new* {} +/node_modules/@angular/forms/package.json: + {} /package.json: {} /tsconfig.json: @@ -370,6 +375,7 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -398,6 +404,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) @@ -429,6 +436,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/forms/package.json: + {} /package.json: {} diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js index 7bb1f0f3af2..64d74f06008 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js @@ -113,6 +113,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/a/node_modules/b/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -263,6 +264,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/packages/a/node_modules/b/package.json: *new* + {} /packages/a/node_modules/b/tsconfig.json: *new* {} /packages/a/package.json: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js index ee9e65c9cec..5299e31538c 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js @@ -107,6 +107,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -264,6 +265,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/forms/package.json: *new* + {} /package.json: *new* {} /packages/b/package.json: *new* @@ -693,6 +696,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/forms/package.json: + {} /package.json: {} /packages/a/index.ts: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js index be6dfae8a8a..7ff444d96ba 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js @@ -302,6 +302,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -319,6 +320,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/forms/package.json: *new* + {} /package.json: {} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js index 34676d8f674..feffb959908 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js @@ -254,6 +254,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -271,6 +272,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/forms/package.json: *new* + {} /package.json: {} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js index e58910622d4..29faee9f3ff 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js @@ -97,6 +97,8 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/core/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -249,6 +251,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/core/package.json: *new* + {} +/node_modules/@angular/forms/package.json: *new* + {} /package.json: *new* {} /tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js index 192cd160209..2b8146ce5e9 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js @@ -97,6 +97,8 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/core/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -249,6 +251,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/core/package.json: *new* + {} +/node_modules/@angular/forms/package.json: *new* + {} /package.json: *new* {} /tsconfig.json: *new* @@ -296,6 +302,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@angular/forms/forms.d.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -318,6 +325,10 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/core/package.json: + {} +/node_modules/@angular/forms/package.json: + {} /package.json: {} /tsconfig.json: @@ -409,6 +420,10 @@ PolledWatches:: FsWatches:: /a/data/package.json: *new* {} +/node_modules/@angular/core/package.json: + {} +/node_modules/@angular/forms/package.json: + {} /package.json: {} /tsconfig.json: @@ -575,7 +590,9 @@ PolledWatches:: FsWatches:: /a/data/package.json: {} -/node_modules/@angular/forms/package.json: *new* +/node_modules/@angular/core/package.json: + {} +/node_modules/@angular/forms/package.json: {} /package.json: {} diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js index 098e7e1643d..33bb9b82aaf 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js @@ -254,6 +254,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -271,6 +272,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/forms/package.json: *new* + {} /package.json: {} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js index 4cec1df69b2..57660d13fc1 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js @@ -91,6 +91,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -240,6 +241,8 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: +/node_modules/@angular/forms/package.json: *new* + {} /package.json: *new* {} /tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js index b41d0748465..962211108d6 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js @@ -112,6 +112,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/memfs/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -296,6 +297,8 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +/node_modules/memfs/lib/package.json: *new* + {"pollingInterval":2000} FsWatches:: /node_modules/@types/node/package.json: *new* @@ -776,8 +779,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/node/index", + "hasAction": true, "data": { "exportName": "Stats", "exportMapKey": "5 * Stats ", @@ -789,8 +792,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/memfs/lib/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "Volume", diff --git a/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js index ed4737ddbc0..37899392a9b 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js @@ -49,6 +49,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@angular/forms/forms.d.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -70,6 +71,10 @@ PolledWatches:: /node_modules/@angular/forms/node_modules/@types: *new* {"pollingInterval":500} +FsWatches:: +/node_modules/@angular/forms/package.json: *new* + {} + Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 @@ -230,7 +235,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* +/node_modules/@angular/forms/package.json: {} Projects:: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js index d3202742de5..f4cefddaf48 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js @@ -303,6 +303,10 @@ Info seq [hh:mm:ss:mss] Running: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/debug/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -359,8 +363,16 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} /users/username/projects/proj/node_modules/@types: {"pollingInterval":500} +/users/username/projects/proj/node_modules/debug/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/proj/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/proj/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js index 9ad922afa95..75ec4cf31cc 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js @@ -303,6 +303,10 @@ Info seq [hh:mm:ss:mss] Running: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/debug/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -359,8 +363,16 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} /users/username/projects/proj/node_modules/@types: {"pollingInterval":500} +/users/username/projects/proj/node_modules/debug/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/proj/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/proj/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js index 8dcd5b436aa..05cc38d055f 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js @@ -268,6 +268,11 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types/debug/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -290,8 +295,18 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- After running Timeout callback:: count: 1 PolledWatches:: +/user/username/folder/myproject/node_modules/@types/debug/package.json: *new* + {"pollingInterval":2000} +/user/username/folder/myproject/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/user/username/folder/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/folder/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/folder/node_modules/@types: {"pollingInterval":500} +/user/username/folder/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/folder/node_modules: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js index f1dd43ce6e4..254681311a3 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js @@ -256,10 +256,6 @@ Info seq [hh:mm:ss:mss] fileExists:: [ { "key": "/c/d/f1.d.ts", "count": 1 - }, - { - "key": "/c/f1.ts", - "count": 1 } ] Info seq [hh:mm:ss:mss] directoryExists:: [ @@ -359,10 +355,6 @@ Info seq [hh:mm:ss:mss] fileExists:: [ { "key": "/c/d/f1.d.ts", "count": 1 - }, - { - "key": "/c/f1.ts", - "count": 1 } ] Info seq [hh:mm:ss:mss] directoryExists:: [ diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js index dd12df81b75..68747af249e 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js @@ -835,8 +835,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", @@ -1318,8 +1318,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", @@ -1812,8 +1812,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", @@ -2319,8 +2319,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js index 65d64593f35..b90bd789731 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js @@ -864,8 +864,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", @@ -877,8 +877,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/helper", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyHelper", @@ -1387,8 +1387,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", @@ -1400,8 +1400,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/helper", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyHelper", @@ -1415,8 +1415,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/other", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "OtherClass", @@ -1974,8 +1974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", @@ -1987,8 +1987,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/helper", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyHelper", @@ -2002,8 +2002,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/other", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "OtherClass", @@ -2517,8 +2517,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "data": { "exportName": "MyClass", "exportMapKey": "7 * MyClass ", diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js index 8cd61cb3226..586d17df40d 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js @@ -2274,8 +2274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyClass", @@ -2289,8 +2289,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/helper", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyHelper", @@ -2304,8 +2304,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/other", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "OtherClass", diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js index 11248aea1c8..15e36a7b021 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js @@ -864,8 +864,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyClass", @@ -879,8 +879,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/helper", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyHelper", @@ -1391,8 +1391,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyClass", @@ -1406,8 +1406,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/helper", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyHelper", @@ -1421,8 +1421,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/other", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "OtherClass", @@ -1979,8 +1979,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyClass", @@ -1994,8 +1994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/helper", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyHelper", @@ -2009,8 +2009,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/other", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "OtherClass", diff --git a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js index e4e6491fe29..4f5c5706438 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js +++ b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js @@ -780,8 +780,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/user/username/projects/shared/src/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "MyClass", diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index 5c7a2484345..24b4747568d 100644 --- a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js +++ b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js @@ -752,8 +752,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "e:/myproject/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "Component", "exportMapKey": "9 * Component ", @@ -765,6 +765,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], diff --git a/tests/baselines/reference/tsserver/completions/works.js b/tests/baselines/reference/tsserver/completions/works.js index 685ba908cb4..c4167b6151f 100644 --- a/tests/baselines/reference/tsserver/completions/works.js +++ b/tests/baselines/reference/tsserver/completions/works.js @@ -346,8 +346,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js index 73c17ffb39d..008e5df1117 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js @@ -4934,8 +4934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_0", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_0", @@ -4954,8 +4954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4974,8 +4974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4994,8 +4994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5014,8 +5014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5034,8 +5034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5054,8 +5054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_1", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_1", @@ -5074,8 +5074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5094,8 +5094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5114,8 +5114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5134,8 +5134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5154,8 +5154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5174,8 +5174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_2", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_2", @@ -5194,8 +5194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -5214,8 +5214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -5234,8 +5234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -5254,8 +5254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -5274,8 +5274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -5294,8 +5294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_3", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_3", @@ -5314,8 +5314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -5334,8 +5334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -5354,8 +5354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -5374,8 +5374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -5394,8 +5394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -5414,8 +5414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_4", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_4", @@ -5434,8 +5434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -5454,8 +5454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -5474,8 +5474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -5494,8 +5494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -5514,8 +5514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -5534,8 +5534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_5", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_5", @@ -5554,8 +5554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -5574,8 +5574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -5594,8 +5594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -5614,8 +5614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -5634,8 +5634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -5654,8 +5654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_6", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_6", @@ -5674,8 +5674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -5694,8 +5694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -5714,8 +5714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -5734,8 +5734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -5754,8 +5754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -5774,8 +5774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_7", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_7", @@ -5794,8 +5794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -5814,8 +5814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -5834,8 +5834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -5854,8 +5854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -5874,8 +5874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -5894,8 +5894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_8", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_8", @@ -5914,8 +5914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -5934,8 +5934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -5954,8 +5954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -5974,8 +5974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -5994,8 +5994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -6014,8 +6014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_9", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_9", @@ -6034,8 +6034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -6054,8 +6054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -6074,8 +6074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -6094,8 +6094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -6114,8 +6114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -6134,8 +6134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_10", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_10", @@ -6154,8 +6154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -6174,8 +6174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -6194,8 +6194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -6214,8 +6214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -6234,8 +6234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -6254,8 +6254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_11", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_11", @@ -6274,8 +6274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -6294,8 +6294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -6314,8 +6314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -6334,8 +6334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -6354,8 +6354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -6374,8 +6374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_12", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_12", @@ -6394,8 +6394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -6414,8 +6414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -6434,8 +6434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -6454,8 +6454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -6474,8 +6474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -6494,8 +6494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_13", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_13", @@ -6514,8 +6514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -6534,8 +6534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -6554,8 +6554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -6574,8 +6574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -6594,8 +6594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -6614,8 +6614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_14", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_14", @@ -6634,8 +6634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -6654,8 +6654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -6674,8 +6674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -6694,8 +6694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -6714,8 +6714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -6734,8 +6734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_15", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_15", @@ -6754,8 +6754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -6774,8 +6774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -6794,8 +6794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -6814,8 +6814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -6834,8 +6834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -6854,8 +6854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_16", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_16", @@ -6874,8 +6874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -6894,8 +6894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -6914,8 +6914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -6934,8 +6934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -6954,8 +6954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -6974,8 +6974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_17", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_17", @@ -6994,8 +6994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -7014,8 +7014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -7034,8 +7034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -7054,8 +7054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -7074,8 +7074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -7094,8 +7094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_18", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_18", @@ -7114,8 +7114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -7134,8 +7134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -7154,8 +7154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -7174,8 +7174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -7194,8 +7194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -7214,8 +7214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_19", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_19", @@ -7234,8 +7234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -7254,8 +7254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -7274,8 +7274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -7294,8 +7294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -7314,8 +7314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -7334,8 +7334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_20", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_20", @@ -7354,8 +7354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -7374,8 +7374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -7394,8 +7394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -7414,8 +7414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -7434,8 +7434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -7454,8 +7454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_21", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_21", @@ -7474,8 +7474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -7494,8 +7494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -7514,8 +7514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -7534,8 +7534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -7554,8 +7554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -7574,8 +7574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_22", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_22", @@ -7594,8 +7594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -7614,8 +7614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -7634,8 +7634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -7654,8 +7654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -7674,8 +7674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -7694,8 +7694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_23", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_23", @@ -7714,8 +7714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -7734,8 +7734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -7754,8 +7754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -7774,8 +7774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -7794,8 +7794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -7814,8 +7814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_24", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_24", @@ -7834,8 +7834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -7854,8 +7854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -7874,8 +7874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -7894,8 +7894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -7914,8 +7914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -7934,8 +7934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_25", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_25", @@ -7954,8 +7954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -7974,8 +7974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -7994,8 +7994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -8014,8 +8014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -8034,8 +8034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -8054,8 +8054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_26", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_26", @@ -8074,8 +8074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -8094,8 +8094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -8114,8 +8114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -8134,8 +8134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -8154,8 +8154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -8174,8 +8174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_27", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_27", @@ -8194,8 +8194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -8214,8 +8214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -8234,8 +8234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -8254,8 +8254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -8274,8 +8274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -8294,8 +8294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_28", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_28", @@ -8314,8 +8314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -8334,8 +8334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -8354,8 +8354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -8374,8 +8374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -8394,8 +8394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -8414,8 +8414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_29", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_29", @@ -8434,8 +8434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -8454,8 +8454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -8474,8 +8474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -8494,8 +8494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -8514,8 +8514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -8534,8 +8534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_30", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_30", @@ -8554,8 +8554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -8574,8 +8574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -8594,8 +8594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -8614,8 +8614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -8634,8 +8634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -8654,8 +8654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_31", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_31", @@ -8674,8 +8674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -8694,8 +8694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -8714,8 +8714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -8734,8 +8734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -8754,8 +8754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -8774,8 +8774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_32", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_32", @@ -8794,8 +8794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -8814,8 +8814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -8834,8 +8834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -8854,8 +8854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -8874,8 +8874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -8894,8 +8894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_33", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_33", @@ -8914,8 +8914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -8934,8 +8934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -8954,8 +8954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -8974,8 +8974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -8994,8 +8994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -9014,8 +9014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_34", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_34", @@ -9034,8 +9034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -9054,8 +9054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -9074,8 +9074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -9094,8 +9094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -9114,8 +9114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -9134,8 +9134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_35", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_35", @@ -9154,8 +9154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -9174,8 +9174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -9194,8 +9194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -9214,8 +9214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -9234,8 +9234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -9254,8 +9254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_36", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_36", @@ -9274,8 +9274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -9294,8 +9294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -9314,8 +9314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -9334,8 +9334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -9354,8 +9354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -9374,8 +9374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_37", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_37", @@ -9394,8 +9394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -9414,8 +9414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -9434,8 +9434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -9454,8 +9454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -9474,8 +9474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -9494,8 +9494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_38", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_38", @@ -9514,8 +9514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -9534,8 +9534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -9554,8 +9554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -9574,8 +9574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -9594,8 +9594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -9614,8 +9614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_39", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_39", @@ -9634,8 +9634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -9654,8 +9654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -9674,8 +9674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -9694,8 +9694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -9714,8 +9714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -9734,8 +9734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_40", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_40", @@ -9754,8 +9754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -9774,8 +9774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -9794,8 +9794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -9814,8 +9814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -9834,8 +9834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -9854,8 +9854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_41", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_41", @@ -9874,8 +9874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -9894,8 +9894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -9914,8 +9914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -9934,8 +9934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -9954,8 +9954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -9974,8 +9974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_42", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_42", @@ -9994,8 +9994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -10014,8 +10014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -10034,8 +10034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -10054,8 +10054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -10074,8 +10074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -10094,8 +10094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_43", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_43", @@ -10114,8 +10114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -10134,8 +10134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -10154,8 +10154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -10174,8 +10174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -10194,8 +10194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -10214,8 +10214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_44", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_44", @@ -10234,8 +10234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -10254,8 +10254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -10274,8 +10274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -10294,8 +10294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -10314,8 +10314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -10334,8 +10334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_45", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_45", @@ -10354,8 +10354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -10374,8 +10374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -10394,8 +10394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -10414,8 +10414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -10434,8 +10434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -10454,8 +10454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_46", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_46", @@ -10474,8 +10474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -10494,8 +10494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -10514,8 +10514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -10534,8 +10534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -10554,8 +10554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -10574,8 +10574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_47", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_47", @@ -10594,8 +10594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -10614,8 +10614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -10634,8 +10634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -10654,8 +10654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -10674,8 +10674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -10694,8 +10694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_48", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_48", @@ -10714,8 +10714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -10734,8 +10734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -10754,8 +10754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -10774,8 +10774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -10794,8 +10794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -10814,8 +10814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_49", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_49", @@ -10834,8 +10834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -10854,8 +10854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -10874,8 +10874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -10894,8 +10894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -10914,8 +10914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -10934,8 +10934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_50", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_50", @@ -10954,8 +10954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -10974,8 +10974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -10994,8 +10994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -11014,8 +11014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -11034,8 +11034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -11054,8 +11054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_51", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_51", @@ -11074,8 +11074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -11094,8 +11094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -11114,8 +11114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -11134,8 +11134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -11154,8 +11154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -11174,8 +11174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_52", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_52", @@ -11194,8 +11194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -11214,8 +11214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -11234,8 +11234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -11254,8 +11254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -11274,8 +11274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -11294,8 +11294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_53", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_53", @@ -11314,8 +11314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -11334,8 +11334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -11354,8 +11354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -11374,8 +11374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -11394,8 +11394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -11414,8 +11414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_54", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_54", @@ -11434,8 +11434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -11454,8 +11454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -11474,8 +11474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -11494,8 +11494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -11514,8 +11514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -11534,8 +11534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_55", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_55", @@ -11554,8 +11554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -11574,8 +11574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -11594,8 +11594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -11614,8 +11614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -11634,8 +11634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -11654,8 +11654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_56", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_56", @@ -11674,8 +11674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -11694,8 +11694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -11714,8 +11714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -11734,8 +11734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -11754,8 +11754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -11774,8 +11774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_57", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_57", @@ -11794,8 +11794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -11814,8 +11814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -11834,8 +11834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -11854,8 +11854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -11874,8 +11874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -11894,8 +11894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_58", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_58", @@ -11914,8 +11914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -11934,8 +11934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -11954,8 +11954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -11974,8 +11974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -11994,8 +11994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -12014,8 +12014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_59", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_59", @@ -12034,8 +12034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -12054,8 +12054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -12074,8 +12074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -12094,8 +12094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -12114,8 +12114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -12134,8 +12134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_60", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_60", @@ -12154,8 +12154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -12174,8 +12174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -12194,8 +12194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -12214,8 +12214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -12234,8 +12234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -12254,8 +12254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_61", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_61", @@ -12274,8 +12274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -12294,8 +12294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -12314,8 +12314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -12334,8 +12334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -12354,8 +12354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -12374,8 +12374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_62", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_62", @@ -12394,8 +12394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -12414,8 +12414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -12434,8 +12434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -12454,8 +12454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -12474,8 +12474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -12494,8 +12494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_63", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_63", @@ -12514,8 +12514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -12534,8 +12534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -12554,8 +12554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -12574,8 +12574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -12594,8 +12594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -12614,8 +12614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_64", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_64", @@ -12634,8 +12634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -12654,8 +12654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -12674,8 +12674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -12694,8 +12694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -12714,8 +12714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -12734,8 +12734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_65", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_65", @@ -12754,8 +12754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -12774,8 +12774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -12794,8 +12794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -12814,8 +12814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -12834,8 +12834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -12854,8 +12854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_66", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_66", @@ -12874,8 +12874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -12894,8 +12894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -12914,8 +12914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -12934,8 +12934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -12954,8 +12954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -12974,8 +12974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_67", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_67", @@ -12994,8 +12994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -13014,8 +13014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -13034,8 +13034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -13054,8 +13054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -13074,8 +13074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -13094,8 +13094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_68", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_68", @@ -13114,8 +13114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -13134,8 +13134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -13154,8 +13154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -13174,8 +13174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -13194,8 +13194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -13214,8 +13214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_69", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_69", @@ -13234,8 +13234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -13254,8 +13254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -13274,8 +13274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -13294,8 +13294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -13314,8 +13314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -13334,8 +13334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_70", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_70", @@ -13354,8 +13354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -13374,8 +13374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -13394,8 +13394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -13414,8 +13414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -13434,8 +13434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -13454,8 +13454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_71", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_71", @@ -13474,8 +13474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -13494,8 +13494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -13514,8 +13514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -13534,8 +13534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -13554,8 +13554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -13574,8 +13574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_72", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_72", @@ -13594,8 +13594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -13614,8 +13614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -13634,8 +13634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -13654,8 +13654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -13674,8 +13674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -13694,8 +13694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_73", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_73", @@ -13714,8 +13714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -13734,8 +13734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -13754,8 +13754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -13774,8 +13774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -13794,8 +13794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -13814,8 +13814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_74", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_74", @@ -13834,8 +13834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -13854,8 +13854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -13874,8 +13874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -13894,8 +13894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -13914,8 +13914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -13934,8 +13934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_75", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_75", @@ -13954,8 +13954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -13974,8 +13974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -13994,8 +13994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -14014,8 +14014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -14034,8 +14034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -14054,8 +14054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_76", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_76", @@ -14074,8 +14074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -14094,8 +14094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -14114,8 +14114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -14134,8 +14134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -14154,8 +14154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -14174,8 +14174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_77", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_77", @@ -14194,8 +14194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -14214,8 +14214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -14234,8 +14234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -14254,8 +14254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -14274,8 +14274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -14294,8 +14294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_78", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_78", @@ -14314,8 +14314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -14334,8 +14334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -14354,8 +14354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -14374,8 +14374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -14394,8 +14394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -14414,8 +14414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_79", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_79", @@ -14434,8 +14434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -14454,8 +14454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -14474,8 +14474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -14494,8 +14494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -14514,8 +14514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -14534,8 +14534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_80", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_80", @@ -14554,8 +14554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -14574,8 +14574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -14594,8 +14594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -14614,8 +14614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -14634,8 +14634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -14654,8 +14654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_81", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_81", @@ -14674,8 +14674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -14694,8 +14694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -14714,8 +14714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -14734,8 +14734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -14754,8 +14754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -14774,8 +14774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_82", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_82", @@ -14794,8 +14794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -14814,8 +14814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -14834,8 +14834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -14854,8 +14854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -14874,8 +14874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -14894,8 +14894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_83", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_83", @@ -14914,8 +14914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -14934,8 +14934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -14954,8 +14954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -14974,8 +14974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -14994,8 +14994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -15014,8 +15014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_84", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_84", @@ -15034,8 +15034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -15054,8 +15054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -15074,8 +15074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -15094,8 +15094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -15114,8 +15114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -15134,8 +15134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_85", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_85", @@ -15154,8 +15154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -15174,8 +15174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -15194,8 +15194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -15214,8 +15214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -15234,8 +15234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -15254,8 +15254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_86", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_86", @@ -15274,8 +15274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -15294,8 +15294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -15314,8 +15314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -15334,8 +15334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -15354,8 +15354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -15374,8 +15374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_87", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_87", @@ -15394,8 +15394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -15414,8 +15414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -15434,8 +15434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -15454,8 +15454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -15474,8 +15474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -15494,8 +15494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_88", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_88", @@ -15514,8 +15514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -15534,8 +15534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -15554,8 +15554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -15574,8 +15574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -15594,8 +15594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -15614,8 +15614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_89", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_89", @@ -15634,8 +15634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -15654,8 +15654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -15674,8 +15674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -15694,8 +15694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -15714,8 +15714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -15734,8 +15734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_90", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_90", @@ -15754,8 +15754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -15774,8 +15774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -15794,8 +15794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -15814,8 +15814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -15834,8 +15834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -15854,8 +15854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_91", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_91", @@ -15874,8 +15874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -15894,8 +15894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -15914,8 +15914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -15934,8 +15934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -15954,8 +15954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -15974,8 +15974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_92", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_92", @@ -15994,8 +15994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -16014,8 +16014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -16034,8 +16034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -16054,8 +16054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -16074,8 +16074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -16094,8 +16094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_93", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_93", @@ -16114,8 +16114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -16134,8 +16134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -16154,8 +16154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -16174,8 +16174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -16194,8 +16194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -16214,8 +16214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_94", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_94", @@ -16234,8 +16234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -16254,8 +16254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -16274,8 +16274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -16294,8 +16294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -16314,8 +16314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -16334,8 +16334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_95", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_95", @@ -16354,8 +16354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -16374,8 +16374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -16394,8 +16394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -16414,8 +16414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -16434,8 +16434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -16454,8 +16454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_96", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_96", @@ -16474,8 +16474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -16494,8 +16494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -16514,8 +16514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -16534,8 +16534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -16554,8 +16554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -16574,8 +16574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_97", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_97", @@ -16594,8 +16594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -16614,8 +16614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -16634,8 +16634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -16654,8 +16654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -16674,8 +16674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -16694,8 +16694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_98", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_98", @@ -16714,8 +16714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -16734,8 +16734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -16754,8 +16754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -16774,8 +16774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -16794,8 +16794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -16814,8 +16814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient_99", + "hasAction": true, "sourceDisplay": [ { "text": "ambient_99", @@ -16834,8 +16834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -16854,8 +16854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -16874,8 +16874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -16894,8 +16894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -16914,8 +16914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js index c0228bc10b9..0f4f96fa40f 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js @@ -4134,8 +4134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4154,8 +4154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4174,8 +4174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4194,8 +4194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4214,8 +4214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4234,8 +4234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4254,8 +4254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4274,8 +4274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4294,8 +4294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4314,8 +4314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4334,8 +4334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4354,8 +4354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4374,8 +4374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4394,8 +4394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4414,8 +4414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4434,8 +4434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4454,8 +4454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4474,8 +4474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4494,8 +4494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4514,8 +4514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4534,8 +4534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4554,8 +4554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4574,8 +4574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4594,8 +4594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4614,8 +4614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4634,8 +4634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4654,8 +4654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4674,8 +4674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4694,8 +4694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4714,8 +4714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4734,8 +4734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4754,8 +4754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4774,8 +4774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4794,8 +4794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4814,8 +4814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4834,8 +4834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4854,8 +4854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4874,8 +4874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4894,8 +4894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4914,8 +4914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4934,8 +4934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4954,8 +4954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4974,8 +4974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -4994,8 +4994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5014,8 +5014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5034,8 +5034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5054,8 +5054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5074,8 +5074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5094,8 +5094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5114,8 +5114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5134,8 +5134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5154,8 +5154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5174,8 +5174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5194,8 +5194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5214,8 +5214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5234,8 +5234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5254,8 +5254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5274,8 +5274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5294,8 +5294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5314,8 +5314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5334,8 +5334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5354,8 +5354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5374,8 +5374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5394,8 +5394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5414,8 +5414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5434,8 +5434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5454,8 +5454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5474,8 +5474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5494,8 +5494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5514,8 +5514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5534,8 +5534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5554,8 +5554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5574,8 +5574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5594,8 +5594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5614,8 +5614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5634,8 +5634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5654,8 +5654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5674,8 +5674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5694,8 +5694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5714,8 +5714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5734,8 +5734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5754,8 +5754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5774,8 +5774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5794,8 +5794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5814,8 +5814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5834,8 +5834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5854,8 +5854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5874,8 +5874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5894,8 +5894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5914,8 +5914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5934,8 +5934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5954,8 +5954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5974,8 +5974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5994,8 +5994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -6014,8 +6014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -6034,8 +6034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -6054,8 +6054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -6074,8 +6074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -6094,8 +6094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -6114,8 +6114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -6134,8 +6134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6154,8 +6154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6174,8 +6174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6194,8 +6194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6214,8 +6214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6234,8 +6234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6254,8 +6254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6274,8 +6274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6294,8 +6294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6314,8 +6314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6334,8 +6334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6354,8 +6354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6374,8 +6374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6394,8 +6394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6414,8 +6414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6434,8 +6434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6454,8 +6454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6474,8 +6474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6494,8 +6494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6514,8 +6514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6534,8 +6534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6554,8 +6554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6574,8 +6574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6594,8 +6594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6614,8 +6614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6634,8 +6634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6654,8 +6654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6674,8 +6674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6694,8 +6694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6714,8 +6714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6734,8 +6734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6754,8 +6754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6774,8 +6774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6794,8 +6794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6814,8 +6814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6834,8 +6834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6854,8 +6854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6874,8 +6874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6894,8 +6894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6914,8 +6914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6934,8 +6934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6954,8 +6954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6974,8 +6974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -6994,8 +6994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -7014,8 +7014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -7034,8 +7034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -7054,8 +7054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -7074,8 +7074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -7094,8 +7094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -7114,8 +7114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -7134,8 +7134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7154,8 +7154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7174,8 +7174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7194,8 +7194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7214,8 +7214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7234,8 +7234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7254,8 +7254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7274,8 +7274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7294,8 +7294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7314,8 +7314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7334,8 +7334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7354,8 +7354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7374,8 +7374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7394,8 +7394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7414,8 +7414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7434,8 +7434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7454,8 +7454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7474,8 +7474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7494,8 +7494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7514,8 +7514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7534,8 +7534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7554,8 +7554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7574,8 +7574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7594,8 +7594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7614,8 +7614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7634,8 +7634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7654,8 +7654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7674,8 +7674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7694,8 +7694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7714,8 +7714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7734,8 +7734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7754,8 +7754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7774,8 +7774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7794,8 +7794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7814,8 +7814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7834,8 +7834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7854,8 +7854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7874,8 +7874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7894,8 +7894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7914,8 +7914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7934,8 +7934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7954,8 +7954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7974,8 +7974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7994,8 +7994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -8014,8 +8014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -8034,8 +8034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -8054,8 +8054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -8074,8 +8074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -8094,8 +8094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -8114,8 +8114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -8134,8 +8134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8154,8 +8154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8174,8 +8174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8194,8 +8194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8214,8 +8214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8234,8 +8234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8254,8 +8254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8274,8 +8274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8294,8 +8294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8314,8 +8314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8334,8 +8334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8354,8 +8354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8374,8 +8374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8394,8 +8394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8414,8 +8414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8434,8 +8434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8454,8 +8454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8474,8 +8474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8494,8 +8494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8514,8 +8514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8534,8 +8534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8554,8 +8554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8574,8 +8574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8594,8 +8594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8614,8 +8614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8634,8 +8634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8654,8 +8654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8674,8 +8674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8694,8 +8694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8714,8 +8714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8734,8 +8734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8754,8 +8754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8774,8 +8774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8794,8 +8794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8814,8 +8814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8834,8 +8834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8854,8 +8854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8874,8 +8874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8894,8 +8894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8914,8 +8914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8934,8 +8934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8954,8 +8954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8974,8 +8974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8994,8 +8994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -9014,8 +9014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -9034,8 +9034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -9054,8 +9054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -9074,8 +9074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -9094,8 +9094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -9114,8 +9114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -9134,8 +9134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9154,8 +9154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9174,8 +9174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9194,8 +9194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9214,8 +9214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9234,8 +9234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9254,8 +9254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9274,8 +9274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9294,8 +9294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9314,8 +9314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9334,8 +9334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9354,8 +9354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9374,8 +9374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9394,8 +9394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9414,8 +9414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9434,8 +9434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9454,8 +9454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9474,8 +9474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9494,8 +9494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9514,8 +9514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9534,8 +9534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9554,8 +9554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9574,8 +9574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9594,8 +9594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9614,8 +9614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9634,8 +9634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9654,8 +9654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9674,8 +9674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9694,8 +9694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9714,8 +9714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9734,8 +9734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9754,8 +9754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9774,8 +9774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9794,8 +9794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9814,8 +9814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9834,8 +9834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9854,8 +9854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9874,8 +9874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9894,8 +9894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9914,8 +9914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9934,8 +9934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9954,8 +9954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9974,8 +9974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -9994,8 +9994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -10014,8 +10014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -10034,8 +10034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -10054,8 +10054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -10074,8 +10074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -10094,8 +10094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -10114,8 +10114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -10134,8 +10134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10154,8 +10154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10174,8 +10174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10194,8 +10194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10214,8 +10214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10234,8 +10234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10254,8 +10254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10274,8 +10274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10294,8 +10294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10314,8 +10314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10334,8 +10334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10354,8 +10354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10374,8 +10374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10394,8 +10394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10414,8 +10414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10434,8 +10434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10454,8 +10454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10474,8 +10474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10494,8 +10494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10514,8 +10514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10534,8 +10534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10554,8 +10554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10574,8 +10574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10594,8 +10594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10614,8 +10614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10634,8 +10634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10654,8 +10654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10674,8 +10674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10694,8 +10694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10714,8 +10714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10734,8 +10734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10754,8 +10754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10774,8 +10774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10794,8 +10794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10814,8 +10814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10834,8 +10834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10854,8 +10854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10874,8 +10874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10894,8 +10894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10914,8 +10914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10934,8 +10934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10954,8 +10954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10974,8 +10974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -10994,8 +10994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -11014,8 +11014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -11034,8 +11034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -11054,8 +11054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -11074,8 +11074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -11094,8 +11094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -11114,8 +11114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -11134,8 +11134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11154,8 +11154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11174,8 +11174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11194,8 +11194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11214,8 +11214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11234,8 +11234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11254,8 +11254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11274,8 +11274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11294,8 +11294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11314,8 +11314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11334,8 +11334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11354,8 +11354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11374,8 +11374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11394,8 +11394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11414,8 +11414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11434,8 +11434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11454,8 +11454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11474,8 +11474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11494,8 +11494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11514,8 +11514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11534,8 +11534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11554,8 +11554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11574,8 +11574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11594,8 +11594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11614,8 +11614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11634,8 +11634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11654,8 +11654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11674,8 +11674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11694,8 +11694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11714,8 +11714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11734,8 +11734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11754,8 +11754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11774,8 +11774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11794,8 +11794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11814,8 +11814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11834,8 +11834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11854,8 +11854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11874,8 +11874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11894,8 +11894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11914,8 +11914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11934,8 +11934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11954,8 +11954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11974,8 +11974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11994,8 +11994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -12014,8 +12014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -12034,8 +12034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -12054,8 +12054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -12074,8 +12074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -12094,8 +12094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -12114,8 +12114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -12134,8 +12134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12154,8 +12154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12174,8 +12174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12194,8 +12194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12214,8 +12214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12234,8 +12234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12254,8 +12254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12274,8 +12274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12294,8 +12294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12314,8 +12314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12334,8 +12334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12354,8 +12354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12374,8 +12374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12394,8 +12394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12414,8 +12414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12434,8 +12434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12454,8 +12454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12474,8 +12474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12494,8 +12494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12514,8 +12514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12534,8 +12534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12554,8 +12554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12574,8 +12574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12594,8 +12594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12614,8 +12614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12634,8 +12634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12654,8 +12654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12674,8 +12674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12694,8 +12694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12714,8 +12714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12734,8 +12734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12754,8 +12754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12774,8 +12774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12794,8 +12794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12814,8 +12814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12834,8 +12834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12854,8 +12854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12874,8 +12874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12894,8 +12894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12914,8 +12914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12934,8 +12934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12954,8 +12954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12974,8 +12974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -12994,8 +12994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -13014,8 +13014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -13034,8 +13034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -13054,8 +13054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -13074,8 +13074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -13094,8 +13094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -13114,8 +13114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -13134,8 +13134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13154,8 +13154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13174,8 +13174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13194,8 +13194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13214,8 +13214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13234,8 +13234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13254,8 +13254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13274,8 +13274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13294,8 +13294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13314,8 +13314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13334,8 +13334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13354,8 +13354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13374,8 +13374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13394,8 +13394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13414,8 +13414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13434,8 +13434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13454,8 +13454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13474,8 +13474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13494,8 +13494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13514,8 +13514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13534,8 +13534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13554,8 +13554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13574,8 +13574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13594,8 +13594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13614,8 +13614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13634,8 +13634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13654,8 +13654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13674,8 +13674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13694,8 +13694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13714,8 +13714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13734,8 +13734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13754,8 +13754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13774,8 +13774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13794,8 +13794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13814,8 +13814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13834,8 +13834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13854,8 +13854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13874,8 +13874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13894,8 +13894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13914,8 +13914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13934,8 +13934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13954,8 +13954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13974,8 +13974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -13994,8 +13994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -14014,8 +14014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -14034,8 +14034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -14054,8 +14054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -14074,8 +14074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -14094,8 +14094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -14114,8 +14114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -14134,8 +14134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14154,8 +14154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14174,8 +14174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14194,8 +14194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14214,8 +14214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14234,8 +14234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14254,8 +14254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14274,8 +14274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14294,8 +14294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14314,8 +14314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14334,8 +14334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14354,8 +14354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14374,8 +14374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14394,8 +14394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14414,8 +14414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14434,8 +14434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14454,8 +14454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14474,8 +14474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14494,8 +14494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14514,8 +14514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14534,8 +14534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14554,8 +14554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14574,8 +14574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14594,8 +14594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14614,8 +14614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14634,8 +14634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14654,8 +14654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14674,8 +14674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14694,8 +14694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14714,8 +14714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14734,8 +14734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14754,8 +14754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14774,8 +14774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14794,8 +14794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14814,8 +14814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14834,8 +14834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14854,8 +14854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14874,8 +14874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14894,8 +14894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14914,8 +14914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14934,8 +14934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14954,8 +14954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14974,8 +14974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -14994,8 +14994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -15014,8 +15014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -15034,8 +15034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -15054,8 +15054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -15074,8 +15074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -15094,8 +15094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -15114,8 +15114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -15134,8 +15134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15154,8 +15154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15174,8 +15174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15194,8 +15194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15214,8 +15214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15234,8 +15234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15254,8 +15254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15274,8 +15274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15294,8 +15294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15314,8 +15314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15334,8 +15334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15354,8 +15354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15374,8 +15374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15394,8 +15394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15414,8 +15414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15434,8 +15434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15454,8 +15454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15474,8 +15474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15494,8 +15494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15514,8 +15514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15534,8 +15534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15554,8 +15554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15574,8 +15574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15594,8 +15594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15614,8 +15614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15634,8 +15634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15654,8 +15654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15674,8 +15674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15694,8 +15694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15714,8 +15714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15734,8 +15734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15754,8 +15754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15774,8 +15774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15794,8 +15794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15814,8 +15814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15834,8 +15834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15854,8 +15854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15874,8 +15874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15894,8 +15894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15914,8 +15914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15934,8 +15934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15954,8 +15954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15974,8 +15974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -15994,8 +15994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -16014,8 +16014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -16034,8 +16034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -16054,8 +16054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -16074,8 +16074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -16094,8 +16094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -16114,8 +16114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -16134,8 +16134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16154,8 +16154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16174,8 +16174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16194,8 +16194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16214,8 +16214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16234,8 +16234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16254,8 +16254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16274,8 +16274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16294,8 +16294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16314,8 +16314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16334,8 +16334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16354,8 +16354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16374,8 +16374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16394,8 +16394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16414,8 +16414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16434,8 +16434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16454,8 +16454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16474,8 +16474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16494,8 +16494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16514,8 +16514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16534,8 +16534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16554,8 +16554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16574,8 +16574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16594,8 +16594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16614,8 +16614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16634,8 +16634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16654,8 +16654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16674,8 +16674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16694,8 +16694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16714,8 +16714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16734,8 +16734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16754,8 +16754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16774,8 +16774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16794,8 +16794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16814,8 +16814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16834,8 +16834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16854,8 +16854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16874,8 +16874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16894,8 +16894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16914,8 +16914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16934,8 +16934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16954,8 +16954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16974,8 +16974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -16994,8 +16994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -17014,8 +17014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -17034,8 +17034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -17054,8 +17054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -17074,8 +17074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -17094,8 +17094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -17114,8 +17114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -17134,8 +17134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17154,8 +17154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17174,8 +17174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17194,8 +17194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17214,8 +17214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17234,8 +17234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17254,8 +17254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17274,8 +17274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17294,8 +17294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17314,8 +17314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17334,8 +17334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17354,8 +17354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17374,8 +17374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17394,8 +17394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17414,8 +17414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17434,8 +17434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17454,8 +17454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17474,8 +17474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17494,8 +17494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17514,8 +17514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17534,8 +17534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17554,8 +17554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17574,8 +17574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17594,8 +17594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17614,8 +17614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17634,8 +17634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17654,8 +17654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17674,8 +17674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17694,8 +17694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17714,8 +17714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17734,8 +17734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17754,8 +17754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17774,8 +17774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17794,8 +17794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17814,8 +17814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17834,8 +17834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17854,8 +17854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17874,8 +17874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17894,8 +17894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17914,8 +17914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17934,8 +17934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17954,8 +17954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17974,8 +17974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17994,8 +17994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -18014,8 +18014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -18034,8 +18034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -18054,8 +18054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -18074,8 +18074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -18094,8 +18094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -18114,8 +18114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -18134,8 +18134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18154,8 +18154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18174,8 +18174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18194,8 +18194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18214,8 +18214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18234,8 +18234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18254,8 +18254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18274,8 +18274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18294,8 +18294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18314,8 +18314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18334,8 +18334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18354,8 +18354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18374,8 +18374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18394,8 +18394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18414,8 +18414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18434,8 +18434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18454,8 +18454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18474,8 +18474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18494,8 +18494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18514,8 +18514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18534,8 +18534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18554,8 +18554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18574,8 +18574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18594,8 +18594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18614,8 +18614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18634,8 +18634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18654,8 +18654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18674,8 +18674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18694,8 +18694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18714,8 +18714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18734,8 +18734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18754,8 +18754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18774,8 +18774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18794,8 +18794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18814,8 +18814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18834,8 +18834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18854,8 +18854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18874,8 +18874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18894,8 +18894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18914,8 +18914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18934,8 +18934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18954,8 +18954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18974,8 +18974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -18994,8 +18994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -19014,8 +19014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -19034,8 +19034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -19054,8 +19054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -19074,8 +19074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -19094,8 +19094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -19114,8 +19114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -19134,8 +19134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19154,8 +19154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19174,8 +19174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19194,8 +19194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19214,8 +19214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19234,8 +19234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19254,8 +19254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19274,8 +19274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19294,8 +19294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19314,8 +19314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19334,8 +19334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19354,8 +19354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19374,8 +19374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19394,8 +19394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19414,8 +19414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19434,8 +19434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19454,8 +19454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19474,8 +19474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19494,8 +19494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19514,8 +19514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19534,8 +19534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19554,8 +19554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19574,8 +19574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19594,8 +19594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19614,8 +19614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19634,8 +19634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19654,8 +19654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19674,8 +19674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19694,8 +19694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19714,8 +19714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19734,8 +19734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19754,8 +19754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19774,8 +19774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19794,8 +19794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19814,8 +19814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19834,8 +19834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19854,8 +19854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19874,8 +19874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19894,8 +19894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19914,8 +19914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19934,8 +19934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19954,8 +19954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19974,8 +19974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -19994,8 +19994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -20014,8 +20014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -20034,8 +20034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -20054,8 +20054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -20074,8 +20074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -20094,8 +20094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -20114,8 +20114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -20134,8 +20134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20154,8 +20154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20174,8 +20174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20194,8 +20194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20214,8 +20214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20234,8 +20234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20254,8 +20254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20274,8 +20274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20294,8 +20294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20314,8 +20314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20334,8 +20334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20354,8 +20354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20374,8 +20374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20394,8 +20394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20414,8 +20414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20434,8 +20434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20454,8 +20454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20474,8 +20474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20494,8 +20494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20514,8 +20514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20534,8 +20534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20554,8 +20554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20574,8 +20574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20594,8 +20594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20614,8 +20614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20634,8 +20634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20654,8 +20654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20674,8 +20674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20694,8 +20694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20714,8 +20714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20734,8 +20734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20754,8 +20754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20774,8 +20774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20794,8 +20794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20814,8 +20814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20834,8 +20834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20854,8 +20854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20874,8 +20874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20894,8 +20894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20914,8 +20914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20934,8 +20934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20954,8 +20954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20974,8 +20974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -20994,8 +20994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -21014,8 +21014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -21034,8 +21034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -21054,8 +21054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -21074,8 +21074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -21094,8 +21094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -21114,8 +21114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -21134,8 +21134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21154,8 +21154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21174,8 +21174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21194,8 +21194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21214,8 +21214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21234,8 +21234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21254,8 +21254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21274,8 +21274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21294,8 +21294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21314,8 +21314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21334,8 +21334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21354,8 +21354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21374,8 +21374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21394,8 +21394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21414,8 +21414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21434,8 +21434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21454,8 +21454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21474,8 +21474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21494,8 +21494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21514,8 +21514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21534,8 +21534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21554,8 +21554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21574,8 +21574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21594,8 +21594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21614,8 +21614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21634,8 +21634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21654,8 +21654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21674,8 +21674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21694,8 +21694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21714,8 +21714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21734,8 +21734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21754,8 +21754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21774,8 +21774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21794,8 +21794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21814,8 +21814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21834,8 +21834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21854,8 +21854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21874,8 +21874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21894,8 +21894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21914,8 +21914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21934,8 +21934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21954,8 +21954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21974,8 +21974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -21994,8 +21994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -22014,8 +22014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -22034,8 +22034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -22054,8 +22054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -22074,8 +22074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -22094,8 +22094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -22114,8 +22114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -22134,8 +22134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22154,8 +22154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22174,8 +22174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22194,8 +22194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22214,8 +22214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22234,8 +22234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22254,8 +22254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22274,8 +22274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22294,8 +22294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22314,8 +22314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22334,8 +22334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22354,8 +22354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22374,8 +22374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22394,8 +22394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22414,8 +22414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22434,8 +22434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22454,8 +22454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22474,8 +22474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22494,8 +22494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22514,8 +22514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22534,8 +22534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22554,8 +22554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22574,8 +22574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22594,8 +22594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22614,8 +22614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22634,8 +22634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22654,8 +22654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22674,8 +22674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22694,8 +22694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22714,8 +22714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22734,8 +22734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22754,8 +22754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22774,8 +22774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22794,8 +22794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22814,8 +22814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22834,8 +22834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22854,8 +22854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22874,8 +22874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22894,8 +22894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22914,8 +22914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22934,8 +22934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22954,8 +22954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22974,8 +22974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -22994,8 +22994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -23014,8 +23014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -23034,8 +23034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -23054,8 +23054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -23074,8 +23074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -23094,8 +23094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -23114,8 +23114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -23134,8 +23134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23154,8 +23154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23174,8 +23174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23194,8 +23194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23214,8 +23214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23234,8 +23234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23254,8 +23254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23274,8 +23274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23294,8 +23294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23314,8 +23314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23334,8 +23334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23354,8 +23354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23374,8 +23374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23394,8 +23394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23414,8 +23414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23434,8 +23434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23454,8 +23454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23474,8 +23474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23494,8 +23494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23514,8 +23514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23534,8 +23534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23554,8 +23554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23574,8 +23574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23594,8 +23594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23614,8 +23614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23634,8 +23634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23654,8 +23654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23674,8 +23674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23694,8 +23694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23714,8 +23714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23734,8 +23734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23754,8 +23754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23774,8 +23774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23794,8 +23794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23814,8 +23814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23834,8 +23834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23854,8 +23854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23874,8 +23874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23894,8 +23894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23914,8 +23914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23934,8 +23934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23954,8 +23954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23974,8 +23974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -23994,8 +23994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -24014,8 +24014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -24034,8 +24034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -24054,8 +24054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -24074,8 +24074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -24094,8 +24094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -24114,8 +24114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -24134,8 +24134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24154,8 +24154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24174,8 +24174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24194,8 +24194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24214,8 +24214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24234,8 +24234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24254,8 +24254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24274,8 +24274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24294,8 +24294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24314,8 +24314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24334,8 +24334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24354,8 +24354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24374,8 +24374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24394,8 +24394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24414,8 +24414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24434,8 +24434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24454,8 +24454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24474,8 +24474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24494,8 +24494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24514,8 +24514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24534,8 +24534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24554,8 +24554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24574,8 +24574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24594,8 +24594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24614,8 +24614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24634,8 +24634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24654,8 +24654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24674,8 +24674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24694,8 +24694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24714,8 +24714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24734,8 +24734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24754,8 +24754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24774,8 +24774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24794,8 +24794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24814,8 +24814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24834,8 +24834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24854,8 +24854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24874,8 +24874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24894,8 +24894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24914,8 +24914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24934,8 +24934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24954,8 +24954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24974,8 +24974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -24994,8 +24994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -25014,8 +25014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -25034,8 +25034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -25054,8 +25054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -25074,8 +25074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -25094,8 +25094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -25114,8 +25114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -25134,8 +25134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25154,8 +25154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25174,8 +25174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25194,8 +25194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25214,8 +25214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25234,8 +25234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25254,8 +25254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25274,8 +25274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25294,8 +25294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25314,8 +25314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25334,8 +25334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25354,8 +25354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25374,8 +25374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25394,8 +25394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25414,8 +25414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25434,8 +25434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25454,8 +25454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25474,8 +25474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25494,8 +25494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25514,8 +25514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25534,8 +25534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25554,8 +25554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25574,8 +25574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25594,8 +25594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25614,8 +25614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25634,8 +25634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25654,8 +25654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25674,8 +25674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25694,8 +25694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25714,8 +25714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25734,8 +25734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25754,8 +25754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25774,8 +25774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25794,8 +25794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25814,8 +25814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25834,8 +25834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25854,8 +25854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25874,8 +25874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25894,8 +25894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25914,8 +25914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25934,8 +25934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25954,8 +25954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25974,8 +25974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -25994,8 +25994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -26014,8 +26014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -26034,8 +26034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -26054,8 +26054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -26074,8 +26074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -26094,8 +26094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -26114,8 +26114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -26134,8 +26134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26154,8 +26154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26174,8 +26174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26194,8 +26194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26214,8 +26214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26234,8 +26234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26254,8 +26254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26274,8 +26274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26294,8 +26294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26314,8 +26314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26334,8 +26334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26354,8 +26354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26374,8 +26374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26394,8 +26394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26414,8 +26414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26434,8 +26434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26454,8 +26454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26474,8 +26474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26494,8 +26494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26514,8 +26514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26534,8 +26534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26554,8 +26554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26574,8 +26574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26594,8 +26594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26614,8 +26614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26634,8 +26634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26654,8 +26654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26674,8 +26674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26694,8 +26694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26714,8 +26714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26734,8 +26734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26754,8 +26754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26774,8 +26774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26794,8 +26794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26814,8 +26814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26834,8 +26834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26854,8 +26854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26874,8 +26874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26894,8 +26894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26914,8 +26914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26934,8 +26934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26954,8 +26954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26974,8 +26974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -26994,8 +26994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -27014,8 +27014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -27034,8 +27034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -27054,8 +27054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -27074,8 +27074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -27094,8 +27094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -27114,8 +27114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -27134,8 +27134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27154,8 +27154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27174,8 +27174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27194,8 +27194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27214,8 +27214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27234,8 +27234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27254,8 +27254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27274,8 +27274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27294,8 +27294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27314,8 +27314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27334,8 +27334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27354,8 +27354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27374,8 +27374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27394,8 +27394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27414,8 +27414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27434,8 +27434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27454,8 +27454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27474,8 +27474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27494,8 +27494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27514,8 +27514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27534,8 +27534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27554,8 +27554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27574,8 +27574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27594,8 +27594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27614,8 +27614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27634,8 +27634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27654,8 +27654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27674,8 +27674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27694,8 +27694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27714,8 +27714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27734,8 +27734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27754,8 +27754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27774,8 +27774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27794,8 +27794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27814,8 +27814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27834,8 +27834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27854,8 +27854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27874,8 +27874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27894,8 +27894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27914,8 +27914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27934,8 +27934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27954,8 +27954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27974,8 +27974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -27994,8 +27994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -28014,8 +28014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -28034,8 +28034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -28054,8 +28054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -28074,8 +28074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -28094,8 +28094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -28114,8 +28114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -28134,8 +28134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28154,8 +28154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28174,8 +28174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28194,8 +28194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28214,8 +28214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28234,8 +28234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28254,8 +28254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28274,8 +28274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28294,8 +28294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28314,8 +28314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28334,8 +28334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28354,8 +28354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28374,8 +28374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28394,8 +28394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28414,8 +28414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28434,8 +28434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28454,8 +28454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28474,8 +28474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28494,8 +28494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28514,8 +28514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28534,8 +28534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28554,8 +28554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28574,8 +28574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28594,8 +28594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28614,8 +28614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28634,8 +28634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28654,8 +28654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28674,8 +28674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28694,8 +28694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28714,8 +28714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28734,8 +28734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28754,8 +28754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28774,8 +28774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28794,8 +28794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28814,8 +28814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28834,8 +28834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28854,8 +28854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28874,8 +28874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28894,8 +28894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28914,8 +28914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28934,8 +28934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28954,8 +28954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28974,8 +28974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -28994,8 +28994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -29014,8 +29014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -29034,8 +29034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -29054,8 +29054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -29074,8 +29074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -29094,8 +29094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -29114,8 +29114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -29134,8 +29134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29154,8 +29154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29174,8 +29174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29194,8 +29194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29214,8 +29214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29234,8 +29234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29254,8 +29254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29274,8 +29274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29294,8 +29294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29314,8 +29314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29334,8 +29334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29354,8 +29354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29374,8 +29374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29394,8 +29394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29414,8 +29414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29434,8 +29434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29454,8 +29454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29474,8 +29474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29494,8 +29494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29514,8 +29514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29534,8 +29534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29554,8 +29554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29574,8 +29574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29594,8 +29594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29614,8 +29614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29634,8 +29634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29654,8 +29654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29674,8 +29674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29694,8 +29694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29714,8 +29714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29734,8 +29734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29754,8 +29754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29774,8 +29774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29794,8 +29794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29814,8 +29814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29834,8 +29834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29854,8 +29854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29874,8 +29874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29894,8 +29894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29914,8 +29914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29934,8 +29934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29954,8 +29954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29974,8 +29974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -29994,8 +29994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -30014,8 +30014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -30034,8 +30034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -30054,8 +30054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -30074,8 +30074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -30094,8 +30094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -30114,8 +30114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -30134,8 +30134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30154,8 +30154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30174,8 +30174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30194,8 +30194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30214,8 +30214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30234,8 +30234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30254,8 +30254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30274,8 +30274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30294,8 +30294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30314,8 +30314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30334,8 +30334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30354,8 +30354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30374,8 +30374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30394,8 +30394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30414,8 +30414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30434,8 +30434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30454,8 +30454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30474,8 +30474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30494,8 +30494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30514,8 +30514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30534,8 +30534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30554,8 +30554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30574,8 +30574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30594,8 +30594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30614,8 +30614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30634,8 +30634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30654,8 +30654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30674,8 +30674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30694,8 +30694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30714,8 +30714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30734,8 +30734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30754,8 +30754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30774,8 +30774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30794,8 +30794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30814,8 +30814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30834,8 +30834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30854,8 +30854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30874,8 +30874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30894,8 +30894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30914,8 +30914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30934,8 +30934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30954,8 +30954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30974,8 +30974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -30994,8 +30994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -31014,8 +31014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -31034,8 +31034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -31054,8 +31054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -31074,8 +31074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -31094,8 +31094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -31114,8 +31114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -31134,8 +31134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31154,8 +31154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31174,8 +31174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31194,8 +31194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31214,8 +31214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31234,8 +31234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31254,8 +31254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31274,8 +31274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31294,8 +31294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31314,8 +31314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31334,8 +31334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31354,8 +31354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31374,8 +31374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31394,8 +31394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31414,8 +31414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31434,8 +31434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31454,8 +31454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31474,8 +31474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31494,8 +31494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31514,8 +31514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31534,8 +31534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31554,8 +31554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31574,8 +31574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31594,8 +31594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31614,8 +31614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31634,8 +31634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31654,8 +31654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31674,8 +31674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31694,8 +31694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31714,8 +31714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31734,8 +31734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31754,8 +31754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31774,8 +31774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31794,8 +31794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31814,8 +31814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31834,8 +31834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31854,8 +31854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31874,8 +31874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31894,8 +31894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31914,8 +31914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31934,8 +31934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31954,8 +31954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31974,8 +31974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -31994,8 +31994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -32014,8 +32014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -32034,8 +32034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -32054,8 +32054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -32074,8 +32074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -32094,8 +32094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -32114,8 +32114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -32134,8 +32134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32154,8 +32154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32174,8 +32174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32194,8 +32194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32214,8 +32214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32234,8 +32234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32254,8 +32254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32274,8 +32274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32294,8 +32294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32314,8 +32314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32334,8 +32334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32354,8 +32354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32374,8 +32374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32394,8 +32394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32414,8 +32414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32434,8 +32434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32454,8 +32454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32474,8 +32474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32494,8 +32494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32514,8 +32514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32534,8 +32534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32554,8 +32554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32574,8 +32574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32594,8 +32594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32614,8 +32614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32634,8 +32634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32654,8 +32654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32674,8 +32674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32694,8 +32694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32714,8 +32714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32734,8 +32734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32754,8 +32754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32774,8 +32774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32794,8 +32794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32814,8 +32814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32834,8 +32834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32854,8 +32854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32874,8 +32874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32894,8 +32894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32914,8 +32914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32934,8 +32934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32954,8 +32954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32974,8 +32974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -32994,8 +32994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -33014,8 +33014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -33034,8 +33034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -33054,8 +33054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -33074,8 +33074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -33094,8 +33094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -33114,8 +33114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -33134,8 +33134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33154,8 +33154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33174,8 +33174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33194,8 +33194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33214,8 +33214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33234,8 +33234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33254,8 +33254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33274,8 +33274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33294,8 +33294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33314,8 +33314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33334,8 +33334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33354,8 +33354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33374,8 +33374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33394,8 +33394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33414,8 +33414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33434,8 +33434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33454,8 +33454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33474,8 +33474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33494,8 +33494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33514,8 +33514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33534,8 +33534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33554,8 +33554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33574,8 +33574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33594,8 +33594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33614,8 +33614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33634,8 +33634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33654,8 +33654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33674,8 +33674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33694,8 +33694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33714,8 +33714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33734,8 +33734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33754,8 +33754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33774,8 +33774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33794,8 +33794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33814,8 +33814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33834,8 +33834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33854,8 +33854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33874,8 +33874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33894,8 +33894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33914,8 +33914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33934,8 +33934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33954,8 +33954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33974,8 +33974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -33994,8 +33994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -34014,8 +34014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -34034,8 +34034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -34054,8 +34054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -34074,8 +34074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -34094,8 +34094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -34114,8 +34114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -34134,8 +34134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34154,8 +34154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34174,8 +34174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34194,8 +34194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34214,8 +34214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34234,8 +34234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34254,8 +34254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34274,8 +34274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34294,8 +34294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34314,8 +34314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34334,8 +34334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34354,8 +34354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34374,8 +34374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34394,8 +34394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34414,8 +34414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34434,8 +34434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34454,8 +34454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34474,8 +34474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34494,8 +34494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34514,8 +34514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34534,8 +34534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34554,8 +34554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34574,8 +34574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34594,8 +34594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34614,8 +34614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34634,8 +34634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34654,8 +34654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34674,8 +34674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34694,8 +34694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34714,8 +34714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34734,8 +34734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34754,8 +34754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34774,8 +34774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34794,8 +34794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34814,8 +34814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34834,8 +34834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34854,8 +34854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34874,8 +34874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34894,8 +34894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34914,8 +34914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34934,8 +34934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34954,8 +34954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34974,8 +34974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -34994,8 +34994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -35014,8 +35014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -35034,8 +35034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -35054,8 +35054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -35074,8 +35074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -35094,8 +35094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -35114,8 +35114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -35134,8 +35134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35154,8 +35154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35174,8 +35174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35194,8 +35194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35214,8 +35214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35234,8 +35234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35254,8 +35254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35274,8 +35274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35294,8 +35294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35314,8 +35314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35334,8 +35334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35354,8 +35354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35374,8 +35374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35394,8 +35394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35414,8 +35414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35434,8 +35434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35454,8 +35454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35474,8 +35474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35494,8 +35494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35514,8 +35514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35534,8 +35534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35554,8 +35554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35574,8 +35574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35594,8 +35594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35614,8 +35614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35634,8 +35634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35654,8 +35654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35674,8 +35674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35694,8 +35694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35714,8 +35714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35734,8 +35734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35754,8 +35754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35774,8 +35774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35794,8 +35794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35814,8 +35814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35834,8 +35834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35854,8 +35854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35874,8 +35874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35894,8 +35894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35914,8 +35914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35934,8 +35934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35954,8 +35954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35974,8 +35974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -35994,8 +35994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -36014,8 +36014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -36034,8 +36034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -36054,8 +36054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -36074,8 +36074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -36094,8 +36094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -36114,8 +36114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -36134,8 +36134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36154,8 +36154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36174,8 +36174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36194,8 +36194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36214,8 +36214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36234,8 +36234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36254,8 +36254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36274,8 +36274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36294,8 +36294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36314,8 +36314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36334,8 +36334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36354,8 +36354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36374,8 +36374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36394,8 +36394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36414,8 +36414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36434,8 +36434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36454,8 +36454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36474,8 +36474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36494,8 +36494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36514,8 +36514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36534,8 +36534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36554,8 +36554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36574,8 +36574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36594,8 +36594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36614,8 +36614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36634,8 +36634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36654,8 +36654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36674,8 +36674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36694,8 +36694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36714,8 +36714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36734,8 +36734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36754,8 +36754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36774,8 +36774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36794,8 +36794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36814,8 +36814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36834,8 +36834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36854,8 +36854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36874,8 +36874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36894,8 +36894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36914,8 +36914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36934,8 +36934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36954,8 +36954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36974,8 +36974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -36994,8 +36994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -37014,8 +37014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -37034,8 +37034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -37054,8 +37054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -37074,8 +37074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -37094,8 +37094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -37114,8 +37114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -37134,8 +37134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37154,8 +37154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37174,8 +37174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37194,8 +37194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37214,8 +37214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37234,8 +37234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37254,8 +37254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37274,8 +37274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37294,8 +37294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37314,8 +37314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37334,8 +37334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37354,8 +37354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37374,8 +37374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37394,8 +37394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37414,8 +37414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37434,8 +37434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37454,8 +37454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37474,8 +37474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37494,8 +37494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37514,8 +37514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37534,8 +37534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37554,8 +37554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37574,8 +37574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37594,8 +37594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37614,8 +37614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37634,8 +37634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37654,8 +37654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37674,8 +37674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37694,8 +37694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37714,8 +37714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37734,8 +37734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37754,8 +37754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37774,8 +37774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37794,8 +37794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37814,8 +37814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37834,8 +37834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37854,8 +37854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37874,8 +37874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37894,8 +37894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37914,8 +37914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37934,8 +37934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37954,8 +37954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37974,8 +37974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -37994,8 +37994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -38014,8 +38014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -38034,8 +38034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -38054,8 +38054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -38074,8 +38074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -38094,8 +38094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -38114,8 +38114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -38134,8 +38134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38154,8 +38154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38174,8 +38174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38194,8 +38194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38214,8 +38214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38234,8 +38234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38254,8 +38254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38274,8 +38274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38294,8 +38294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38314,8 +38314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38334,8 +38334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38354,8 +38354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38374,8 +38374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38394,8 +38394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38414,8 +38414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38434,8 +38434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38454,8 +38454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38474,8 +38474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38494,8 +38494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38514,8 +38514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38534,8 +38534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38554,8 +38554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38574,8 +38574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38594,8 +38594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38614,8 +38614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38634,8 +38634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38654,8 +38654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38674,8 +38674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38694,8 +38694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38714,8 +38714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38734,8 +38734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38754,8 +38754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38774,8 +38774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38794,8 +38794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38814,8 +38814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38834,8 +38834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38854,8 +38854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38874,8 +38874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38894,8 +38894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38914,8 +38914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38934,8 +38934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38954,8 +38954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38974,8 +38974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -38994,8 +38994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -39014,8 +39014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -39034,8 +39034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -39054,8 +39054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -39074,8 +39074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -39094,8 +39094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -39114,8 +39114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -39134,8 +39134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39154,8 +39154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39174,8 +39174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39194,8 +39194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39214,8 +39214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39234,8 +39234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39254,8 +39254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39274,8 +39274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39294,8 +39294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39314,8 +39314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39334,8 +39334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39354,8 +39354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39374,8 +39374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39394,8 +39394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39414,8 +39414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39434,8 +39434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39454,8 +39454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39474,8 +39474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39494,8 +39494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39514,8 +39514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39534,8 +39534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39554,8 +39554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39574,8 +39574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39594,8 +39594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39614,8 +39614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39634,8 +39634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39654,8 +39654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39674,8 +39674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39694,8 +39694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39714,8 +39714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39734,8 +39734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39754,8 +39754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39774,8 +39774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39794,8 +39794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39814,8 +39814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39834,8 +39834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39854,8 +39854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39874,8 +39874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39894,8 +39894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39914,8 +39914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39934,8 +39934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39954,8 +39954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39974,8 +39974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -39994,8 +39994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -40014,8 +40014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -40034,8 +40034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -40054,8 +40054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -40074,8 +40074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -40094,8 +40094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -40114,8 +40114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -40134,8 +40134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40154,8 +40154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40174,8 +40174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40194,8 +40194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40214,8 +40214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40234,8 +40234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40254,8 +40254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40274,8 +40274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40294,8 +40294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40314,8 +40314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40334,8 +40334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40354,8 +40354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40374,8 +40374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40394,8 +40394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40414,8 +40414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40434,8 +40434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40454,8 +40454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40474,8 +40474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40494,8 +40494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40514,8 +40514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40534,8 +40534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40554,8 +40554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40574,8 +40574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40594,8 +40594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40614,8 +40614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40634,8 +40634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40654,8 +40654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40674,8 +40674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40694,8 +40694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40714,8 +40714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40734,8 +40734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40754,8 +40754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40774,8 +40774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40794,8 +40794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40814,8 +40814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40834,8 +40834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40854,8 +40854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40874,8 +40874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40894,8 +40894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40914,8 +40914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40934,8 +40934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40954,8 +40954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40974,8 +40974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -40994,8 +40994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -41014,8 +41014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -41034,8 +41034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -41054,8 +41054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -41074,8 +41074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -41094,8 +41094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -41114,8 +41114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -41134,8 +41134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41154,8 +41154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41174,8 +41174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41194,8 +41194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41214,8 +41214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41234,8 +41234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41254,8 +41254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41274,8 +41274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41294,8 +41294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41314,8 +41314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41334,8 +41334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41354,8 +41354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41374,8 +41374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41394,8 +41394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41414,8 +41414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41434,8 +41434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41454,8 +41454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41474,8 +41474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41494,8 +41494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41514,8 +41514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41534,8 +41534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41554,8 +41554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41574,8 +41574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41594,8 +41594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41614,8 +41614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41634,8 +41634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41654,8 +41654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41674,8 +41674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41694,8 +41694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41714,8 +41714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41734,8 +41734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41754,8 +41754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41774,8 +41774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41794,8 +41794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41814,8 +41814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41834,8 +41834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41854,8 +41854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41874,8 +41874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41894,8 +41894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41914,8 +41914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41934,8 +41934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41954,8 +41954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41974,8 +41974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -41994,8 +41994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -42014,8 +42014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -42034,8 +42034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -42054,8 +42054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -42074,8 +42074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -42094,8 +42094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -42114,8 +42114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -42134,8 +42134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42154,8 +42154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42174,8 +42174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42194,8 +42194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42214,8 +42214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42234,8 +42234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42254,8 +42254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42274,8 +42274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42294,8 +42294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42314,8 +42314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42334,8 +42334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42354,8 +42354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42374,8 +42374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42394,8 +42394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42414,8 +42414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42434,8 +42434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42454,8 +42454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42474,8 +42474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42494,8 +42494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42514,8 +42514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42534,8 +42534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42554,8 +42554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42574,8 +42574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42594,8 +42594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42614,8 +42614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42634,8 +42634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42654,8 +42654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42674,8 +42674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42694,8 +42694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42714,8 +42714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42734,8 +42734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42754,8 +42754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42774,8 +42774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42794,8 +42794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42814,8 +42814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42834,8 +42834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42854,8 +42854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42874,8 +42874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42894,8 +42894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42914,8 +42914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42934,8 +42934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42954,8 +42954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42974,8 +42974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -42994,8 +42994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -43014,8 +43014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -43034,8 +43034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -43054,8 +43054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -43074,8 +43074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -43094,8 +43094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -43114,8 +43114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -43134,8 +43134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43154,8 +43154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43174,8 +43174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43194,8 +43194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43214,8 +43214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43234,8 +43234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43254,8 +43254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43274,8 +43274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43294,8 +43294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43314,8 +43314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43334,8 +43334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43354,8 +43354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43374,8 +43374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43394,8 +43394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43414,8 +43414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43434,8 +43434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43454,8 +43454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43474,8 +43474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43494,8 +43494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43514,8 +43514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43534,8 +43534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43554,8 +43554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43574,8 +43574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43594,8 +43594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43614,8 +43614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43634,8 +43634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43654,8 +43654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43674,8 +43674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43694,8 +43694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43714,8 +43714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43734,8 +43734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43754,8 +43754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43774,8 +43774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43794,8 +43794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43814,8 +43814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43834,8 +43834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43854,8 +43854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43874,8 +43874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43894,8 +43894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43914,8 +43914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43934,8 +43934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43954,8 +43954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43974,8 +43974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -43994,8 +43994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -44014,8 +44014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -44034,8 +44034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -44054,8 +44054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -44074,8 +44074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -44094,8 +44094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -44114,8 +44114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -44134,8 +44134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44154,8 +44154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44174,8 +44174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44194,8 +44194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44214,8 +44214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44234,8 +44234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44254,8 +44254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44274,8 +44274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44294,8 +44294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44314,8 +44314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44334,8 +44334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44354,8 +44354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44374,8 +44374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44394,8 +44394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44414,8 +44414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44434,8 +44434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44454,8 +44454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44474,8 +44474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44494,8 +44494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44514,8 +44514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44534,8 +44534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44554,8 +44554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44574,8 +44574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44594,8 +44594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44614,8 +44614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44634,8 +44634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44654,8 +44654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44674,8 +44674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44694,8 +44694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44714,8 +44714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44734,8 +44734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44754,8 +44754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44774,8 +44774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44794,8 +44794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44814,8 +44814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44834,8 +44834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44854,8 +44854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44874,8 +44874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44894,8 +44894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44914,8 +44914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44934,8 +44934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44954,8 +44954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44974,8 +44974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -44994,8 +44994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -45014,8 +45014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -45034,8 +45034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -45054,8 +45054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -45074,8 +45074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -45094,8 +45094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -45114,8 +45114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -45134,8 +45134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45154,8 +45154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45174,8 +45174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45194,8 +45194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45214,8 +45214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45234,8 +45234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45254,8 +45254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45274,8 +45274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45294,8 +45294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45314,8 +45314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45334,8 +45334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45354,8 +45354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45374,8 +45374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45394,8 +45394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45414,8 +45414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45434,8 +45434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45454,8 +45454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45474,8 +45474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45494,8 +45494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45514,8 +45514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45534,8 +45534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45554,8 +45554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45574,8 +45574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45594,8 +45594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45614,8 +45614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45634,8 +45634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45654,8 +45654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45674,8 +45674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45694,8 +45694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45714,8 +45714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45734,8 +45734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45754,8 +45754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45774,8 +45774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45794,8 +45794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45814,8 +45814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45834,8 +45834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45854,8 +45854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45874,8 +45874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45894,8 +45894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45914,8 +45914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45934,8 +45934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45954,8 +45954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45974,8 +45974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -45994,8 +45994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -46014,8 +46014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -46034,8 +46034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -46054,8 +46054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -46074,8 +46074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -46094,8 +46094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -46114,8 +46114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -46134,8 +46134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46154,8 +46154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46174,8 +46174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46194,8 +46194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46214,8 +46214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46234,8 +46234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46254,8 +46254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46274,8 +46274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46294,8 +46294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46314,8 +46314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46334,8 +46334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46354,8 +46354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46374,8 +46374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46394,8 +46394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46414,8 +46414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46434,8 +46434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46454,8 +46454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46474,8 +46474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46494,8 +46494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46514,8 +46514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46534,8 +46534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46554,8 +46554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46574,8 +46574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46594,8 +46594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46614,8 +46614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46634,8 +46634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46654,8 +46654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46674,8 +46674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46694,8 +46694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46714,8 +46714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46734,8 +46734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46754,8 +46754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46774,8 +46774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46794,8 +46794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46814,8 +46814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46834,8 +46834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46854,8 +46854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46874,8 +46874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46894,8 +46894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46914,8 +46914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46934,8 +46934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46954,8 +46954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46974,8 +46974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -46994,8 +46994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -47014,8 +47014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -47034,8 +47034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -47054,8 +47054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -47074,8 +47074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -47094,8 +47094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -47114,8 +47114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -47134,8 +47134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47154,8 +47154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47174,8 +47174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47194,8 +47194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47214,8 +47214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47234,8 +47234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47254,8 +47254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47274,8 +47274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47294,8 +47294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47314,8 +47314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47334,8 +47334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47354,8 +47354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47374,8 +47374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47394,8 +47394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47414,8 +47414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47434,8 +47434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47454,8 +47454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47474,8 +47474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47494,8 +47494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47514,8 +47514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47534,8 +47534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47554,8 +47554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47574,8 +47574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47594,8 +47594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47614,8 +47614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47634,8 +47634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47654,8 +47654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47674,8 +47674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47694,8 +47694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47714,8 +47714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47734,8 +47734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47754,8 +47754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47774,8 +47774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47794,8 +47794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47814,8 +47814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47834,8 +47834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47854,8 +47854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47874,8 +47874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47894,8 +47894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47914,8 +47914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47934,8 +47934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47954,8 +47954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47974,8 +47974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -47994,8 +47994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -48014,8 +48014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -48034,8 +48034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -48054,8 +48054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -48074,8 +48074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -48094,8 +48094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -48114,8 +48114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -48134,8 +48134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48154,8 +48154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48174,8 +48174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48194,8 +48194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48214,8 +48214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48234,8 +48234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48254,8 +48254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48274,8 +48274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48294,8 +48294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48314,8 +48314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48334,8 +48334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48354,8 +48354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48374,8 +48374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48394,8 +48394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48414,8 +48414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48434,8 +48434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48454,8 +48454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48474,8 +48474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48494,8 +48494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48514,8 +48514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48534,8 +48534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48554,8 +48554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48574,8 +48574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48594,8 +48594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48614,8 +48614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48634,8 +48634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48654,8 +48654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48674,8 +48674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48694,8 +48694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48714,8 +48714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48734,8 +48734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48754,8 +48754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48774,8 +48774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48794,8 +48794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48814,8 +48814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48834,8 +48834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48854,8 +48854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48874,8 +48874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48894,8 +48894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48914,8 +48914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48934,8 +48934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48954,8 +48954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48974,8 +48974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -48994,8 +48994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -49014,8 +49014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -49034,8 +49034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -49054,8 +49054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -49074,8 +49074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -49094,8 +49094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -49114,8 +49114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -49134,8 +49134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49154,8 +49154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49174,8 +49174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49194,8 +49194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49214,8 +49214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49234,8 +49234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49254,8 +49254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49274,8 +49274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49294,8 +49294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49314,8 +49314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49334,8 +49334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49354,8 +49354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49374,8 +49374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49394,8 +49394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49414,8 +49414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49434,8 +49434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49454,8 +49454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49474,8 +49474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49494,8 +49494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49514,8 +49514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49534,8 +49534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49554,8 +49554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49574,8 +49574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49594,8 +49594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49614,8 +49614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49634,8 +49634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49654,8 +49654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49674,8 +49674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49694,8 +49694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49714,8 +49714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49734,8 +49734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49754,8 +49754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49774,8 +49774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49794,8 +49794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49814,8 +49814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49834,8 +49834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49854,8 +49854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49874,8 +49874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49894,8 +49894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49914,8 +49914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49934,8 +49934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49954,8 +49954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49974,8 +49974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -49994,8 +49994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -50014,8 +50014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -50034,8 +50034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -50054,8 +50054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -50074,8 +50074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -50094,8 +50094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -50114,8 +50114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -50134,8 +50134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50154,8 +50154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50174,8 +50174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50194,8 +50194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50214,8 +50214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50234,8 +50234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50254,8 +50254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50274,8 +50274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50294,8 +50294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50314,8 +50314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50334,8 +50334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50354,8 +50354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50374,8 +50374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50394,8 +50394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50414,8 +50414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50434,8 +50434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50454,8 +50454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50474,8 +50474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50494,8 +50494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50514,8 +50514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50534,8 +50534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50554,8 +50554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50574,8 +50574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50594,8 +50594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50614,8 +50614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50634,8 +50634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50654,8 +50654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50674,8 +50674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50694,8 +50694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50714,8 +50714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50734,8 +50734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50754,8 +50754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50774,8 +50774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50794,8 +50794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50814,8 +50814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50834,8 +50834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50854,8 +50854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50874,8 +50874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50894,8 +50894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50914,8 +50914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50934,8 +50934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50954,8 +50954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50974,8 +50974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -50994,8 +50994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -51014,8 +51014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -51034,8 +51034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -51054,8 +51054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -51074,8 +51074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -51094,8 +51094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -51114,8 +51114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -51134,8 +51134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51154,8 +51154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51174,8 +51174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51194,8 +51194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51214,8 +51214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51234,8 +51234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51254,8 +51254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51274,8 +51274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51294,8 +51294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51314,8 +51314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51334,8 +51334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51354,8 +51354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51374,8 +51374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51394,8 +51394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51414,8 +51414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51434,8 +51434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51454,8 +51454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51474,8 +51474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51494,8 +51494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51514,8 +51514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51534,8 +51534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51554,8 +51554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51574,8 +51574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51594,8 +51594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51614,8 +51614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51634,8 +51634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51654,8 +51654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51674,8 +51674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51694,8 +51694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51714,8 +51714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51734,8 +51734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51754,8 +51754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51774,8 +51774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51794,8 +51794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51814,8 +51814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51834,8 +51834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51854,8 +51854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51874,8 +51874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51894,8 +51894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51914,8 +51914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51934,8 +51934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51954,8 +51954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51974,8 +51974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -51994,8 +51994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -52014,8 +52014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -52034,8 +52034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -52054,8 +52054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -52074,8 +52074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -52094,8 +52094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -52114,8 +52114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -52134,8 +52134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52154,8 +52154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52174,8 +52174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52194,8 +52194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52214,8 +52214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52234,8 +52234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52254,8 +52254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52274,8 +52274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52294,8 +52294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52314,8 +52314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52334,8 +52334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52354,8 +52354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52374,8 +52374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52394,8 +52394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52414,8 +52414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52434,8 +52434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52454,8 +52454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52474,8 +52474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52494,8 +52494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52514,8 +52514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52534,8 +52534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52554,8 +52554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52574,8 +52574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52594,8 +52594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52614,8 +52614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52634,8 +52634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52654,8 +52654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52674,8 +52674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52694,8 +52694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52714,8 +52714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52734,8 +52734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52754,8 +52754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52774,8 +52774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52794,8 +52794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52814,8 +52814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52834,8 +52834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52854,8 +52854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52874,8 +52874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52894,8 +52894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52914,8 +52914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52934,8 +52934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52954,8 +52954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52974,8 +52974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -52994,8 +52994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -53014,8 +53014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -53034,8 +53034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -53054,8 +53054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -53074,8 +53074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -53094,8 +53094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -53114,8 +53114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -53134,8 +53134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53154,8 +53154,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53174,8 +53174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53194,8 +53194,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53214,8 +53214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53234,8 +53234,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53254,8 +53254,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53274,8 +53274,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53294,8 +53294,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53314,8 +53314,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53334,8 +53334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53354,8 +53354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53374,8 +53374,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53394,8 +53394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53414,8 +53414,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53434,8 +53434,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53454,8 +53454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53474,8 +53474,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53494,8 +53494,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53514,8 +53514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53534,8 +53534,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53554,8 +53554,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53574,8 +53574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53594,8 +53594,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53614,8 +53614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53634,8 +53634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53654,8 +53654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53674,8 +53674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53694,8 +53694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53714,8 +53714,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53734,8 +53734,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53754,8 +53754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53774,8 +53774,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53794,8 +53794,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53814,8 +53814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53834,8 +53834,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53854,8 +53854,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53874,8 +53874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53894,8 +53894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53914,8 +53914,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53934,8 +53934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53954,8 +53954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53974,8 +53974,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -53994,8 +53994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -54014,8 +54014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -54034,8 +54034,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -54054,8 +54054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -54074,8 +54074,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -54094,8 +54094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -54114,8 +54114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js index a90e7d24f4e..91e4b809a75 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js @@ -3585,8 +3585,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -3605,8 +3605,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -3625,8 +3625,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -3645,8 +3645,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -3665,8 +3665,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -3685,8 +3685,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -3705,8 +3705,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_6", + "hasAction": true, "data": { "exportName": "aa_6__0", "exportMapKey": "7 * aa_6__0 ", @@ -3718,8 +3718,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_7", + "hasAction": true, "data": { "exportName": "aa_7__0", "exportMapKey": "7 * aa_7__0 ", @@ -3731,8 +3731,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_8", + "hasAction": true, "data": { "exportName": "aa_8__0", "exportMapKey": "7 * aa_8__0 ", @@ -3744,8 +3744,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_9", + "hasAction": true, "data": { "exportName": "aa_9__0", "exportMapKey": "7 * aa_9__0 ", @@ -3757,8 +3757,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -3777,8 +3777,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -3797,8 +3797,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -3817,8 +3817,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -3837,8 +3837,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -3857,8 +3857,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -3877,8 +3877,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -3897,8 +3897,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -3917,8 +3917,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -3937,8 +3937,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -3957,8 +3957,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -3977,8 +3977,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -3997,8 +3997,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -4017,8 +4017,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -4037,8 +4037,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -4057,8 +4057,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -4077,8 +4077,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -4097,8 +4097,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -4117,8 +4117,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -4137,8 +4137,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -4157,8 +4157,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -4177,8 +4177,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -4197,8 +4197,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -4217,8 +4217,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -4237,8 +4237,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -4257,8 +4257,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -4277,8 +4277,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -4297,8 +4297,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -4317,8 +4317,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -4337,8 +4337,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -4357,8 +4357,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -4377,8 +4377,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -4397,8 +4397,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -4417,8 +4417,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -4437,8 +4437,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -4457,8 +4457,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -4477,8 +4477,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -4497,8 +4497,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -4517,8 +4517,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -4537,8 +4537,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -4557,8 +4557,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -4577,8 +4577,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -4597,8 +4597,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -4617,8 +4617,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -4637,8 +4637,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_54", + "hasAction": true, "data": { "exportName": "aa_54__0", "exportMapKey": "8 * aa_54__0 ", @@ -4650,8 +4650,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_55", + "hasAction": true, "data": { "exportName": "aa_55__0", "exportMapKey": "8 * aa_55__0 ", @@ -4663,8 +4663,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_56", + "hasAction": true, "data": { "exportName": "aa_56__0", "exportMapKey": "8 * aa_56__0 ", @@ -4676,8 +4676,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_57", + "hasAction": true, "data": { "exportName": "aa_57__0", "exportMapKey": "8 * aa_57__0 ", @@ -4689,8 +4689,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_58", + "hasAction": true, "data": { "exportName": "aa_58__0", "exportMapKey": "8 * aa_58__0 ", @@ -4702,8 +4702,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_59", + "hasAction": true, "data": { "exportName": "aa_59__0", "exportMapKey": "8 * aa_59__0 ", @@ -4715,8 +4715,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_60", + "hasAction": true, "data": { "exportName": "aa_60__0", "exportMapKey": "8 * aa_60__0 ", @@ -4728,8 +4728,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_61", + "hasAction": true, "data": { "exportName": "aa_61__0", "exportMapKey": "8 * aa_61__0 ", @@ -4741,8 +4741,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_62", + "hasAction": true, "data": { "exportName": "aa_62__0", "exportMapKey": "8 * aa_62__0 ", @@ -4754,8 +4754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_63", + "hasAction": true, "data": { "exportName": "aa_63__0", "exportMapKey": "8 * aa_63__0 ", @@ -4767,8 +4767,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_64", + "hasAction": true, "data": { "exportName": "aa_64__0", "exportMapKey": "8 * aa_64__0 ", @@ -4780,8 +4780,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_65", + "hasAction": true, "data": { "exportName": "aa_65__0", "exportMapKey": "8 * aa_65__0 ", @@ -4793,8 +4793,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_66", + "hasAction": true, "data": { "exportName": "aa_66__0", "exportMapKey": "8 * aa_66__0 ", @@ -4806,8 +4806,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_67", + "hasAction": true, "data": { "exportName": "aa_67__0", "exportMapKey": "8 * aa_67__0 ", @@ -4819,8 +4819,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_68", + "hasAction": true, "data": { "exportName": "aa_68__0", "exportMapKey": "8 * aa_68__0 ", @@ -4832,8 +4832,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_69", + "hasAction": true, "data": { "exportName": "aa_69__0", "exportMapKey": "8 * aa_69__0 ", @@ -4845,8 +4845,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_70", + "hasAction": true, "data": { "exportName": "aa_70__0", "exportMapKey": "8 * aa_70__0 ", @@ -4858,8 +4858,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_71", + "hasAction": true, "data": { "exportName": "aa_71__0", "exportMapKey": "8 * aa_71__0 ", @@ -4871,8 +4871,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_72", + "hasAction": true, "data": { "exportName": "aa_72__0", "exportMapKey": "8 * aa_72__0 ", @@ -4884,8 +4884,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_73", + "hasAction": true, "data": { "exportName": "aa_73__0", "exportMapKey": "8 * aa_73__0 ", @@ -4897,8 +4897,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_74", + "hasAction": true, "data": { "exportName": "aa_74__0", "exportMapKey": "8 * aa_74__0 ", @@ -4910,8 +4910,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_75", + "hasAction": true, "data": { "exportName": "aa_75__0", "exportMapKey": "8 * aa_75__0 ", @@ -4923,8 +4923,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_76", + "hasAction": true, "data": { "exportName": "aa_76__0", "exportMapKey": "8 * aa_76__0 ", @@ -4936,8 +4936,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_77", + "hasAction": true, "data": { "exportName": "aa_77__0", "exportMapKey": "8 * aa_77__0 ", @@ -4949,8 +4949,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_78", + "hasAction": true, "data": { "exportName": "aa_78__0", "exportMapKey": "8 * aa_78__0 ", @@ -4962,8 +4962,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_79", + "hasAction": true, "data": { "exportName": "aa_79__0", "exportMapKey": "8 * aa_79__0 ", @@ -4975,8 +4975,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_80", + "hasAction": true, "data": { "exportName": "aa_80__0", "exportMapKey": "8 * aa_80__0 ", @@ -4988,8 +4988,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_81", + "hasAction": true, "data": { "exportName": "aa_81__0", "exportMapKey": "8 * aa_81__0 ", @@ -5001,8 +5001,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_82", + "hasAction": true, "data": { "exportName": "aa_82__0", "exportMapKey": "8 * aa_82__0 ", @@ -5014,8 +5014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_83", + "hasAction": true, "data": { "exportName": "aa_83__0", "exportMapKey": "8 * aa_83__0 ", @@ -5027,8 +5027,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_84", + "hasAction": true, "data": { "exportName": "aa_84__0", "exportMapKey": "8 * aa_84__0 ", @@ -5040,8 +5040,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_85", + "hasAction": true, "data": { "exportName": "aa_85__0", "exportMapKey": "8 * aa_85__0 ", @@ -5053,8 +5053,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_86", + "hasAction": true, "data": { "exportName": "aa_86__0", "exportMapKey": "8 * aa_86__0 ", @@ -5066,8 +5066,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_87", + "hasAction": true, "data": { "exportName": "aa_87__0", "exportMapKey": "8 * aa_87__0 ", @@ -5079,8 +5079,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_88", + "hasAction": true, "data": { "exportName": "aa_88__0", "exportMapKey": "8 * aa_88__0 ", @@ -5092,8 +5092,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_89", + "hasAction": true, "data": { "exportName": "aa_89__0", "exportMapKey": "8 * aa_89__0 ", @@ -5105,8 +5105,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_90", + "hasAction": true, "data": { "exportName": "aa_90__0", "exportMapKey": "8 * aa_90__0 ", @@ -5118,8 +5118,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_91", + "hasAction": true, "data": { "exportName": "aa_91__0", "exportMapKey": "8 * aa_91__0 ", @@ -5131,8 +5131,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_92", + "hasAction": true, "data": { "exportName": "aa_92__0", "exportMapKey": "8 * aa_92__0 ", @@ -5144,8 +5144,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_93", + "hasAction": true, "data": { "exportName": "aa_93__0", "exportMapKey": "8 * aa_93__0 ", @@ -5157,8 +5157,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_94", + "hasAction": true, "data": { "exportName": "aa_94__0", "exportMapKey": "8 * aa_94__0 ", @@ -5170,8 +5170,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_95", + "hasAction": true, "data": { "exportName": "aa_95__0", "exportMapKey": "8 * aa_95__0 ", @@ -5183,8 +5183,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_96", + "hasAction": true, "data": { "exportName": "aa_96__0", "exportMapKey": "8 * aa_96__0 ", @@ -5196,8 +5196,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_97", + "hasAction": true, "data": { "exportName": "aa_97__0", "exportMapKey": "8 * aa_97__0 ", @@ -5209,8 +5209,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_98", + "hasAction": true, "data": { "exportName": "aa_98__0", "exportMapKey": "8 * aa_98__0 ", @@ -5222,8 +5222,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_99", + "hasAction": true, "data": { "exportName": "aa_99__0", "exportMapKey": "8 * aa_99__0 ", @@ -5235,8 +5235,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_100", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_100", @@ -5255,8 +5255,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_101", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_101", @@ -5275,8 +5275,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_102", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_102", @@ -5295,8 +5295,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_103", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_103", @@ -5315,8 +5315,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_104", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_104", @@ -5335,8 +5335,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_105", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_105", @@ -5355,8 +5355,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_106", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_106", @@ -5375,8 +5375,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_107", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_107", @@ -5395,8 +5395,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_108", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_108", @@ -5415,8 +5415,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_109", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_109", @@ -5435,8 +5435,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_110", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_110", @@ -5455,8 +5455,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_111", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_111", @@ -5475,8 +5475,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_112", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_112", @@ -5495,8 +5495,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_113", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_113", @@ -5515,8 +5515,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_114", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_114", @@ -5535,8 +5535,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_115", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_115", @@ -5555,8 +5555,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_116", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_116", @@ -5575,8 +5575,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_117", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_117", @@ -5595,8 +5595,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_118", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_118", @@ -5615,8 +5615,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_119", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_119", @@ -5635,8 +5635,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_120", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_120", @@ -5655,8 +5655,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_121", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_121", @@ -5675,8 +5675,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_122", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_122", @@ -5695,8 +5695,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_123", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_123", @@ -5715,8 +5715,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_124", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_124", @@ -5735,8 +5735,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_125", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_125", @@ -5755,8 +5755,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_126", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_126", @@ -5775,8 +5775,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_127", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_127", @@ -5795,8 +5795,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_128", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_128", @@ -5815,8 +5815,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_129", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_129", @@ -5835,8 +5835,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_130", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_130", @@ -5855,8 +5855,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_131", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_131", @@ -5875,8 +5875,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_132", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_132", @@ -5895,8 +5895,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_133", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_133", @@ -5915,8 +5915,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_134", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_134", @@ -5935,8 +5935,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_135", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_135", @@ -5955,8 +5955,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_136", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_136", @@ -5975,8 +5975,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_137", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_137", @@ -5995,8 +5995,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_138", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_138", @@ -6015,8 +6015,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_139", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_139", @@ -6035,8 +6035,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_140", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_140", @@ -6055,8 +6055,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_141", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_141", @@ -6075,8 +6075,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_142", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_142", @@ -6095,8 +6095,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_143", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_143", @@ -6115,8 +6115,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_144", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_144", @@ -6135,8 +6135,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_145", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_145", @@ -6155,8 +6155,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_146", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_146", @@ -6175,8 +6175,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_147", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_147", @@ -6195,8 +6195,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_148", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_148", @@ -6215,8 +6215,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_149", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_149", @@ -8311,8 +8311,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -8331,8 +8331,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -8351,8 +8351,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -8371,8 +8371,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -8391,8 +8391,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -8411,8 +8411,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -8431,8 +8431,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -8451,8 +8451,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -8471,8 +8471,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -8491,8 +8491,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -8511,8 +8511,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -8531,8 +8531,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -8551,8 +8551,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -8571,8 +8571,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -8591,8 +8591,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -8611,8 +8611,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -8631,8 +8631,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -8651,8 +8651,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -8671,8 +8671,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -8691,8 +8691,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -8711,8 +8711,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -8731,8 +8731,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -8751,8 +8751,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -8771,8 +8771,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -8791,8 +8791,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -8811,8 +8811,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -8831,8 +8831,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -8851,8 +8851,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -8871,8 +8871,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -8891,8 +8891,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -8911,8 +8911,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -8931,8 +8931,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -8951,8 +8951,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -8971,8 +8971,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -8991,8 +8991,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -9011,8 +9011,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -9031,8 +9031,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -9051,8 +9051,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -9071,8 +9071,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -9091,8 +9091,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -9111,8 +9111,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -9131,8 +9131,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -9151,8 +9151,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -9171,8 +9171,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -9191,8 +9191,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -9211,8 +9211,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -9231,8 +9231,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -9251,8 +9251,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -9271,8 +9271,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -9291,8 +9291,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -9311,8 +9311,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -9331,8 +9331,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -9351,8 +9351,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -9371,8 +9371,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -9391,8 +9391,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -9411,8 +9411,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -9431,8 +9431,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -9451,8 +9451,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -9471,8 +9471,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -9491,8 +9491,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -9511,8 +9511,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -9531,8 +9531,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -9551,8 +9551,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -9571,8 +9571,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -9591,8 +9591,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -9611,8 +9611,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -9631,8 +9631,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -9651,8 +9651,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -9671,8 +9671,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -9691,8 +9691,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -9711,8 +9711,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -9731,8 +9731,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -9751,8 +9751,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -9771,8 +9771,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -9791,8 +9791,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -9811,8 +9811,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -9831,8 +9831,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -9851,8 +9851,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -9871,8 +9871,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -9891,8 +9891,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -9911,8 +9911,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -9931,8 +9931,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -9951,8 +9951,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -9971,8 +9971,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -9991,8 +9991,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -10011,8 +10011,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -10031,8 +10031,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -10051,8 +10051,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -10071,8 +10071,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -10091,8 +10091,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -10111,8 +10111,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -10131,8 +10131,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -10151,8 +10151,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -10171,8 +10171,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -10191,8 +10191,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -10211,8 +10211,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -10231,8 +10231,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -10251,8 +10251,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -10271,8 +10271,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -10291,8 +10291,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -10311,8 +10311,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_100", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_100", @@ -10331,8 +10331,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_101", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_101", @@ -10351,8 +10351,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_102", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_102", @@ -10371,8 +10371,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_103", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_103", @@ -10391,8 +10391,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_104", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_104", @@ -10411,8 +10411,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_105", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_105", @@ -10431,8 +10431,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_106", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_106", @@ -10451,8 +10451,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_107", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_107", @@ -10471,8 +10471,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_108", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_108", @@ -10491,8 +10491,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_109", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_109", @@ -10511,8 +10511,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_110", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_110", @@ -10531,8 +10531,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_111", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_111", @@ -10551,8 +10551,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_112", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_112", @@ -10571,8 +10571,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_113", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_113", @@ -10591,8 +10591,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_114", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_114", @@ -10611,8 +10611,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_115", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_115", @@ -10631,8 +10631,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_116", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_116", @@ -10651,8 +10651,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_117", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_117", @@ -10671,8 +10671,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_118", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_118", @@ -10691,8 +10691,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_119", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_119", @@ -10711,8 +10711,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_120", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_120", @@ -10731,8 +10731,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_121", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_121", @@ -10751,8 +10751,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_122", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_122", @@ -10771,8 +10771,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_123", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_123", @@ -10791,8 +10791,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_124", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_124", @@ -10811,8 +10811,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_125", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_125", @@ -10831,8 +10831,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_126", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_126", @@ -10851,8 +10851,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_127", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_127", @@ -10871,8 +10871,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_128", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_128", @@ -10891,8 +10891,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_129", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_129", @@ -10911,8 +10911,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_130", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_130", @@ -10931,8 +10931,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_131", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_131", @@ -10951,8 +10951,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_132", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_132", @@ -10971,8 +10971,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_133", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_133", @@ -10991,8 +10991,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_134", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_134", @@ -11011,8 +11011,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_135", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_135", @@ -11031,8 +11031,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_136", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_136", @@ -11051,8 +11051,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_137", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_137", @@ -11071,8 +11071,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_138", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_138", @@ -11091,8 +11091,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_139", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_139", @@ -11111,8 +11111,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_140", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_140", @@ -11131,8 +11131,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_141", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_141", @@ -11151,8 +11151,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_142", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_142", @@ -11171,8 +11171,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_143", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_143", @@ -11191,8 +11191,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_144", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_144", @@ -11211,8 +11211,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_145", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_145", @@ -11231,8 +11231,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_146", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_146", @@ -11251,8 +11251,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_147", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_147", @@ -11271,8 +11271,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_148", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_148", @@ -11291,8 +11291,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_149", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_149", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js index d963afd5c9a..dd75348fad1 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js @@ -2657,8 +2657,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "declare", "sortText": "16", - "hasAction": true, "source": "/lib/foo/constants", + "hasAction": true, "data": { "exportName": "export=", "exportMapKey": "3 * exp ", @@ -2670,8 +2670,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -2690,8 +2690,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -2710,8 +2710,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -2730,8 +2730,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -2750,8 +2750,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -2770,8 +2770,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -2790,8 +2790,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -2810,8 +2810,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -2830,8 +2830,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -2850,8 +2850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -2870,8 +2870,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -2890,8 +2890,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -2910,8 +2910,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -2930,8 +2930,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -2950,8 +2950,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -2970,8 +2970,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -2990,8 +2990,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -3010,8 +3010,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -3030,8 +3030,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -3050,8 +3050,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -3070,8 +3070,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -3090,8 +3090,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -3110,8 +3110,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -3130,8 +3130,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -3150,8 +3150,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -3170,8 +3170,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -3190,8 +3190,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -3210,8 +3210,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -3230,8 +3230,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -3250,8 +3250,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -3270,8 +3270,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -3290,8 +3290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -3310,8 +3310,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -3330,8 +3330,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -3350,8 +3350,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -3370,8 +3370,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -3390,8 +3390,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -3410,8 +3410,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -3430,8 +3430,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -3450,8 +3450,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -3470,8 +3470,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -3490,8 +3490,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -3510,8 +3510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -3530,8 +3530,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -3550,8 +3550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -3570,8 +3570,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -3590,8 +3590,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -3610,8 +3610,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -3630,8 +3630,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -3650,8 +3650,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -3670,8 +3670,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -3690,8 +3690,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -3710,8 +3710,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -3730,8 +3730,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -3750,8 +3750,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -3770,8 +3770,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -3790,8 +3790,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -3810,8 +3810,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -3830,8 +3830,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -3850,8 +3850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -3870,8 +3870,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -3890,8 +3890,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -3910,8 +3910,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -3930,8 +3930,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -3950,8 +3950,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -3970,8 +3970,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -3990,8 +3990,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -4010,8 +4010,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -4030,8 +4030,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -4050,8 +4050,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -4070,8 +4070,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -4090,8 +4090,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -4110,8 +4110,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -4130,8 +4130,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -4150,8 +4150,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -4170,8 +4170,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -4190,8 +4190,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -4210,8 +4210,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -4230,8 +4230,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -4250,8 +4250,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -4270,8 +4270,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -4290,8 +4290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -4310,8 +4310,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -4330,8 +4330,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -4350,8 +4350,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -4370,8 +4370,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -4390,8 +4390,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -4410,8 +4410,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -4430,8 +4430,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -4450,8 +4450,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -4470,8 +4470,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -4490,8 +4490,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -4510,8 +4510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -4530,8 +4530,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -4550,8 +4550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -4570,8 +4570,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -4590,8 +4590,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -4610,8 +4610,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -4630,8 +4630,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -4650,8 +4650,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -4670,8 +4670,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/lib/foo/constants", + "hasAction": true, "data": { "exportName": "SIGABRT", "exportMapKey": "7 * SIGABRT ", @@ -4683,8 +4683,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/lib/foo/constants", + "hasAction": true, "data": { "exportName": "SIGINT", "exportMapKey": "6 * SIGINT ", @@ -5713,8 +5713,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5733,8 +5733,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5753,8 +5753,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -5773,8 +5773,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -5793,8 +5793,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -5813,8 +5813,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -5833,8 +5833,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -5853,8 +5853,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -5873,8 +5873,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -5893,8 +5893,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -5913,8 +5913,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -5933,8 +5933,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -5953,8 +5953,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -5973,8 +5973,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -5993,8 +5993,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -6013,8 +6013,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -6033,8 +6033,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -6053,8 +6053,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -6073,8 +6073,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -6093,8 +6093,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -6113,8 +6113,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -6133,8 +6133,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -6153,8 +6153,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -6173,8 +6173,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -6193,8 +6193,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -6213,8 +6213,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -6233,8 +6233,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -6253,8 +6253,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -6273,8 +6273,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -6293,8 +6293,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -6313,8 +6313,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -6333,8 +6333,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -6353,8 +6353,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -6373,8 +6373,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -6393,8 +6393,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -6413,8 +6413,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -6433,8 +6433,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -6453,8 +6453,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -6473,8 +6473,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -6493,8 +6493,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -6513,8 +6513,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -6533,8 +6533,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -6553,8 +6553,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -6573,8 +6573,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -6593,8 +6593,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -6613,8 +6613,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -6633,8 +6633,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -6653,8 +6653,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -6673,8 +6673,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -6693,8 +6693,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -6713,8 +6713,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -6733,8 +6733,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -6753,8 +6753,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -6773,8 +6773,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -6793,8 +6793,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -6813,8 +6813,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -6833,8 +6833,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -6853,8 +6853,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -6873,8 +6873,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -6893,8 +6893,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -6913,8 +6913,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -6933,8 +6933,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -6953,8 +6953,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -6973,8 +6973,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -6993,8 +6993,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -7013,8 +7013,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -7033,8 +7033,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -7053,8 +7053,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -7073,8 +7073,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -7093,8 +7093,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -7113,8 +7113,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -7133,8 +7133,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -7153,8 +7153,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -7173,8 +7173,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -7193,8 +7193,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -7213,8 +7213,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -7233,8 +7233,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -7253,8 +7253,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -7273,8 +7273,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -7293,8 +7293,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -7313,8 +7313,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -7333,8 +7333,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -7353,8 +7353,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -7373,8 +7373,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -7393,8 +7393,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -7413,8 +7413,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -7433,8 +7433,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -7453,8 +7453,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -7473,8 +7473,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -7493,8 +7493,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -7513,8 +7513,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -7533,8 +7533,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -7553,8 +7553,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -7573,8 +7573,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -7593,8 +7593,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -7613,8 +7613,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -7633,8 +7633,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -7653,8 +7653,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -7673,8 +7673,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -7693,8 +7693,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -7713,8 +7713,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "./lib/foo/constants", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/foo/constants", @@ -7733,8 +7733,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "./lib/foo/constants", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/foo/constants", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js index 966a6e09f56..cb621640502 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js @@ -3439,8 +3439,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -3459,8 +3459,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -3479,8 +3479,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -3499,8 +3499,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -3519,8 +3519,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -3539,8 +3539,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -3559,8 +3559,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -3579,8 +3579,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -3599,8 +3599,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -3619,8 +3619,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -3639,8 +3639,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -3659,8 +3659,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -3679,8 +3679,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -3699,8 +3699,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -3719,8 +3719,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -3739,8 +3739,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -3759,8 +3759,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -3779,8 +3779,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -3799,8 +3799,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -3819,8 +3819,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -3839,8 +3839,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -3859,8 +3859,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -3879,8 +3879,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -3899,8 +3899,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -3919,8 +3919,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -3939,8 +3939,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -3959,8 +3959,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -3979,8 +3979,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -3999,8 +3999,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -4019,8 +4019,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -4039,8 +4039,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -4059,8 +4059,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -4079,8 +4079,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -4099,8 +4099,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -4119,8 +4119,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -4139,8 +4139,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -4159,8 +4159,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -4179,8 +4179,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -4199,8 +4199,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -4219,8 +4219,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -4239,8 +4239,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -4259,8 +4259,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -4279,8 +4279,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -4299,8 +4299,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -4319,8 +4319,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -4339,8 +4339,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -4359,8 +4359,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -4379,8 +4379,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -4399,8 +4399,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -4419,8 +4419,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -4439,8 +4439,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -4459,8 +4459,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -4479,8 +4479,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -4499,8 +4499,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -4519,8 +4519,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -4539,8 +4539,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -4559,8 +4559,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -4579,8 +4579,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -4599,8 +4599,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -4619,8 +4619,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -4639,8 +4639,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -4659,8 +4659,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -4679,8 +4679,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -4699,8 +4699,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -4719,8 +4719,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -4739,8 +4739,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -4759,8 +4759,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -4779,8 +4779,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -4799,8 +4799,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -4819,8 +4819,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -4839,8 +4839,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -4859,8 +4859,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -4879,8 +4879,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -4899,8 +4899,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -4919,8 +4919,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -4939,8 +4939,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -4959,8 +4959,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -4979,8 +4979,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -4999,8 +4999,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -5019,8 +5019,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -5039,8 +5039,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -5059,8 +5059,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -5079,8 +5079,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -5099,8 +5099,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -5119,8 +5119,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -5139,8 +5139,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -5159,8 +5159,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -5179,8 +5179,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -5199,8 +5199,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -5219,8 +5219,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -5239,8 +5239,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -5259,8 +5259,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -5279,8 +5279,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -5299,8 +5299,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -5319,8 +5319,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -5339,8 +5339,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -5359,8 +5359,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -5379,8 +5379,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -5399,8 +5399,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -5419,8 +5419,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -5439,8 +5439,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_0", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_0__0", @@ -5454,8 +5454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_1", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_1__0", @@ -5469,8 +5469,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_2", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_2__0", @@ -5484,8 +5484,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_3", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_3__0", @@ -5499,8 +5499,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_4", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_4__0", @@ -5514,8 +5514,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_5", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_5__0", @@ -5529,8 +5529,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_6", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_6__0", @@ -5544,8 +5544,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_7", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_7__0", @@ -5559,8 +5559,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_8", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_8__0", @@ -5574,8 +5574,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_9", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_9__0", @@ -5589,8 +5589,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_10", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_10__0", @@ -5604,8 +5604,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_11", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_11__0", @@ -5619,8 +5619,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_12", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_12__0", @@ -5634,8 +5634,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_13", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_13__0", @@ -5649,8 +5649,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_14", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_14__0", @@ -5664,8 +5664,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_15", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_15__0", @@ -5679,8 +5679,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_16", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_16__0", @@ -5694,8 +5694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_17", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_17__0", @@ -5709,8 +5709,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_18", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_18__0", @@ -5724,8 +5724,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_19", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_19__0", @@ -5739,8 +5739,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_20", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_20__0", @@ -5754,8 +5754,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_21", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_21__0", @@ -5769,8 +5769,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_22", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_22__0", @@ -5784,8 +5784,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_23", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_23__0", @@ -5799,8 +5799,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_24", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_24__0", @@ -5814,8 +5814,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_25", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_25__0", @@ -5829,8 +5829,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_26", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_26__0", @@ -5844,8 +5844,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_27", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_27__0", @@ -5859,8 +5859,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_28", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_28__0", @@ -5874,8 +5874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_29", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_29__0", @@ -5889,8 +5889,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_30", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_30__0", @@ -5904,8 +5904,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_31", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_31__0", @@ -5919,8 +5919,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_32", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_32__0", @@ -5934,8 +5934,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_33", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_33__0", @@ -5949,8 +5949,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_34", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_34__0", @@ -5964,8 +5964,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_35", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_35__0", @@ -5979,8 +5979,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_36", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_36__0", @@ -5994,8 +5994,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_37", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_37__0", @@ -6009,8 +6009,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_38", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_38__0", @@ -6024,8 +6024,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_39", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_39__0", @@ -6039,8 +6039,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_40", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_40__0", @@ -6054,8 +6054,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_41", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_41__0", @@ -6069,8 +6069,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_42", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_42__0", @@ -6084,8 +6084,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_43", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_43__0", @@ -6099,8 +6099,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_44", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_44__0", @@ -6114,8 +6114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_45", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_45__0", @@ -6129,8 +6129,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_46", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_46__0", @@ -6144,8 +6144,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_47", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_47__0", @@ -6159,8 +6159,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_48", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_48__0", @@ -6174,8 +6174,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/file_49", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "depA_49__0", @@ -6189,8 +6189,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/dep-a/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "default", @@ -7432,8 +7432,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -7452,8 +7452,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -7472,8 +7472,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -7492,8 +7492,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -7512,8 +7512,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -7532,8 +7532,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -7552,8 +7552,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -7572,8 +7572,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -7592,8 +7592,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -7612,8 +7612,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -7632,8 +7632,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -7652,8 +7652,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -7672,8 +7672,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -7692,8 +7692,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -7712,8 +7712,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -7732,8 +7732,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -7752,8 +7752,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -7772,8 +7772,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -7792,8 +7792,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -7812,8 +7812,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -7832,8 +7832,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -7852,8 +7852,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -7872,8 +7872,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -7892,8 +7892,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -7912,8 +7912,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -7932,8 +7932,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -7952,8 +7952,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -7972,8 +7972,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -7992,8 +7992,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -8012,8 +8012,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -8032,8 +8032,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -8052,8 +8052,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -8072,8 +8072,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -8092,8 +8092,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -8112,8 +8112,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -8132,8 +8132,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -8152,8 +8152,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -8172,8 +8172,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -8192,8 +8192,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -8212,8 +8212,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -8232,8 +8232,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -8252,8 +8252,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -8272,8 +8272,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -8292,8 +8292,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -8312,8 +8312,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -8332,8 +8332,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -8352,8 +8352,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -8372,8 +8372,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -8392,8 +8392,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -8412,8 +8412,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -8432,8 +8432,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -8452,8 +8452,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -8472,8 +8472,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -8492,8 +8492,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -8512,8 +8512,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -8532,8 +8532,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -8552,8 +8552,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -8572,8 +8572,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -8592,8 +8592,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -8612,8 +8612,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -8632,8 +8632,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -8652,8 +8652,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -8672,8 +8672,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -8692,8 +8692,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -8712,8 +8712,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -8732,8 +8732,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -8752,8 +8752,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -8772,8 +8772,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -8792,8 +8792,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -8812,8 +8812,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -8832,8 +8832,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -8852,8 +8852,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -8872,8 +8872,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -8892,8 +8892,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -8912,8 +8912,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -8932,8 +8932,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -8952,8 +8952,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -8972,8 +8972,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -8992,8 +8992,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -9012,8 +9012,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -9032,8 +9032,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -9052,8 +9052,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -9072,8 +9072,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -9092,8 +9092,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -9112,8 +9112,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -9132,8 +9132,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -9152,8 +9152,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -9172,8 +9172,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -9192,8 +9192,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -9212,8 +9212,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -9232,8 +9232,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -9252,8 +9252,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -9272,8 +9272,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -9292,8 +9292,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -9312,8 +9312,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -9332,8 +9332,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -9352,8 +9352,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -9372,8 +9372,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -9392,8 +9392,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -9412,8 +9412,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -9432,8 +9432,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9454,8 +9454,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9476,8 +9476,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9498,8 +9498,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9520,8 +9520,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9542,8 +9542,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9564,8 +9564,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9586,8 +9586,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9608,8 +9608,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9630,8 +9630,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9652,8 +9652,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9674,8 +9674,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9696,8 +9696,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9718,8 +9718,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9740,8 +9740,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9762,8 +9762,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9784,8 +9784,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9806,8 +9806,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9828,8 +9828,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9850,8 +9850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9872,8 +9872,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9894,8 +9894,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9916,8 +9916,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9938,8 +9938,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9960,8 +9960,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -9982,8 +9982,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10004,8 +10004,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10026,8 +10026,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10048,8 +10048,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10070,8 +10070,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10092,8 +10092,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10114,8 +10114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10136,8 +10136,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10158,8 +10158,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10180,8 +10180,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10202,8 +10202,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10224,8 +10224,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10246,8 +10246,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10268,8 +10268,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10290,8 +10290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10312,8 +10312,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10334,8 +10334,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10356,8 +10356,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10378,8 +10378,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10400,8 +10400,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10422,8 +10422,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10444,8 +10444,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10466,8 +10466,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10488,8 +10488,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", @@ -10510,8 +10510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "dep-a", + "hasAction": true, "sourceDisplay": [ { "text": "dep-a", diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works.js b/tests/baselines/reference/tsserver/completionsIncomplete/works.js index 689860fd9f2..84f4b6be5b3 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works.js @@ -5485,8 +5485,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -5505,8 +5505,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -5525,8 +5525,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_2", + "hasAction": true, "data": { "exportName": "aa_2__0", "exportMapKey": "7 * aa_2__0 ", @@ -5538,8 +5538,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_3", + "hasAction": true, "data": { "exportName": "aa_3__0", "exportMapKey": "7 * aa_3__0 ", @@ -5551,8 +5551,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_4", + "hasAction": true, "data": { "exportName": "aa_4__0", "exportMapKey": "7 * aa_4__0 ", @@ -5564,8 +5564,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_5", + "hasAction": true, "data": { "exportName": "aa_5__0", "exportMapKey": "7 * aa_5__0 ", @@ -5577,8 +5577,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_6", + "hasAction": true, "data": { "exportName": "aa_6__0", "exportMapKey": "7 * aa_6__0 ", @@ -5590,8 +5590,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_7", + "hasAction": true, "data": { "exportName": "aa_7__0", "exportMapKey": "7 * aa_7__0 ", @@ -5603,8 +5603,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_8", + "hasAction": true, "data": { "exportName": "aa_8__0", "exportMapKey": "7 * aa_8__0 ", @@ -5616,8 +5616,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_9", + "hasAction": true, "data": { "exportName": "aa_9__0", "exportMapKey": "7 * aa_9__0 ", @@ -5629,8 +5629,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -5649,8 +5649,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -5669,8 +5669,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -5689,8 +5689,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -5709,8 +5709,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -5729,8 +5729,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -5749,8 +5749,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -5769,8 +5769,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -5789,8 +5789,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -5809,8 +5809,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_19", + "hasAction": true, "data": { "exportName": "aa_19__0", "exportMapKey": "8 * aa_19__0 ", @@ -5822,8 +5822,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_20", + "hasAction": true, "data": { "exportName": "aa_20__0", "exportMapKey": "8 * aa_20__0 ", @@ -5835,8 +5835,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_21", + "hasAction": true, "data": { "exportName": "aa_21__0", "exportMapKey": "8 * aa_21__0 ", @@ -5848,8 +5848,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_22", + "hasAction": true, "data": { "exportName": "aa_22__0", "exportMapKey": "8 * aa_22__0 ", @@ -5861,8 +5861,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_23", + "hasAction": true, "data": { "exportName": "aa_23__0", "exportMapKey": "8 * aa_23__0 ", @@ -5874,8 +5874,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_24", + "hasAction": true, "data": { "exportName": "aa_24__0", "exportMapKey": "8 * aa_24__0 ", @@ -5887,8 +5887,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_25", + "hasAction": true, "data": { "exportName": "aa_25__0", "exportMapKey": "8 * aa_25__0 ", @@ -5900,8 +5900,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_26", + "hasAction": true, "data": { "exportName": "aa_26__0", "exportMapKey": "8 * aa_26__0 ", @@ -5913,8 +5913,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_27", + "hasAction": true, "data": { "exportName": "aa_27__0", "exportMapKey": "8 * aa_27__0 ", @@ -5926,8 +5926,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_28", + "hasAction": true, "data": { "exportName": "aa_28__0", "exportMapKey": "8 * aa_28__0 ", @@ -5939,8 +5939,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_29", + "hasAction": true, "data": { "exportName": "aa_29__0", "exportMapKey": "8 * aa_29__0 ", @@ -5952,8 +5952,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_30", + "hasAction": true, "data": { "exportName": "aa_30__0", "exportMapKey": "8 * aa_30__0 ", @@ -5965,8 +5965,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_31", + "hasAction": true, "data": { "exportName": "aa_31__0", "exportMapKey": "8 * aa_31__0 ", @@ -5978,8 +5978,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_32", + "hasAction": true, "data": { "exportName": "aa_32__0", "exportMapKey": "8 * aa_32__0 ", @@ -5991,8 +5991,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_33", + "hasAction": true, "data": { "exportName": "aa_33__0", "exportMapKey": "8 * aa_33__0 ", @@ -6004,8 +6004,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_34", + "hasAction": true, "data": { "exportName": "aa_34__0", "exportMapKey": "8 * aa_34__0 ", @@ -6017,8 +6017,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_35", + "hasAction": true, "data": { "exportName": "aa_35__0", "exportMapKey": "8 * aa_35__0 ", @@ -6030,8 +6030,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_36", + "hasAction": true, "data": { "exportName": "aa_36__0", "exportMapKey": "8 * aa_36__0 ", @@ -6043,8 +6043,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_37", + "hasAction": true, "data": { "exportName": "aa_37__0", "exportMapKey": "8 * aa_37__0 ", @@ -6056,8 +6056,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_38", + "hasAction": true, "data": { "exportName": "aa_38__0", "exportMapKey": "8 * aa_38__0 ", @@ -6069,8 +6069,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_39", + "hasAction": true, "data": { "exportName": "aa_39__0", "exportMapKey": "8 * aa_39__0 ", @@ -6082,8 +6082,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_40", + "hasAction": true, "data": { "exportName": "aa_40__0", "exportMapKey": "8 * aa_40__0 ", @@ -6095,8 +6095,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_41", + "hasAction": true, "data": { "exportName": "aa_41__0", "exportMapKey": "8 * aa_41__0 ", @@ -6108,8 +6108,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_42", + "hasAction": true, "data": { "exportName": "aa_42__0", "exportMapKey": "8 * aa_42__0 ", @@ -6121,8 +6121,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_43", + "hasAction": true, "data": { "exportName": "aa_43__0", "exportMapKey": "8 * aa_43__0 ", @@ -6134,8 +6134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_44", + "hasAction": true, "data": { "exportName": "aa_44__0", "exportMapKey": "8 * aa_44__0 ", @@ -6147,8 +6147,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_45", + "hasAction": true, "data": { "exportName": "aa_45__0", "exportMapKey": "8 * aa_45__0 ", @@ -6160,8 +6160,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_46", + "hasAction": true, "data": { "exportName": "aa_46__0", "exportMapKey": "8 * aa_46__0 ", @@ -6173,8 +6173,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_47", + "hasAction": true, "data": { "exportName": "aa_47__0", "exportMapKey": "8 * aa_47__0 ", @@ -6186,8 +6186,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_48", + "hasAction": true, "data": { "exportName": "aa_48__0", "exportMapKey": "8 * aa_48__0 ", @@ -6199,8 +6199,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_49", + "hasAction": true, "data": { "exportName": "aa_49__0", "exportMapKey": "8 * aa_49__0 ", @@ -6212,8 +6212,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_50", + "hasAction": true, "data": { "exportName": "aa_50__0", "exportMapKey": "8 * aa_50__0 ", @@ -6225,8 +6225,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_51", + "hasAction": true, "data": { "exportName": "aa_51__0", "exportMapKey": "8 * aa_51__0 ", @@ -6238,8 +6238,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_52", + "hasAction": true, "data": { "exportName": "aa_52__0", "exportMapKey": "8 * aa_52__0 ", @@ -6251,8 +6251,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_53", + "hasAction": true, "data": { "exportName": "aa_53__0", "exportMapKey": "8 * aa_53__0 ", @@ -6264,8 +6264,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_54", + "hasAction": true, "data": { "exportName": "aa_54__0", "exportMapKey": "8 * aa_54__0 ", @@ -6277,8 +6277,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_55", + "hasAction": true, "data": { "exportName": "aa_55__0", "exportMapKey": "8 * aa_55__0 ", @@ -6290,8 +6290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_56", + "hasAction": true, "data": { "exportName": "aa_56__0", "exportMapKey": "8 * aa_56__0 ", @@ -6303,8 +6303,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_57", + "hasAction": true, "data": { "exportName": "aa_57__0", "exportMapKey": "8 * aa_57__0 ", @@ -6316,8 +6316,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_58", + "hasAction": true, "data": { "exportName": "aa_58__0", "exportMapKey": "8 * aa_58__0 ", @@ -6329,8 +6329,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_59", + "hasAction": true, "data": { "exportName": "aa_59__0", "exportMapKey": "8 * aa_59__0 ", @@ -6342,8 +6342,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_60", + "hasAction": true, "data": { "exportName": "aa_60__0", "exportMapKey": "8 * aa_60__0 ", @@ -6355,8 +6355,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_61", + "hasAction": true, "data": { "exportName": "aa_61__0", "exportMapKey": "8 * aa_61__0 ", @@ -6368,8 +6368,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_62", + "hasAction": true, "data": { "exportName": "aa_62__0", "exportMapKey": "8 * aa_62__0 ", @@ -6381,8 +6381,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_63", + "hasAction": true, "data": { "exportName": "aa_63__0", "exportMapKey": "8 * aa_63__0 ", @@ -6394,8 +6394,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_64", + "hasAction": true, "data": { "exportName": "aa_64__0", "exportMapKey": "8 * aa_64__0 ", @@ -6407,8 +6407,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_65", + "hasAction": true, "data": { "exportName": "aa_65__0", "exportMapKey": "8 * aa_65__0 ", @@ -6420,8 +6420,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_66", + "hasAction": true, "data": { "exportName": "aa_66__0", "exportMapKey": "8 * aa_66__0 ", @@ -6433,8 +6433,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_67", + "hasAction": true, "data": { "exportName": "aa_67__0", "exportMapKey": "8 * aa_67__0 ", @@ -6446,8 +6446,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_68", + "hasAction": true, "data": { "exportName": "aa_68__0", "exportMapKey": "8 * aa_68__0 ", @@ -6459,8 +6459,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_69", + "hasAction": true, "data": { "exportName": "aa_69__0", "exportMapKey": "8 * aa_69__0 ", @@ -6472,8 +6472,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_70", + "hasAction": true, "data": { "exportName": "aa_70__0", "exportMapKey": "8 * aa_70__0 ", @@ -6485,8 +6485,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_71", + "hasAction": true, "data": { "exportName": "aa_71__0", "exportMapKey": "8 * aa_71__0 ", @@ -6498,8 +6498,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_72", + "hasAction": true, "data": { "exportName": "aa_72__0", "exportMapKey": "8 * aa_72__0 ", @@ -6511,8 +6511,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_73", + "hasAction": true, "data": { "exportName": "aa_73__0", "exportMapKey": "8 * aa_73__0 ", @@ -6524,8 +6524,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_74", + "hasAction": true, "data": { "exportName": "aa_74__0", "exportMapKey": "8 * aa_74__0 ", @@ -6537,8 +6537,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_75", + "hasAction": true, "data": { "exportName": "aa_75__0", "exportMapKey": "8 * aa_75__0 ", @@ -6550,8 +6550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_76", + "hasAction": true, "data": { "exportName": "aa_76__0", "exportMapKey": "8 * aa_76__0 ", @@ -6563,8 +6563,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_77", + "hasAction": true, "data": { "exportName": "aa_77__0", "exportMapKey": "8 * aa_77__0 ", @@ -6576,8 +6576,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_78", + "hasAction": true, "data": { "exportName": "aa_78__0", "exportMapKey": "8 * aa_78__0 ", @@ -6589,8 +6589,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_79", + "hasAction": true, "data": { "exportName": "aa_79__0", "exportMapKey": "8 * aa_79__0 ", @@ -6602,8 +6602,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_80", + "hasAction": true, "data": { "exportName": "aa_80__0", "exportMapKey": "8 * aa_80__0 ", @@ -6615,8 +6615,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_81", + "hasAction": true, "data": { "exportName": "aa_81__0", "exportMapKey": "8 * aa_81__0 ", @@ -6628,8 +6628,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_82", + "hasAction": true, "data": { "exportName": "aa_82__0", "exportMapKey": "8 * aa_82__0 ", @@ -6641,8 +6641,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_83", + "hasAction": true, "data": { "exportName": "aa_83__0", "exportMapKey": "8 * aa_83__0 ", @@ -6654,8 +6654,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_84", + "hasAction": true, "data": { "exportName": "aa_84__0", "exportMapKey": "8 * aa_84__0 ", @@ -6667,8 +6667,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_85", + "hasAction": true, "data": { "exportName": "aa_85__0", "exportMapKey": "8 * aa_85__0 ", @@ -6680,8 +6680,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_86", + "hasAction": true, "data": { "exportName": "aa_86__0", "exportMapKey": "8 * aa_86__0 ", @@ -6693,8 +6693,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_87", + "hasAction": true, "data": { "exportName": "aa_87__0", "exportMapKey": "8 * aa_87__0 ", @@ -6706,8 +6706,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_88", + "hasAction": true, "data": { "exportName": "aa_88__0", "exportMapKey": "8 * aa_88__0 ", @@ -6719,8 +6719,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_89", + "hasAction": true, "data": { "exportName": "aa_89__0", "exportMapKey": "8 * aa_89__0 ", @@ -6732,8 +6732,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_90", + "hasAction": true, "data": { "exportName": "aa_90__0", "exportMapKey": "8 * aa_90__0 ", @@ -6745,8 +6745,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_91", + "hasAction": true, "data": { "exportName": "aa_91__0", "exportMapKey": "8 * aa_91__0 ", @@ -6758,8 +6758,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_92", + "hasAction": true, "data": { "exportName": "aa_92__0", "exportMapKey": "8 * aa_92__0 ", @@ -6771,8 +6771,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_93", + "hasAction": true, "data": { "exportName": "aa_93__0", "exportMapKey": "8 * aa_93__0 ", @@ -6784,8 +6784,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_94", + "hasAction": true, "data": { "exportName": "aa_94__0", "exportMapKey": "8 * aa_94__0 ", @@ -6797,8 +6797,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_95", + "hasAction": true, "data": { "exportName": "aa_95__0", "exportMapKey": "8 * aa_95__0 ", @@ -6810,8 +6810,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_96", + "hasAction": true, "data": { "exportName": "aa_96__0", "exportMapKey": "8 * aa_96__0 ", @@ -6823,8 +6823,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_97", + "hasAction": true, "data": { "exportName": "aa_97__0", "exportMapKey": "8 * aa_97__0 ", @@ -6836,8 +6836,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_98", + "hasAction": true, "data": { "exportName": "aa_98__0", "exportMapKey": "8 * aa_98__0 ", @@ -6849,8 +6849,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_99", + "hasAction": true, "data": { "exportName": "aa_99__0", "exportMapKey": "8 * aa_99__0 ", @@ -6862,8 +6862,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_100", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_100", @@ -6882,8 +6882,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_101", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_101", @@ -6902,8 +6902,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_102", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_102", @@ -6922,8 +6922,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_103", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_103", @@ -6942,8 +6942,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_104", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_104", @@ -6962,8 +6962,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_105", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_105", @@ -6982,8 +6982,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_106", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_106", @@ -7002,8 +7002,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_107", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_107", @@ -7022,8 +7022,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_108", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_108", @@ -7042,8 +7042,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_109", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_109", @@ -7062,8 +7062,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_110", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_110", @@ -7082,8 +7082,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_111", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_111", @@ -7102,8 +7102,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_112", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_112", @@ -7122,8 +7122,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_113", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_113", @@ -7142,8 +7142,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_114", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_114", @@ -7162,8 +7162,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_115", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_115", @@ -7182,8 +7182,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_116", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_116", @@ -7202,8 +7202,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_117", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_117", @@ -7222,8 +7222,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_118", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_118", @@ -7242,8 +7242,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_119", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_119", @@ -7262,8 +7262,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_120", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_120", @@ -7282,8 +7282,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_121", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_121", @@ -7302,8 +7302,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_122", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_122", @@ -7322,8 +7322,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_123", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_123", @@ -7342,8 +7342,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_124", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_124", @@ -7362,8 +7362,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_125", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_125", @@ -7382,8 +7382,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_126", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_126", @@ -7402,8 +7402,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_127", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_127", @@ -7422,8 +7422,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_128", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_128", @@ -7442,8 +7442,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_129", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_129", @@ -7462,8 +7462,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_130", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_130", @@ -7482,8 +7482,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_131", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_131", @@ -7502,8 +7502,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_132", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_132", @@ -7522,8 +7522,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_133", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_133", @@ -7542,8 +7542,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_134", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_134", @@ -7562,8 +7562,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_135", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_135", @@ -7582,8 +7582,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_136", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_136", @@ -7602,8 +7602,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_137", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_137", @@ -7622,8 +7622,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_138", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_138", @@ -7642,8 +7642,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_139", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_139", @@ -7662,8 +7662,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_140", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_140", @@ -7682,8 +7682,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_141", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_141", @@ -7702,8 +7702,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_142", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_142", @@ -7722,8 +7722,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_143", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_143", @@ -7742,8 +7742,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_144", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_144", @@ -7762,8 +7762,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_145", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_145", @@ -7782,8 +7782,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_146", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_146", @@ -7802,8 +7802,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_147", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_147", @@ -7822,8 +7822,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_148", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_148", @@ -7842,8 +7842,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_149", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_149", @@ -7862,8 +7862,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_150", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_150", @@ -7882,8 +7882,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_151", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_151", @@ -7902,8 +7902,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_152", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_152", @@ -7922,8 +7922,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_153", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_153", @@ -7942,8 +7942,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_154", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_154", @@ -7962,8 +7962,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_155", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_155", @@ -7982,8 +7982,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_156", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_156", @@ -8002,8 +8002,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_157", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_157", @@ -8022,8 +8022,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_158", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_158", @@ -8042,8 +8042,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_159", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_159", @@ -8062,8 +8062,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_160", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_160", @@ -8082,8 +8082,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_161", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_161", @@ -8102,8 +8102,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_162", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_162", @@ -8122,8 +8122,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_163", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_163", @@ -8142,8 +8142,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_164", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_164", @@ -8162,8 +8162,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_165", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_165", @@ -8182,8 +8182,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_166", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_166", @@ -8202,8 +8202,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_167", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_167", @@ -8222,8 +8222,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_168", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_168", @@ -8242,8 +8242,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_169", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_169", @@ -8262,8 +8262,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_170", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_170", @@ -8282,8 +8282,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_171", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_171", @@ -8302,8 +8302,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_172", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_172", @@ -8322,8 +8322,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_173", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_173", @@ -8342,8 +8342,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_174", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_174", @@ -8362,8 +8362,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_175", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_175", @@ -8382,8 +8382,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_176", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_176", @@ -8402,8 +8402,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_177", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_177", @@ -8422,8 +8422,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_178", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_178", @@ -8442,8 +8442,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_179", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_179", @@ -8462,8 +8462,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_180", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_180", @@ -8482,8 +8482,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_181", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_181", @@ -8502,8 +8502,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_182", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_182", @@ -8522,8 +8522,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_183", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_183", @@ -8542,8 +8542,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_184", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_184", @@ -8562,8 +8562,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_185", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_185", @@ -8582,8 +8582,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_186", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_186", @@ -8602,8 +8602,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_187", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_187", @@ -8622,8 +8622,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_188", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_188", @@ -8642,8 +8642,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_189", + "hasAction": true, "data": { "exportName": "aa_189__0", "exportMapKey": "9 * aa_189__0 ", @@ -8655,8 +8655,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_190", + "hasAction": true, "data": { "exportName": "aa_190__0", "exportMapKey": "9 * aa_190__0 ", @@ -8668,8 +8668,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_191", + "hasAction": true, "data": { "exportName": "aa_191__0", "exportMapKey": "9 * aa_191__0 ", @@ -8681,8 +8681,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_192", + "hasAction": true, "data": { "exportName": "aa_192__0", "exportMapKey": "9 * aa_192__0 ", @@ -8694,8 +8694,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_193", + "hasAction": true, "data": { "exportName": "aa_193__0", "exportMapKey": "9 * aa_193__0 ", @@ -8707,8 +8707,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_194", + "hasAction": true, "data": { "exportName": "aa_194__0", "exportMapKey": "9 * aa_194__0 ", @@ -8720,8 +8720,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_195", + "hasAction": true, "data": { "exportName": "aa_195__0", "exportMapKey": "9 * aa_195__0 ", @@ -8733,8 +8733,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_196", + "hasAction": true, "data": { "exportName": "aa_196__0", "exportMapKey": "9 * aa_196__0 ", @@ -8746,8 +8746,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_197", + "hasAction": true, "data": { "exportName": "aa_197__0", "exportMapKey": "9 * aa_197__0 ", @@ -8759,8 +8759,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_198", + "hasAction": true, "data": { "exportName": "aa_198__0", "exportMapKey": "9 * aa_198__0 ", @@ -8772,8 +8772,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_199", + "hasAction": true, "data": { "exportName": "aa_199__0", "exportMapKey": "9 * aa_199__0 ", @@ -8785,8 +8785,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_200", + "hasAction": true, "data": { "exportName": "aa_200__0", "exportMapKey": "9 * aa_200__0 ", @@ -8798,8 +8798,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_201", + "hasAction": true, "data": { "exportName": "aa_201__0", "exportMapKey": "9 * aa_201__0 ", @@ -8811,8 +8811,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_202", + "hasAction": true, "data": { "exportName": "aa_202__0", "exportMapKey": "9 * aa_202__0 ", @@ -8824,8 +8824,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_203", + "hasAction": true, "data": { "exportName": "aa_203__0", "exportMapKey": "9 * aa_203__0 ", @@ -8837,8 +8837,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_204", + "hasAction": true, "data": { "exportName": "aa_204__0", "exportMapKey": "9 * aa_204__0 ", @@ -8850,8 +8850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_205", + "hasAction": true, "data": { "exportName": "aa_205__0", "exportMapKey": "9 * aa_205__0 ", @@ -8863,8 +8863,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_206", + "hasAction": true, "data": { "exportName": "aa_206__0", "exportMapKey": "9 * aa_206__0 ", @@ -8876,8 +8876,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_207", + "hasAction": true, "data": { "exportName": "aa_207__0", "exportMapKey": "9 * aa_207__0 ", @@ -8889,8 +8889,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_208", + "hasAction": true, "data": { "exportName": "aa_208__0", "exportMapKey": "9 * aa_208__0 ", @@ -8902,8 +8902,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_209", + "hasAction": true, "data": { "exportName": "aa_209__0", "exportMapKey": "9 * aa_209__0 ", @@ -8915,8 +8915,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_210", + "hasAction": true, "data": { "exportName": "aa_210__0", "exportMapKey": "9 * aa_210__0 ", @@ -8928,8 +8928,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_211", + "hasAction": true, "data": { "exportName": "aa_211__0", "exportMapKey": "9 * aa_211__0 ", @@ -8941,8 +8941,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_212", + "hasAction": true, "data": { "exportName": "aa_212__0", "exportMapKey": "9 * aa_212__0 ", @@ -8954,8 +8954,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_213", + "hasAction": true, "data": { "exportName": "aa_213__0", "exportMapKey": "9 * aa_213__0 ", @@ -8967,8 +8967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_214", + "hasAction": true, "data": { "exportName": "aa_214__0", "exportMapKey": "9 * aa_214__0 ", @@ -8980,8 +8980,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_215", + "hasAction": true, "data": { "exportName": "aa_215__0", "exportMapKey": "9 * aa_215__0 ", @@ -8993,8 +8993,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_216", + "hasAction": true, "data": { "exportName": "aa_216__0", "exportMapKey": "9 * aa_216__0 ", @@ -9006,8 +9006,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_217", + "hasAction": true, "data": { "exportName": "aa_217__0", "exportMapKey": "9 * aa_217__0 ", @@ -9019,8 +9019,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_218", + "hasAction": true, "data": { "exportName": "aa_218__0", "exportMapKey": "9 * aa_218__0 ", @@ -9032,8 +9032,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_219", + "hasAction": true, "data": { "exportName": "aa_219__0", "exportMapKey": "9 * aa_219__0 ", @@ -9045,8 +9045,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_220", + "hasAction": true, "data": { "exportName": "aa_220__0", "exportMapKey": "9 * aa_220__0 ", @@ -9058,8 +9058,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_221", + "hasAction": true, "data": { "exportName": "aa_221__0", "exportMapKey": "9 * aa_221__0 ", @@ -9071,8 +9071,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_222", + "hasAction": true, "data": { "exportName": "aa_222__0", "exportMapKey": "9 * aa_222__0 ", @@ -9084,8 +9084,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_223", + "hasAction": true, "data": { "exportName": "aa_223__0", "exportMapKey": "9 * aa_223__0 ", @@ -9097,8 +9097,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_224", + "hasAction": true, "data": { "exportName": "aa_224__0", "exportMapKey": "9 * aa_224__0 ", @@ -9110,8 +9110,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_225", + "hasAction": true, "data": { "exportName": "aa_225__0", "exportMapKey": "9 * aa_225__0 ", @@ -9123,8 +9123,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_226", + "hasAction": true, "data": { "exportName": "aa_226__0", "exportMapKey": "9 * aa_226__0 ", @@ -9136,8 +9136,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_227", + "hasAction": true, "data": { "exportName": "aa_227__0", "exportMapKey": "9 * aa_227__0 ", @@ -9149,8 +9149,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_228", + "hasAction": true, "data": { "exportName": "aa_228__0", "exportMapKey": "9 * aa_228__0 ", @@ -9162,8 +9162,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_229", + "hasAction": true, "data": { "exportName": "aa_229__0", "exportMapKey": "9 * aa_229__0 ", @@ -9175,8 +9175,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_230", + "hasAction": true, "data": { "exportName": "aa_230__0", "exportMapKey": "9 * aa_230__0 ", @@ -9188,8 +9188,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_231", + "hasAction": true, "data": { "exportName": "aa_231__0", "exportMapKey": "9 * aa_231__0 ", @@ -9201,8 +9201,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_232", + "hasAction": true, "data": { "exportName": "aa_232__0", "exportMapKey": "9 * aa_232__0 ", @@ -9214,8 +9214,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_233", + "hasAction": true, "data": { "exportName": "aa_233__0", "exportMapKey": "9 * aa_233__0 ", @@ -9227,8 +9227,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_234", + "hasAction": true, "data": { "exportName": "aa_234__0", "exportMapKey": "9 * aa_234__0 ", @@ -9240,8 +9240,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_235", + "hasAction": true, "data": { "exportName": "aa_235__0", "exportMapKey": "9 * aa_235__0 ", @@ -9253,8 +9253,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_236", + "hasAction": true, "data": { "exportName": "aa_236__0", "exportMapKey": "9 * aa_236__0 ", @@ -9266,8 +9266,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_237", + "hasAction": true, "data": { "exportName": "aa_237__0", "exportMapKey": "9 * aa_237__0 ", @@ -9279,8 +9279,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_238", + "hasAction": true, "data": { "exportName": "aa_238__0", "exportMapKey": "9 * aa_238__0 ", @@ -9292,8 +9292,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_239", + "hasAction": true, "data": { "exportName": "aa_239__0", "exportMapKey": "9 * aa_239__0 ", @@ -9305,8 +9305,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_240", + "hasAction": true, "data": { "exportName": "aa_240__0", "exportMapKey": "9 * aa_240__0 ", @@ -9318,8 +9318,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_241", + "hasAction": true, "data": { "exportName": "aa_241__0", "exportMapKey": "9 * aa_241__0 ", @@ -9331,8 +9331,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_242", + "hasAction": true, "data": { "exportName": "aa_242__0", "exportMapKey": "9 * aa_242__0 ", @@ -9344,8 +9344,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_243", + "hasAction": true, "data": { "exportName": "aa_243__0", "exportMapKey": "9 * aa_243__0 ", @@ -9357,8 +9357,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_244", + "hasAction": true, "data": { "exportName": "aa_244__0", "exportMapKey": "9 * aa_244__0 ", @@ -9370,8 +9370,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_245", + "hasAction": true, "data": { "exportName": "aa_245__0", "exportMapKey": "9 * aa_245__0 ", @@ -9383,8 +9383,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_246", + "hasAction": true, "data": { "exportName": "aa_246__0", "exportMapKey": "9 * aa_246__0 ", @@ -9396,8 +9396,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_247", + "hasAction": true, "data": { "exportName": "aa_247__0", "exportMapKey": "9 * aa_247__0 ", @@ -9409,8 +9409,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_248", + "hasAction": true, "data": { "exportName": "aa_248__0", "exportMapKey": "9 * aa_248__0 ", @@ -9422,8 +9422,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_249", + "hasAction": true, "data": { "exportName": "aa_249__0", "exportMapKey": "9 * aa_249__0 ", @@ -11198,8 +11198,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -11218,8 +11218,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -11238,8 +11238,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -11258,8 +11258,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -11278,8 +11278,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -11298,8 +11298,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -11318,8 +11318,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -11338,8 +11338,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -11358,8 +11358,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -11378,8 +11378,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -11398,8 +11398,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -11418,8 +11418,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -11438,8 +11438,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -11458,8 +11458,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -11478,8 +11478,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -11498,8 +11498,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -11518,8 +11518,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -11538,8 +11538,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -11558,8 +11558,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -11578,8 +11578,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -11598,8 +11598,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -11618,8 +11618,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -11638,8 +11638,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -11658,8 +11658,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -11678,8 +11678,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -11698,8 +11698,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -11718,8 +11718,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -11738,8 +11738,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -11758,8 +11758,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -11778,8 +11778,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -11798,8 +11798,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -11818,8 +11818,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -11838,8 +11838,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -11858,8 +11858,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -11878,8 +11878,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -11898,8 +11898,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -11918,8 +11918,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -11938,8 +11938,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -11958,8 +11958,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -11978,8 +11978,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -11998,8 +11998,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -12018,8 +12018,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -12038,8 +12038,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -12058,8 +12058,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -12078,8 +12078,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -12098,8 +12098,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -12118,8 +12118,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -12138,8 +12138,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -12158,8 +12158,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -12178,8 +12178,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -12198,8 +12198,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -12218,8 +12218,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -12238,8 +12238,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -12258,8 +12258,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -12278,8 +12278,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -12298,8 +12298,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -12318,8 +12318,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -12338,8 +12338,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -12358,8 +12358,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -12378,8 +12378,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -12398,8 +12398,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -12418,8 +12418,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -12438,8 +12438,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -12458,8 +12458,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -12478,8 +12478,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -12498,8 +12498,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -12518,8 +12518,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -12538,8 +12538,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -12558,8 +12558,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -12578,8 +12578,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -12598,8 +12598,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -12618,8 +12618,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -12638,8 +12638,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -12658,8 +12658,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -12678,8 +12678,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -12698,8 +12698,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -12718,8 +12718,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -12738,8 +12738,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -12758,8 +12758,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -12778,8 +12778,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -12798,8 +12798,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -12818,8 +12818,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -12838,8 +12838,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -12858,8 +12858,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -12878,8 +12878,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -12898,8 +12898,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -12918,8 +12918,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -12938,8 +12938,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -12958,8 +12958,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -12978,8 +12978,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -12998,8 +12998,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -13018,8 +13018,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -13038,8 +13038,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -13058,8 +13058,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -13078,8 +13078,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -13098,8 +13098,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -13118,8 +13118,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -13138,8 +13138,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -13158,8 +13158,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -13178,8 +13178,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -13198,8 +13198,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_100", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_100", @@ -13218,8 +13218,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_101", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_101", @@ -13238,8 +13238,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_102", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_102", @@ -13258,8 +13258,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_103", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_103", @@ -13278,8 +13278,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_104", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_104", @@ -13298,8 +13298,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_105", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_105", @@ -13318,8 +13318,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_106", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_106", @@ -13338,8 +13338,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_107", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_107", @@ -13358,8 +13358,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_108", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_108", @@ -13378,8 +13378,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_109", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_109", @@ -13398,8 +13398,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_110", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_110", @@ -13418,8 +13418,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_111", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_111", @@ -13438,8 +13438,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_112", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_112", @@ -13458,8 +13458,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_113", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_113", @@ -13478,8 +13478,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_114", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_114", @@ -13498,8 +13498,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_115", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_115", @@ -13518,8 +13518,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_116", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_116", @@ -13538,8 +13538,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_117", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_117", @@ -13558,8 +13558,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_118", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_118", @@ -13578,8 +13578,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_119", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_119", @@ -13598,8 +13598,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_120", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_120", @@ -13618,8 +13618,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_121", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_121", @@ -13638,8 +13638,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_122", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_122", @@ -13658,8 +13658,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_123", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_123", @@ -13678,8 +13678,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_124", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_124", @@ -13698,8 +13698,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_125", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_125", @@ -13718,8 +13718,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_126", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_126", @@ -13738,8 +13738,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_127", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_127", @@ -13758,8 +13758,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_128", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_128", @@ -13778,8 +13778,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_129", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_129", @@ -13798,8 +13798,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_130", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_130", @@ -13818,8 +13818,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_131", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_131", @@ -13838,8 +13838,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_132", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_132", @@ -13858,8 +13858,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_133", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_133", @@ -13878,8 +13878,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_134", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_134", @@ -13898,8 +13898,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_135", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_135", @@ -13918,8 +13918,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_136", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_136", @@ -13938,8 +13938,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_137", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_137", @@ -13958,8 +13958,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_138", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_138", @@ -13978,8 +13978,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_139", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_139", @@ -13998,8 +13998,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_140", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_140", @@ -14018,8 +14018,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_141", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_141", @@ -14038,8 +14038,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_142", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_142", @@ -14058,8 +14058,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_143", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_143", @@ -14078,8 +14078,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_144", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_144", @@ -14098,8 +14098,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_145", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_145", @@ -14118,8 +14118,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_146", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_146", @@ -14138,8 +14138,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_147", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_147", @@ -14158,8 +14158,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_148", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_148", @@ -14178,8 +14178,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_149", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_149", @@ -14198,8 +14198,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_150", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_150", @@ -14218,8 +14218,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_151", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_151", @@ -14238,8 +14238,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_152", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_152", @@ -14258,8 +14258,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_153", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_153", @@ -14278,8 +14278,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_154", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_154", @@ -14298,8 +14298,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_155", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_155", @@ -14318,8 +14318,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_156", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_156", @@ -14338,8 +14338,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_157", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_157", @@ -14358,8 +14358,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_158", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_158", @@ -14378,8 +14378,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_159", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_159", @@ -14398,8 +14398,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_160", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_160", @@ -14418,8 +14418,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_161", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_161", @@ -14438,8 +14438,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_162", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_162", @@ -14458,8 +14458,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_163", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_163", @@ -14478,8 +14478,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_164", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_164", @@ -14498,8 +14498,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_165", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_165", @@ -14518,8 +14518,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_166", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_166", @@ -14538,8 +14538,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_167", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_167", @@ -14558,8 +14558,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_168", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_168", @@ -14578,8 +14578,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_169", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_169", @@ -14598,8 +14598,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_170", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_170", @@ -14618,8 +14618,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_171", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_171", @@ -14638,8 +14638,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_172", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_172", @@ -14658,8 +14658,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_173", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_173", @@ -14678,8 +14678,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_174", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_174", @@ -14698,8 +14698,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_175", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_175", @@ -14718,8 +14718,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_176", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_176", @@ -14738,8 +14738,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_177", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_177", @@ -14758,8 +14758,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_178", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_178", @@ -14778,8 +14778,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_179", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_179", @@ -14798,8 +14798,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_180", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_180", @@ -14818,8 +14818,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_181", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_181", @@ -14838,8 +14838,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_182", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_182", @@ -14858,8 +14858,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_183", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_183", @@ -14878,8 +14878,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_184", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_184", @@ -14898,8 +14898,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_185", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_185", @@ -14918,8 +14918,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_186", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_186", @@ -14938,8 +14938,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_187", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_187", @@ -14958,8 +14958,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_188", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_188", @@ -14978,8 +14978,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_189", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_189", @@ -14998,8 +14998,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_190", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_190", @@ -15018,8 +15018,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_191", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_191", @@ -15038,8 +15038,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_192", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_192", @@ -15058,8 +15058,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_193", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_193", @@ -15078,8 +15078,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_194", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_194", @@ -15098,8 +15098,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_195", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_195", @@ -15118,8 +15118,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_196", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_196", @@ -15138,8 +15138,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_197", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_197", @@ -15158,8 +15158,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_198", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_198", @@ -15178,8 +15178,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_199", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_199", @@ -15198,8 +15198,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_200", + "hasAction": true, "data": { "exportName": "aa_200__0", "exportMapKey": "9 * aa_200__0 ", @@ -15211,8 +15211,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_201", + "hasAction": true, "data": { "exportName": "aa_201__0", "exportMapKey": "9 * aa_201__0 ", @@ -15224,8 +15224,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_202", + "hasAction": true, "data": { "exportName": "aa_202__0", "exportMapKey": "9 * aa_202__0 ", @@ -15237,8 +15237,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_203", + "hasAction": true, "data": { "exportName": "aa_203__0", "exportMapKey": "9 * aa_203__0 ", @@ -15250,8 +15250,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_204", + "hasAction": true, "data": { "exportName": "aa_204__0", "exportMapKey": "9 * aa_204__0 ", @@ -15263,8 +15263,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_205", + "hasAction": true, "data": { "exportName": "aa_205__0", "exportMapKey": "9 * aa_205__0 ", @@ -15276,8 +15276,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_206", + "hasAction": true, "data": { "exportName": "aa_206__0", "exportMapKey": "9 * aa_206__0 ", @@ -15289,8 +15289,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_207", + "hasAction": true, "data": { "exportName": "aa_207__0", "exportMapKey": "9 * aa_207__0 ", @@ -15302,8 +15302,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_208", + "hasAction": true, "data": { "exportName": "aa_208__0", "exportMapKey": "9 * aa_208__0 ", @@ -15315,8 +15315,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_209", + "hasAction": true, "data": { "exportName": "aa_209__0", "exportMapKey": "9 * aa_209__0 ", @@ -15328,8 +15328,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_210", + "hasAction": true, "data": { "exportName": "aa_210__0", "exportMapKey": "9 * aa_210__0 ", @@ -15341,8 +15341,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_211", + "hasAction": true, "data": { "exportName": "aa_211__0", "exportMapKey": "9 * aa_211__0 ", @@ -15354,8 +15354,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_212", + "hasAction": true, "data": { "exportName": "aa_212__0", "exportMapKey": "9 * aa_212__0 ", @@ -15367,8 +15367,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_213", + "hasAction": true, "data": { "exportName": "aa_213__0", "exportMapKey": "9 * aa_213__0 ", @@ -15380,8 +15380,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_214", + "hasAction": true, "data": { "exportName": "aa_214__0", "exportMapKey": "9 * aa_214__0 ", @@ -15393,8 +15393,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_215", + "hasAction": true, "data": { "exportName": "aa_215__0", "exportMapKey": "9 * aa_215__0 ", @@ -15406,8 +15406,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_216", + "hasAction": true, "data": { "exportName": "aa_216__0", "exportMapKey": "9 * aa_216__0 ", @@ -15419,8 +15419,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_217", + "hasAction": true, "data": { "exportName": "aa_217__0", "exportMapKey": "9 * aa_217__0 ", @@ -15432,8 +15432,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_218", + "hasAction": true, "data": { "exportName": "aa_218__0", "exportMapKey": "9 * aa_218__0 ", @@ -15445,8 +15445,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_219", + "hasAction": true, "data": { "exportName": "aa_219__0", "exportMapKey": "9 * aa_219__0 ", @@ -15458,8 +15458,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_220", + "hasAction": true, "data": { "exportName": "aa_220__0", "exportMapKey": "9 * aa_220__0 ", @@ -15471,8 +15471,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_221", + "hasAction": true, "data": { "exportName": "aa_221__0", "exportMapKey": "9 * aa_221__0 ", @@ -15484,8 +15484,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_222", + "hasAction": true, "data": { "exportName": "aa_222__0", "exportMapKey": "9 * aa_222__0 ", @@ -15497,8 +15497,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_223", + "hasAction": true, "data": { "exportName": "aa_223__0", "exportMapKey": "9 * aa_223__0 ", @@ -15510,8 +15510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_224", + "hasAction": true, "data": { "exportName": "aa_224__0", "exportMapKey": "9 * aa_224__0 ", @@ -15523,8 +15523,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_225", + "hasAction": true, "data": { "exportName": "aa_225__0", "exportMapKey": "9 * aa_225__0 ", @@ -15536,8 +15536,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_226", + "hasAction": true, "data": { "exportName": "aa_226__0", "exportMapKey": "9 * aa_226__0 ", @@ -15549,8 +15549,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_227", + "hasAction": true, "data": { "exportName": "aa_227__0", "exportMapKey": "9 * aa_227__0 ", @@ -15562,8 +15562,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_228", + "hasAction": true, "data": { "exportName": "aa_228__0", "exportMapKey": "9 * aa_228__0 ", @@ -15575,8 +15575,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_229", + "hasAction": true, "data": { "exportName": "aa_229__0", "exportMapKey": "9 * aa_229__0 ", @@ -15588,8 +15588,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_230", + "hasAction": true, "data": { "exportName": "aa_230__0", "exportMapKey": "9 * aa_230__0 ", @@ -15601,8 +15601,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_231", + "hasAction": true, "data": { "exportName": "aa_231__0", "exportMapKey": "9 * aa_231__0 ", @@ -15614,8 +15614,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_232", + "hasAction": true, "data": { "exportName": "aa_232__0", "exportMapKey": "9 * aa_232__0 ", @@ -15627,8 +15627,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_233", + "hasAction": true, "data": { "exportName": "aa_233__0", "exportMapKey": "9 * aa_233__0 ", @@ -15640,8 +15640,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_234", + "hasAction": true, "data": { "exportName": "aa_234__0", "exportMapKey": "9 * aa_234__0 ", @@ -15653,8 +15653,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_235", + "hasAction": true, "data": { "exportName": "aa_235__0", "exportMapKey": "9 * aa_235__0 ", @@ -15666,8 +15666,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_236", + "hasAction": true, "data": { "exportName": "aa_236__0", "exportMapKey": "9 * aa_236__0 ", @@ -15679,8 +15679,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_237", + "hasAction": true, "data": { "exportName": "aa_237__0", "exportMapKey": "9 * aa_237__0 ", @@ -15692,8 +15692,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_238", + "hasAction": true, "data": { "exportName": "aa_238__0", "exportMapKey": "9 * aa_238__0 ", @@ -15705,8 +15705,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_239", + "hasAction": true, "data": { "exportName": "aa_239__0", "exportMapKey": "9 * aa_239__0 ", @@ -15718,8 +15718,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_240", + "hasAction": true, "data": { "exportName": "aa_240__0", "exportMapKey": "9 * aa_240__0 ", @@ -15731,8 +15731,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_241", + "hasAction": true, "data": { "exportName": "aa_241__0", "exportMapKey": "9 * aa_241__0 ", @@ -15744,8 +15744,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_242", + "hasAction": true, "data": { "exportName": "aa_242__0", "exportMapKey": "9 * aa_242__0 ", @@ -15757,8 +15757,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_243", + "hasAction": true, "data": { "exportName": "aa_243__0", "exportMapKey": "9 * aa_243__0 ", @@ -15770,8 +15770,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_244", + "hasAction": true, "data": { "exportName": "aa_244__0", "exportMapKey": "9 * aa_244__0 ", @@ -15783,8 +15783,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_245", + "hasAction": true, "data": { "exportName": "aa_245__0", "exportMapKey": "9 * aa_245__0 ", @@ -15796,8 +15796,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_246", + "hasAction": true, "data": { "exportName": "aa_246__0", "exportMapKey": "9 * aa_246__0 ", @@ -15809,8 +15809,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_247", + "hasAction": true, "data": { "exportName": "aa_247__0", "exportMapKey": "9 * aa_247__0 ", @@ -15822,8 +15822,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_248", + "hasAction": true, "data": { "exportName": "aa_248__0", "exportMapKey": "9 * aa_248__0 ", @@ -15835,8 +15835,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/lib/a_249", + "hasAction": true, "data": { "exportName": "aa_249__0", "exportMapKey": "9 * aa_249__0 ", @@ -17610,8 +17610,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_0", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_0", @@ -17630,8 +17630,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_1", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_1", @@ -17650,8 +17650,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_2", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_2", @@ -17670,8 +17670,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_3", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_3", @@ -17690,8 +17690,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_4", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_4", @@ -17710,8 +17710,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_5", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_5", @@ -17730,8 +17730,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_6", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_6", @@ -17750,8 +17750,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_7", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_7", @@ -17770,8 +17770,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_8", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_8", @@ -17790,8 +17790,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_9", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_9", @@ -17810,8 +17810,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_10", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_10", @@ -17830,8 +17830,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_11", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_11", @@ -17850,8 +17850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_12", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_12", @@ -17870,8 +17870,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_13", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_13", @@ -17890,8 +17890,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_14", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_14", @@ -17910,8 +17910,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_15", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_15", @@ -17930,8 +17930,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_16", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_16", @@ -17950,8 +17950,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_17", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_17", @@ -17970,8 +17970,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_18", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_18", @@ -17990,8 +17990,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_19", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_19", @@ -18010,8 +18010,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_20", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_20", @@ -18030,8 +18030,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_21", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_21", @@ -18050,8 +18050,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_22", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_22", @@ -18070,8 +18070,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_23", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_23", @@ -18090,8 +18090,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_24", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_24", @@ -18110,8 +18110,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_25", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_25", @@ -18130,8 +18130,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_26", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_26", @@ -18150,8 +18150,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_27", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_27", @@ -18170,8 +18170,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_28", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_28", @@ -18190,8 +18190,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_29", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_29", @@ -18210,8 +18210,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_30", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_30", @@ -18230,8 +18230,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_31", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_31", @@ -18250,8 +18250,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_32", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_32", @@ -18270,8 +18270,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_33", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_33", @@ -18290,8 +18290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_34", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_34", @@ -18310,8 +18310,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_35", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_35", @@ -18330,8 +18330,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_36", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_36", @@ -18350,8 +18350,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_37", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_37", @@ -18370,8 +18370,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_38", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_38", @@ -18390,8 +18390,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_39", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_39", @@ -18410,8 +18410,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_40", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_40", @@ -18430,8 +18430,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_41", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_41", @@ -18450,8 +18450,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_42", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_42", @@ -18470,8 +18470,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_43", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_43", @@ -18490,8 +18490,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_44", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_44", @@ -18510,8 +18510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_45", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_45", @@ -18530,8 +18530,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_46", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_46", @@ -18550,8 +18550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_47", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_47", @@ -18570,8 +18570,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_48", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_48", @@ -18590,8 +18590,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_49", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_49", @@ -18610,8 +18610,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_50", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_50", @@ -18630,8 +18630,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_51", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_51", @@ -18650,8 +18650,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_52", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_52", @@ -18670,8 +18670,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_53", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_53", @@ -18690,8 +18690,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_54", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_54", @@ -18710,8 +18710,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_55", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_55", @@ -18730,8 +18730,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_56", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_56", @@ -18750,8 +18750,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_57", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_57", @@ -18770,8 +18770,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_58", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_58", @@ -18790,8 +18790,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_59", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_59", @@ -18810,8 +18810,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_60", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_60", @@ -18830,8 +18830,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_61", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_61", @@ -18850,8 +18850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_62", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_62", @@ -18870,8 +18870,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_63", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_63", @@ -18890,8 +18890,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_64", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_64", @@ -18910,8 +18910,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_65", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_65", @@ -18930,8 +18930,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_66", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_66", @@ -18950,8 +18950,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_67", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_67", @@ -18970,8 +18970,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_68", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_68", @@ -18990,8 +18990,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_69", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_69", @@ -19010,8 +19010,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_70", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_70", @@ -19030,8 +19030,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_71", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_71", @@ -19050,8 +19050,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_72", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_72", @@ -19070,8 +19070,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_73", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_73", @@ -19090,8 +19090,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_74", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_74", @@ -19110,8 +19110,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_75", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_75", @@ -19130,8 +19130,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_76", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_76", @@ -19150,8 +19150,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_77", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_77", @@ -19170,8 +19170,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_78", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_78", @@ -19190,8 +19190,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_79", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_79", @@ -19210,8 +19210,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_80", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_80", @@ -19230,8 +19230,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_81", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_81", @@ -19250,8 +19250,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_82", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_82", @@ -19270,8 +19270,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_83", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_83", @@ -19290,8 +19290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_84", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_84", @@ -19310,8 +19310,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_85", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_85", @@ -19330,8 +19330,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_86", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_86", @@ -19350,8 +19350,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_87", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_87", @@ -19370,8 +19370,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_88", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_88", @@ -19390,8 +19390,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_89", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_89", @@ -19410,8 +19410,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_90", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_90", @@ -19430,8 +19430,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_91", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_91", @@ -19450,8 +19450,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_92", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_92", @@ -19470,8 +19470,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_93", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_93", @@ -19490,8 +19490,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_94", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_94", @@ -19510,8 +19510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_95", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_95", @@ -19530,8 +19530,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_96", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_96", @@ -19550,8 +19550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_97", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_97", @@ -19570,8 +19570,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_98", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_98", @@ -19590,8 +19590,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_99", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_99", @@ -19610,8 +19610,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_100", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_100", @@ -19630,8 +19630,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_101", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_101", @@ -19650,8 +19650,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_102", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_102", @@ -19670,8 +19670,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_103", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_103", @@ -19690,8 +19690,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_104", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_104", @@ -19710,8 +19710,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_105", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_105", @@ -19730,8 +19730,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_106", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_106", @@ -19750,8 +19750,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_107", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_107", @@ -19770,8 +19770,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_108", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_108", @@ -19790,8 +19790,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_109", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_109", @@ -19810,8 +19810,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_110", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_110", @@ -19830,8 +19830,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_111", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_111", @@ -19850,8 +19850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_112", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_112", @@ -19870,8 +19870,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_113", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_113", @@ -19890,8 +19890,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_114", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_114", @@ -19910,8 +19910,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_115", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_115", @@ -19930,8 +19930,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_116", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_116", @@ -19950,8 +19950,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_117", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_117", @@ -19970,8 +19970,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_118", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_118", @@ -19990,8 +19990,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_119", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_119", @@ -20010,8 +20010,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_120", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_120", @@ -20030,8 +20030,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_121", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_121", @@ -20050,8 +20050,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_122", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_122", @@ -20070,8 +20070,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_123", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_123", @@ -20090,8 +20090,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_124", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_124", @@ -20110,8 +20110,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_125", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_125", @@ -20130,8 +20130,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_126", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_126", @@ -20150,8 +20150,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_127", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_127", @@ -20170,8 +20170,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_128", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_128", @@ -20190,8 +20190,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_129", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_129", @@ -20210,8 +20210,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_130", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_130", @@ -20230,8 +20230,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_131", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_131", @@ -20250,8 +20250,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_132", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_132", @@ -20270,8 +20270,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_133", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_133", @@ -20290,8 +20290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_134", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_134", @@ -20310,8 +20310,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_135", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_135", @@ -20330,8 +20330,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_136", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_136", @@ -20350,8 +20350,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_137", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_137", @@ -20370,8 +20370,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_138", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_138", @@ -20390,8 +20390,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_139", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_139", @@ -20410,8 +20410,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_140", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_140", @@ -20430,8 +20430,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_141", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_141", @@ -20450,8 +20450,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_142", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_142", @@ -20470,8 +20470,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_143", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_143", @@ -20490,8 +20490,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_144", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_144", @@ -20510,8 +20510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_145", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_145", @@ -20530,8 +20530,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_146", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_146", @@ -20550,8 +20550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_147", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_147", @@ -20570,8 +20570,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_148", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_148", @@ -20590,8 +20590,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_149", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_149", @@ -20610,8 +20610,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_150", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_150", @@ -20630,8 +20630,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_151", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_151", @@ -20650,8 +20650,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_152", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_152", @@ -20670,8 +20670,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_153", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_153", @@ -20690,8 +20690,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_154", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_154", @@ -20710,8 +20710,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_155", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_155", @@ -20730,8 +20730,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_156", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_156", @@ -20750,8 +20750,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_157", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_157", @@ -20770,8 +20770,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_158", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_158", @@ -20790,8 +20790,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_159", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_159", @@ -20810,8 +20810,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_160", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_160", @@ -20830,8 +20830,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_161", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_161", @@ -20850,8 +20850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_162", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_162", @@ -20870,8 +20870,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_163", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_163", @@ -20890,8 +20890,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_164", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_164", @@ -20910,8 +20910,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_165", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_165", @@ -20930,8 +20930,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_166", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_166", @@ -20950,8 +20950,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_167", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_167", @@ -20970,8 +20970,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_168", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_168", @@ -20990,8 +20990,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_169", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_169", @@ -21010,8 +21010,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_170", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_170", @@ -21030,8 +21030,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_171", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_171", @@ -21050,8 +21050,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_172", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_172", @@ -21070,8 +21070,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_173", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_173", @@ -21090,8 +21090,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_174", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_174", @@ -21110,8 +21110,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_175", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_175", @@ -21130,8 +21130,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_176", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_176", @@ -21150,8 +21150,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_177", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_177", @@ -21170,8 +21170,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_178", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_178", @@ -21190,8 +21190,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_179", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_179", @@ -21210,8 +21210,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_180", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_180", @@ -21230,8 +21230,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_181", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_181", @@ -21250,8 +21250,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_182", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_182", @@ -21270,8 +21270,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_183", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_183", @@ -21290,8 +21290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_184", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_184", @@ -21310,8 +21310,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_185", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_185", @@ -21330,8 +21330,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_186", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_186", @@ -21350,8 +21350,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_187", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_187", @@ -21370,8 +21370,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_188", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_188", @@ -21390,8 +21390,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_189", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_189", @@ -21410,8 +21410,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_190", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_190", @@ -21430,8 +21430,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_191", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_191", @@ -21450,8 +21450,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_192", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_192", @@ -21470,8 +21470,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_193", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_193", @@ -21490,8 +21490,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_194", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_194", @@ -21510,8 +21510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_195", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_195", @@ -21530,8 +21530,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_196", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_196", @@ -21550,8 +21550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_197", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_197", @@ -21570,8 +21570,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_198", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_198", @@ -21590,8 +21590,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_199", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_199", @@ -21610,8 +21610,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_200", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_200", @@ -21630,8 +21630,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_201", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_201", @@ -21650,8 +21650,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_202", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_202", @@ -21670,8 +21670,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_203", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_203", @@ -21690,8 +21690,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_204", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_204", @@ -21710,8 +21710,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_205", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_205", @@ -21730,8 +21730,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_206", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_206", @@ -21750,8 +21750,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_207", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_207", @@ -21770,8 +21770,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_208", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_208", @@ -21790,8 +21790,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_209", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_209", @@ -21810,8 +21810,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_210", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_210", @@ -21830,8 +21830,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_211", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_211", @@ -21850,8 +21850,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_212", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_212", @@ -21870,8 +21870,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_213", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_213", @@ -21890,8 +21890,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_214", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_214", @@ -21910,8 +21910,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_215", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_215", @@ -21930,8 +21930,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_216", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_216", @@ -21950,8 +21950,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_217", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_217", @@ -21970,8 +21970,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_218", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_218", @@ -21990,8 +21990,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_219", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_219", @@ -22010,8 +22010,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_220", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_220", @@ -22030,8 +22030,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_221", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_221", @@ -22050,8 +22050,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_222", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_222", @@ -22070,8 +22070,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_223", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_223", @@ -22090,8 +22090,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_224", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_224", @@ -22110,8 +22110,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_225", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_225", @@ -22130,8 +22130,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_226", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_226", @@ -22150,8 +22150,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_227", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_227", @@ -22170,8 +22170,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_228", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_228", @@ -22190,8 +22190,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_229", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_229", @@ -22210,8 +22210,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_230", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_230", @@ -22230,8 +22230,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_231", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_231", @@ -22250,8 +22250,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_232", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_232", @@ -22270,8 +22270,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_233", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_233", @@ -22290,8 +22290,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_234", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_234", @@ -22310,8 +22310,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_235", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_235", @@ -22330,8 +22330,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_236", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_236", @@ -22350,8 +22350,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_237", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_237", @@ -22370,8 +22370,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_238", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_238", @@ -22390,8 +22390,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_239", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_239", @@ -22410,8 +22410,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_240", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_240", @@ -22430,8 +22430,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_241", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_241", @@ -22450,8 +22450,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_242", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_242", @@ -22470,8 +22470,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_243", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_243", @@ -22490,8 +22490,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_244", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_244", @@ -22510,8 +22510,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_245", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_245", @@ -22530,8 +22530,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_246", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_246", @@ -22550,8 +22550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_247", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_247", @@ -22570,8 +22570,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_248", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_248", @@ -22590,8 +22590,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "./lib/a_249", + "hasAction": true, "sourceDisplay": [ { "text": "./lib/a_249", diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js index 6bb5597f3ab..bd13f360f94 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js @@ -233,7 +233,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/src/file2.ts ProjectRootPath: undefined:: Result: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js index 0c9e9a2cec1..a46b10756cc 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js @@ -233,7 +233,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/src/file2.ts ProjectRootPath: undefined:: Result: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js index a4c68397e28..297e1b28764 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js @@ -354,7 +354,6 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -646,7 +645,6 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1596,7 +1594,6 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject4* -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js index 62254d86e1b..782addc4045 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js @@ -148,9 +148,131 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /user/username/projects/myproject/folder/commonFile2.ts SVC-1-0 "let y = 1" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/folder/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/node_modules/@types: *new* + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: *new* + {} +/user/username/projects/myproject/folder/commonFile1.ts: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: *new* + {} +/user/username/projects/myproject/tsconfig.json: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/folder/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/folder/commonFile1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +1: When config file is deleted +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +1: /user/username/projects/myproject/tsconfig.json +2: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 2 +1: /user/username/projects/myproject/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + noOpenRef: false *changed* + deferredClose: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -158,7 +280,7 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { @@ -169,6 +291,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -243,99 +367,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "triggerFile": "/user/username/projects/myproject/tsconfig.json", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 1, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/node_modules/@types: *new* - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: *new* - {} -/user/username/projects/myproject/folder/commonFile1.ts: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: *new* - {} -/user/username/projects/myproject/tsconfig.json: *new* - {} - -Projects:: -/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - -ScriptInfos:: -/a/lib/lib.d.ts *new* - version: Text-1 - containingProjects: 2 - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json -/user/username/projects/myproject/folder/commonFile1.ts *new* - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* - -1: When config file is deleted -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 1 -1: *ensureProjectForOpenFiles* -//// [/user/username/projects/myproject/folder/tsconfig.json] deleted - -Timeout callback:: count: 1 -1: *ensureProjectForOpenFiles* *new* - -Projects:: -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true *changed* - deferredClose: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - -Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) @@ -345,10 +381,22 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + + + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -357,6 +405,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined @@ -375,14 +427,70 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/myproject/folder/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + isOrphan: true *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/tsconfig.json *new* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/folder/commonFile1.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/tsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -2: /user/username/projects/myproject/folder/tsconfig.json -3: *ensureProjectForOpenFiles* +3: /user/username/projects/myproject/folder/tsconfig.json +4: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -392,10 +500,14 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -2: /user/username/projects/myproject/folder/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +3: /user/username/projects/myproject/folder/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 + isOrphan: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 @@ -457,11 +569,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -470,6 +585,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined @@ -489,13 +608,19 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 + isOrphan: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) + noOpenRef: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true *changed* Before request @@ -510,263 +635,14 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /random/random.ts SVC-1-0 "export const y = 10;" - ../a/lib/lib.d.ts - Default library for target 'es5' - random.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 2, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -Projects:: -/dev/null/inferredProject1* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - -ScriptInfos:: -/a/lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 3 *changed* - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json - /dev/null/inferredProject1* *new* -/random/random.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/user/username/projects/myproject/folder/commonFile1.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "close", - "arguments": { - "file": "/user/username/projects/myproject/folder/commonFile2.ts" - }, - "seq": 3, - "type": "request" - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "close", - "request_seq": 3, - "success": true - } -After request - -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/commonFile1.ts: - {} -/user/username/projects/myproject/folder/commonFile2.ts: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* - -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 3 - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json - /dev/null/inferredProject1* -/random/random.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/user/username/projects/myproject/folder/commonFile1.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts *changed* - open: false *changed* - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "close", - "arguments": { - "file": "/random/random.ts" - }, - "seq": 4, - "type": "request" - } -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "close", - "request_seq": 4, - "success": true - } -After request - -Projects:: -/dev/null/inferredProject1* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - isOrphan: true *changed* -/user/username/projects/myproject/folder/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 3 - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json - /dev/null/inferredProject1* -/random/random.ts *deleted* - open: false *changed* - version: SVC-1-0 - containingProjects: 0 *changed* - /dev/null/inferredProject1* *deleted* -/user/username/projects/myproject/folder/commonFile1.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "open", - "arguments": { - "file": "/random/random.ts", - "fileContent": "export const y = 10;" - }, - "seq": 5, - "type": "request" - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /random/random.ts SVC-2-0 "export const y = 10;" - - ../a/lib/lib.d.ts Default library for target 'es5' random.ts @@ -806,26 +682,40 @@ Info seq [hh:mm:ss:mss] Files (2) Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + + + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 2, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -848,19 +738,20 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile1.ts: {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} /user/username/projects/myproject/folder/tsconfig.json: {} /user/username/projects/myproject/tsconfig.json: {} Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 + projectProgramVersion: 2 + isClosed: true *changed* + isOrphan: true +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 projectProgramVersion: 1 - dirty: false *changed* - isOrphan: false *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 @@ -876,24 +767,196 @@ ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* - /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/tsconfig.json *deleted* /random/random.ts (Open) *new* - version: SVC-2-0 + version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* *default* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: Text-1 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* -/user/username/projects/myproject/folder/commonFile2.ts *deleted* +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* version: SVC-1-0 containingProjects: 0 *changed* /user/username/projects/myproject/tsconfig.json *deleted* Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 3, + "success": true + } +After request + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/commonFile2.ts: *new* + {} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/folder/commonFile2.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/random/random.ts" + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 4, + "success": true + } +After request + +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/random/random.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* +/user/username/projects/myproject/folder/commonFile2.ts + version: SVC-1-0 + containingProjects: 0 + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/random/random.ts", + "fileContent": "export const y = 10;" + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /random/random.ts SVC-2-0 "export const y = 10;" + + + ../a/lib/lib.d.ts + Default library for target 'es5' + random.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 5, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatches *deleted*:: +/user/username/projects/myproject/folder/commonFile2.ts: + {} + +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/random/random.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/folder/commonFile2.ts *deleted* + version: SVC-1-0 + containingProjects: 0 + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "close", @@ -903,7 +966,7 @@ Info seq [hh:mm:ss:mss] request: "seq": 6, "type": "request" } -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -919,7 +982,7 @@ Info seq [hh:mm:ss:mss] response: After request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 dirty: true *changed* @@ -929,12 +992,12 @@ ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 1 - /dev/null/inferredProject1* + /dev/null/inferredProject2* /random/random.ts *deleted* open: false *changed* version: SVC-2-0 containingProjects: 0 *changed* - /dev/null/inferredProject1* *deleted* + /dev/null/inferredProject2* *deleted* Before request @@ -1009,67 +1072,31 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" - ../../../../a/lib/lib.d.ts + ../../../../../a/lib/lib.d.ts Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json + commonFile2.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts /random/random.ts @@ -1085,13 +1112,13 @@ Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tscon Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1106,8 +1133,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/folder/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/folder/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* @@ -1124,26 +1155,27 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject1* (Inferred) *deleted* +/dev/null/inferredProject2* (Inferred) *deleted* projectStateVersion: 3 projectProgramVersion: 1 dirty: true isClosed: true *changed* isOrphan: true +/dev/null/inferredProject3* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /user/username/projects/myproject/folder/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* - /user/username/projects/myproject/tsconfig.json *new* - /dev/null/inferredProject1* *deleted* + /dev/null/inferredProject3* *new* + /dev/null/inferredProject2* *deleted* /user/username/projects/myproject/folder/commonFile1.ts *new* version: Text-2 containingProjects: 1 @@ -1151,28 +1183,36 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* + /dev/null/inferredProject3* *default* 2: Check when file is closed when config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -Timeout callback:: count: 1 -4: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +5: /user/username/projects/myproject/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* Projects:: +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true *changed* + noOpenRef: false *changed* deferredClose: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true Info seq [hh:mm:ss:mss] request: { @@ -1183,12 +1223,18 @@ Info seq [hh:mm:ss:mss] request: "seq": 8, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1211,6 +1257,12 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/myproject/folder/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: {} @@ -1224,6 +1276,11 @@ FsWatches:: {} Projects:: +/dev/null/inferredProject3* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1232,7 +1289,8 @@ Projects:: deferredClose: true /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true noOpenRef: true *changed* ScriptInfos:: @@ -1240,7 +1298,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject3* /user/username/projects/myproject/folder/commonFile1.ts version: Text-2 containingProjects: 1 @@ -1248,8 +1306,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json + containingProjects: 0 *changed* + /dev/null/inferredProject3* *deleted* Before request @@ -1264,9 +1322,9 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject4* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /random/random.ts SVC-3-0 "export const y = 10;" @@ -1300,31 +1358,38 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../a/lib/lib.d.ts + ../../../../../a/lib/lib.d.ts Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json + commonFile2.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject4* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1361,7 +1426,13 @@ FsWatches *deleted*:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *new* +/dev/null/inferredProject3* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true +/dev/null/inferredProject4* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* @@ -1373,7 +1444,8 @@ Projects:: deferredClose: true /user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true isClosed: true *changed* noOpenRef: true @@ -1381,18 +1453,17 @@ ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* - /dev/null/inferredProject2* *new* + /dev/null/inferredProject4* *new* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/tsconfig.json *deleted* + /dev/null/inferredProject3* *deleted* /random/random.ts (Open) *new* version: SVC-3-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject4* *default* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: Text-2 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-2-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js index 0301d3d057e..13eb40c7801 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js @@ -490,7 +490,6 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/com Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -525,9 +524,10 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true *changed* Before request @@ -556,11 +556,25 @@ Info seq [hh:mm:ss:mss] Files (2) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../a/lib/lib.d.ts + Default library for target 'es5' + folder/commonFile2.ts + Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -572,7 +586,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -588,6 +602,24 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +FsWatches *deleted*:: +/user/username/projects/myproject/tsconfig.json: + {} + Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 @@ -595,17 +627,19 @@ Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject1* *new* + /user/username/projects/myproject/tsconfig.json *deleted* /random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -614,10 +648,10 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* Before request @@ -634,10 +668,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -645,7 +675,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -673,15 +703,21 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject1* /random/random.ts (Open) version: SVC-1-0 @@ -694,8 +730,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* + containingProjects: 0 Before request @@ -712,10 +747,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -751,28 +782,12 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} - -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject1* /random/random.ts (Open) version: SVC-1-0 @@ -785,8 +800,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json + containingProjects: 0 Before request @@ -802,10 +816,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -832,17 +842,12 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 1 noOpenRef: true -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject1* /random/random.ts *deleted* open: false *changed* @@ -855,8 +860,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json + containingProjects: 0 Before request @@ -905,24 +909,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -964,8 +950,6 @@ FsWatches *deleted*:: {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} Projects:: /dev/null/inferredProject1* (Inferred) *changed* @@ -978,11 +962,6 @@ Projects:: projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -990,7 +969,6 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject1* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/tsconfig.json *deleted* /random/random.ts (Open) *new* version: SVC-2-0 containingProjects: 1 @@ -1001,8 +979,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* + containingProjects: 0 Before request @@ -1201,9 +1178,141 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 10, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig.json: *new* + {} + +Projects:: +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /dev/null/inferredProject2* *new* +/user/username/projects/myproject/folder/commonFile1.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json *default* +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +2: When both files are open and config file is deleted +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +5: /user/username/projects/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 2 +5: /user/username/projects/myproject/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* +/user/username/projects/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1211,7 +1320,7 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { @@ -1222,6 +1331,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json "configFilePath": "/user/username/projects/myproject/tsconfig.json" } } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1255,100 +1366,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "triggerFile": "/user/username/projects/myproject/tsconfig.json", "configFile": "/user/username/projects/myproject/tsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 10, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} -/user/username/projects/myproject/tsconfig.json: *new* - {} - -Projects:: -/user/username/projects/myproject/folder/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - -ScriptInfos:: -/a/lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 2 *changed* - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json *new* -/user/username/projects/myproject/folder/commonFile1.ts (Open) - version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* - version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* - -2: When both files are open and config file is deleted -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* -//// [/user/username/projects/myproject/folder/tsconfig.json] deleted - -Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* *new* - -Projects:: -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true *changed* - deferredClose: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - -Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) @@ -1358,23 +1380,20 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1421,17 +1440,23 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/folder/jsconfig.json: *new* - {"pollingInterval":2000} +/user/username/projects/myproject/folder/jsconfig.json: + {"pollingInterval":2000} *new* /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} *new* /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/myproject/folder/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: {} @@ -1441,34 +1466,36 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true deferredClose: true -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 1 *changed* + dirty: false *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json - /dev/null/inferredProject2* *new* + /dev/null/inferredProject2* + /user/username/projects/myproject/tsconfig.json *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* version: SVC-2-0 containingProjects: 2 *changed* /dev/null/inferredProject2* *default* *new* /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* + containingProjects: 1 *changed* + /user/username/projects/myproject/tsconfig.json *default* *new* + /dev/null/inferredProject2* *deleted* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json @@ -1477,8 +1504,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -6: /user/username/projects/myproject/folder/tsconfig.json -7: *ensureProjectForOpenFiles* +7: /user/username/projects/myproject/folder/tsconfig.json +8: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -1488,13 +1515,13 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -6: /user/username/projects/myproject/folder/tsconfig.json *new* -7: *ensureProjectForOpenFiles* *new* +7: /user/username/projects/myproject/folder/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject2* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 + projectStateVersion: 2 + projectProgramVersion: 2 /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 @@ -1566,11 +1593,10 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/com Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2*,/user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1634,16 +1660,17 @@ FsWatches:: Projects:: /dev/null/inferredProject2* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* isOrphan: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true *changed* ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -1690,6 +1717,24 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../a/lib/lib.d.ts + Default library for target 'es5' + folder/commonFile2.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1705,10 +1750,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1718,7 +1759,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: @@ -1734,10 +1775,28 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +FsWatches *deleted*:: +/user/username/projects/myproject/tsconfig.json: + {} + Projects:: /dev/null/inferredProject2* (Inferred) *deleted* - projectStateVersion: 2 - projectProgramVersion: 2 + projectStateVersion: 3 + projectProgramVersion: 3 isClosed: true *changed* isOrphan: true /dev/null/inferredProject3* (Inferred) *new* @@ -1746,17 +1805,19 @@ Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject3* *new* + /user/username/projects/myproject/tsconfig.json *deleted* /random/random.ts (Open) *new* version: SVC-3-0 containingProjects: 1 @@ -1765,10 +1826,10 @@ ScriptInfos:: version: SVC-2-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* Before request @@ -1785,10 +1846,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1796,7 +1853,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: @@ -1824,15 +1881,21 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} + +Projects:: +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject3* /random/random.ts (Open) version: SVC-3-0 @@ -1845,8 +1908,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* + containingProjects: 0 Before request @@ -1863,10 +1925,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1902,28 +1960,12 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} - -Projects:: -/dev/null/inferredProject3* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject3* /random/random.ts (Open) version: SVC-3-0 @@ -1936,8 +1978,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json + containingProjects: 0 Before request @@ -1953,10 +1994,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1983,17 +2020,12 @@ Projects:: projectStateVersion: 2 projectProgramVersion: 1 noOpenRef: true -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json /dev/null/inferredProject3* /random/random.ts *deleted* open: false *changed* @@ -2006,8 +2038,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json + containingProjects: 0 Before request @@ -2056,24 +2087,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) @@ -2115,8 +2128,6 @@ FsWatches *deleted*:: {} /user/username/projects/myproject/folder/tsconfig.json: {} -/user/username/projects/myproject/tsconfig.json: - {} Projects:: /dev/null/inferredProject3* (Inferred) *changed* @@ -2129,11 +2140,6 @@ Projects:: projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* @@ -2141,7 +2147,6 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject3* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/tsconfig.json *deleted* /random/random.ts (Open) *new* version: SVC-4-0 containingProjects: 1 @@ -2152,8 +2157,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-2-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* + containingProjects: 0 Before request @@ -2368,8 +2372,8 @@ FsWatches:: {} Timeout callback:: count: 2 -8: /user/username/projects/myproject/tsconfig.json *new* -9: *ensureProjectForOpenFiles* *new* +9: /user/username/projects/myproject/tsconfig.json *new* +10: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -3012,10 +3016,10 @@ FsWatches:: {} Timeout callback:: count: 2 -8: /user/username/projects/myproject/tsconfig.json *deleted* -9: *ensureProjectForOpenFiles* *deleted* -10: /user/username/projects/myproject/tsconfig.json *new* -11: *ensureProjectForOpenFiles* *new* +9: /user/username/projects/myproject/tsconfig.json *deleted* +10: *ensureProjectForOpenFiles* *deleted* +11: /user/username/projects/myproject/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -3840,10 +3844,10 @@ FsWatches:: {} Timeout callback:: count: 2 -10: /user/username/projects/myproject/tsconfig.json *deleted* -11: *ensureProjectForOpenFiles* *deleted* -12: /user/username/projects/myproject/tsconfig.json *new* -13: *ensureProjectForOpenFiles* *new* +11: /user/username/projects/myproject/tsconfig.json *deleted* +12: *ensureProjectForOpenFiles* *deleted* +13: /user/username/projects/myproject/tsconfig.json *new* +14: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* @@ -4649,54 +4653,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "configFilePath": "/user/username/projects/myproject/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /user/username/projects/myproject/folder/commonFile2.ts SVC-6-0 "let y = 1" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/tsconfig.json" - } - } Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -4704,15 +4660,38 @@ Info seq [hh:mm:ss:mss] event: "event": "configFileDiag", "body": { "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", - "configFile": "/user/username/projects/myproject/tsconfig.json", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject7* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /user/username/projects/myproject/folder/commonFile2.ts SVC-6-0 "let y = 1" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -4720,7 +4699,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject7* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -4735,8 +4714,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/folder/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: @@ -4751,10 +4734,10 @@ FsWatches:: {} Projects:: -/user/username/projects/myproject/folder/tsconfig.json (Configured) +/dev/null/inferredProject7* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *new* +/user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -4763,7 +4746,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json *new* + /dev/null/inferredProject7* *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 @@ -4771,7 +4754,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-6-0 containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* + /dev/null/inferredProject7* *default* Before request @@ -4784,12 +4767,15 @@ Info seq [hh:mm:ss:mss] request: "seq": 41, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -4814,6 +4800,12 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/myproject/folder/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: {} @@ -4821,24 +4813,27 @@ FsWatches:: {} /user/username/projects/myproject/folder/tsconfig.json: {} + +FsWatches *deleted*:: /user/username/projects/myproject/tsconfig.json: {} Projects:: +/dev/null/inferredProject7* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/tsconfig.json + /dev/null/inferredProject7* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 @@ -4846,8 +4841,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-6-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json + containingProjects: 0 *changed* + /dev/null/inferredProject7* *deleted* Before request @@ -4862,9 +4857,9 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject7* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject8* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /random/random.ts SVC-10-0 "export const y = 10;" @@ -4877,29 +4872,30 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts - ../../../../a/lib/lib.d.ts + ../../../../../a/lib/lib.d.ts Default library for target 'es5' - folder/commonFile2.ts - Part of 'files' list in tsconfig.json + commonFile2.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -4907,7 +4903,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject7* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject8* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -4938,38 +4934,36 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile2.ts: {} -/user/username/projects/myproject/tsconfig.json: - {} Projects:: -/dev/null/inferredProject7* (Inferred) *new* +/dev/null/inferredProject7* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true +/dev/null/inferredProject8* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject7* *new* - /user/username/projects/myproject/tsconfig.json *deleted* + /dev/null/inferredProject8* *new* + /dev/null/inferredProject7* *deleted* /random/random.ts (Open) *new* version: SVC-10-0 containingProjects: 1 - /dev/null/inferredProject7* *default* + /dev/null/inferredProject8* *default* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-6-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/tsconfig.json *deleted* + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js index f92af5cb7e3..66256be28d7 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js @@ -151,9 +151,131 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /user/username/projects/myproject/folder/commonFile2.ts SVC-1-0 "let y = 1" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules/@types: *new* + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: *new* + {} +/user/username/projects/myproject/folder/commonFile1.ts: *new* + {} +/user/username/projects/myproject/folder/jsconfig.json: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 2 + /user/username/projects/myproject/folder/tsconfig.json + /dev/null/inferredProject1* +/user/username/projects/myproject/folder/commonFile1.ts *new* + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +1: When config file is deleted +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +1: /user/username/projects/myproject/folder/jsconfig.json +2: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 2 +1: /user/username/projects/myproject/folder/jsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + noOpenRef: false *changed* + deferredClose: true *changed* + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -161,7 +283,7 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" } } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { @@ -177,6 +299,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -259,99 +383,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "triggerFile": "/user/username/projects/myproject/folder/jsconfig.json", "configFile": "/user/username/projects/myproject/folder/jsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 1, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: *new* - {"pollingInterval":500} -/user/username/projects/node_modules/@types: *new* - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: *new* - {} -/user/username/projects/myproject/folder/commonFile1.ts: *new* - {} -/user/username/projects/myproject/folder/jsconfig.json: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: *new* - {} - -Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - -ScriptInfos:: -/a/lib/lib.d.ts *new* - version: Text-1 - containingProjects: 2 - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json -/user/username/projects/myproject/folder/commonFile1.ts *new* - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* - -1: When config file is deleted -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 1 -1: *ensureProjectForOpenFiles* -//// [/user/username/projects/myproject/folder/tsconfig.json] deleted - -Timeout callback:: count: 1 -1: *ensureProjectForOpenFiles* *new* - -Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true *changed* - deferredClose: true *changed* - -Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) @@ -361,10 +397,22 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + + + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -373,6 +421,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined @@ -391,14 +443,70 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/commonFile1.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + isOrphan: true *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* + dirty: false *changed* +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true + deferredClose: true + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /user/username/projects/myproject/folder/jsconfig.json *new* + /dev/null/inferredProject1* *deleted* +/user/username/projects/myproject/folder/commonFile1.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /user/username/projects/myproject/folder/jsconfig.json *default* *new* + /dev/null/inferredProject1* *deleted* + Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -2: /user/username/projects/myproject/folder/tsconfig.json -3: *ensureProjectForOpenFiles* +3: /user/username/projects/myproject/folder/tsconfig.json +4: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -408,10 +516,14 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -2: /user/username/projects/myproject/folder/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +3: /user/username/projects/myproject/folder/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 + isOrphan: true /user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -473,11 +585,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -486,6 +601,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined @@ -505,13 +624,19 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 2 + projectProgramVersion: 2 + isOrphan: true +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* + noOpenRef: true *changed* Before request @@ -526,263 +651,14 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /random/random.ts SVC-1-0 "export const y = 10;" - ../a/lib/lib.d.ts - Default library for target 'es5' - random.ts - Root file specified for compilation - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 2, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -Projects:: -/dev/null/inferredProject1* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/jsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 1 - -ScriptInfos:: -/a/lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 3 *changed* - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json - /dev/null/inferredProject1* *new* -/random/random.ts (Open) *new* - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/user/username/projects/myproject/folder/commonFile1.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "close", - "arguments": { - "file": "/user/username/projects/myproject/folder/commonFile2.ts" - }, - "seq": 3, - "type": "request" - } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "close", - "request_seq": 3, - "success": true - } -After request - -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/commonFile1.ts: - {} -/user/username/projects/myproject/folder/commonFile2.ts: *new* - {} -/user/username/projects/myproject/folder/jsconfig.json: - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* - -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 3 - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json - /dev/null/inferredProject1* -/random/random.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject1* *default* -/user/username/projects/myproject/folder/commonFile1.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts *changed* - open: false *changed* - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "close", - "arguments": { - "file": "/random/random.ts" - }, - "seq": 4, - "type": "request" - } -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "close", - "request_seq": 4, - "success": true - } -After request - -Projects:: -/dev/null/inferredProject1* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - isOrphan: true *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true -/user/username/projects/myproject/folder/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true - -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 3 - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json - /dev/null/inferredProject1* -/random/random.ts *deleted* - open: false *changed* - version: SVC-1-0 - containingProjects: 0 *changed* - /dev/null/inferredProject1* *deleted* -/user/username/projects/myproject/folder/commonFile1.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json - -Before request - -Info seq [hh:mm:ss:mss] request: - { - "command": "open", - "arguments": { - "file": "/random/random.ts", - "fileContent": "export const y = 10;" - }, - "seq": 5, - "type": "request" - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /random/random.ts SVC-2-0 "export const y = 10;" - - ../a/lib/lib.d.ts Default library for target 'es5' random.ts @@ -822,28 +698,42 @@ Info seq [hh:mm:ss:mss] Files (2) Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) + + + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", "command": "open", - "request_seq": 5, + "request_seq": 2, "success": true, "performanceData": { "updateGraphDurationMs": * @@ -866,19 +756,20 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile1.ts: {} -/user/username/projects/myproject/folder/commonFile2.ts: - {} /user/username/projects/myproject/folder/jsconfig.json: {} /user/username/projects/myproject/folder/tsconfig.json: {} Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/inferredProject1* (Inferred) *deleted* projectStateVersion: 2 + projectProgramVersion: 2 + isClosed: true *changed* + isOrphan: true +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 projectProgramVersion: 1 - dirty: false *changed* - isOrphan: false *changed* /user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 @@ -894,24 +785,196 @@ ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* - /dev/null/inferredProject1* + /dev/null/inferredProject2* *new* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/jsconfig.json *deleted* /random/random.ts (Open) *new* - version: SVC-2-0 + version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* *default* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: Text-1 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* -/user/username/projects/myproject/folder/commonFile2.ts *deleted* +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* version: SVC-1-0 containingProjects: 0 *changed* /user/username/projects/myproject/folder/jsconfig.json *deleted* Before request +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/user/username/projects/myproject/folder/commonFile2.ts" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 3, + "success": true + } +After request + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/commonFile2.ts: *new* + {} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/random/random.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/folder/commonFile2.ts *changed* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/random/random.ts" + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 4, + "success": true + } +After request + +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/random/random.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* +/user/username/projects/myproject/folder/commonFile2.ts + version: SVC-1-0 + containingProjects: 0 + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/random/random.ts", + "fileContent": "export const y = 10;" + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /random/random.ts SVC-2-0 "export const y = 10;" + + + ../a/lib/lib.d.ts + Default library for target 'es5' + random.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 5, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatches *deleted*:: +/user/username/projects/myproject/folder/commonFile2.ts: + {} + +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: false *changed* + isOrphan: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/random/random.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/user/username/projects/myproject/folder/commonFile2.ts *deleted* + version: SVC-1-0 + containingProjects: 0 + +Before request + Info seq [hh:mm:ss:mss] request: { "command": "close", @@ -921,7 +984,7 @@ Info seq [hh:mm:ss:mss] request: "seq": 6, "type": "request" } -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -937,7 +1000,7 @@ Info seq [hh:mm:ss:mss] response: After request Projects:: -/dev/null/inferredProject1* (Inferred) *changed* +/dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 dirty: true *changed* @@ -947,12 +1010,12 @@ ScriptInfos:: /a/lib/lib.d.ts version: Text-1 containingProjects: 1 - /dev/null/inferredProject1* + /dev/null/inferredProject2* /random/random.ts *deleted* open: false *changed* version: SVC-2-0 containingProjects: 0 *changed* - /dev/null/inferredProject1* *deleted* + /dev/null/inferredProject2* *deleted* Before request @@ -1027,41 +1090,18 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "allowJs": true, - "maxNodeModuleJsDepth": 2, - "allowSyntheticDefaultImports": true, - "skipLibCheck": true, - "noEmit": true, - "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" - } -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject3* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" @@ -1070,31 +1110,11 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Part of 'files' list in tsconfig.json + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", - "configFile": "/user/username/projects/myproject/folder/jsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts /random/random.ts @@ -1110,13 +1130,13 @@ Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tscon Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1133,8 +1153,12 @@ After request PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -1149,26 +1173,27 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject1* (Inferred) *deleted* +/dev/null/inferredProject2* (Inferred) *deleted* projectStateVersion: 3 projectProgramVersion: 1 dirty: true isClosed: true *changed* isOrphan: true -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* +/dev/null/inferredProject3* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/folder/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json *new* - /user/username/projects/myproject/folder/jsconfig.json *new* - /dev/null/inferredProject1* *deleted* + /dev/null/inferredProject3* *new* + /dev/null/inferredProject2* *deleted* /user/username/projects/myproject/folder/commonFile1.ts *new* version: Text-2 containingProjects: 1 @@ -1176,27 +1201,35 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* + /dev/null/inferredProject3* *default* 2: Check when file is closed when config file is deleted Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before request //// [/user/username/projects/myproject/folder/tsconfig.json] deleted -Timeout callback:: count: 1 -4: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +5: /user/username/projects/myproject/folder/jsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) +/dev/null/inferredProject3* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 isOrphan: true *changed* + noOpenRef: false *changed* deferredClose: true *changed* Info seq [hh:mm:ss:mss] request: @@ -1208,12 +1241,18 @@ Info seq [hh:mm:ss:mss] request: "seq": 8, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1236,6 +1275,12 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: {} @@ -1249,9 +1294,15 @@ FsWatches:: {} Projects:: +/dev/null/inferredProject3* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true noOpenRef: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 1 @@ -1265,7 +1316,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject3* /user/username/projects/myproject/folder/commonFile1.ts version: Text-2 containingProjects: 1 @@ -1273,8 +1324,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json + containingProjects: 0 *changed* + /dev/null/inferredProject3* *deleted* Before request @@ -1289,9 +1340,9 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject4* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject4* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /random/random.ts SVC-3-0 "export const y = 10;" @@ -1325,6 +1376,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (0) InitialLoadPending + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts @@ -1333,25 +1390,24 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Part of 'files' list in tsconfig.json + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject4*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject4* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1388,12 +1444,19 @@ FsWatches *deleted*:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *new* +/dev/null/inferredProject3* (Inferred) *deleted* + projectStateVersion: 2 + projectProgramVersion: 1 + dirty: true + isClosed: true *changed* + isOrphan: true +/dev/null/inferredProject4* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 0 + dirty: true isClosed: true *changed* noOpenRef: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* @@ -1408,18 +1471,17 @@ ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 containingProjects: 1 *changed* - /dev/null/inferredProject2* *new* + /dev/null/inferredProject4* *new* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + /dev/null/inferredProject3* *deleted* /random/random.ts (Open) *new* version: SVC-3-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject4* *default* /user/username/projects/myproject/folder/commonFile1.ts *deleted* version: Text-2 containingProjects: 0 *changed* /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-2-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js index ea7a44f2cfe..3a1622d2eda 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js @@ -506,7 +506,6 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/com Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -537,9 +536,10 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 @@ -572,11 +572,27 @@ Info seq [hh:mm:ss:mss] Files (2) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Part of 'files' list in tsconfig.json Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -588,7 +604,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -604,13 +620,33 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +FsWatches *deleted*:: +/user/username/projects/myproject/folder/jsconfig.json: + {} + Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/folder/jsconfig.json (Configured) +/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 @@ -618,10 +654,10 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject1* *new* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -630,10 +666,10 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/jsconfig.json *deleted* Before request @@ -650,10 +686,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -661,7 +693,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: @@ -687,17 +719,23 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject1* /random/random.ts (Open) version: SVC-1-0 @@ -710,8 +748,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* + containingProjects: 0 Before request @@ -728,10 +765,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -765,30 +798,14 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} -Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* - ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject1* /random/random.ts (Open) version: SVC-1-0 @@ -801,8 +818,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json + containingProjects: 0 Before request @@ -818,10 +834,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -844,10 +856,6 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* isOrphan: true *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 @@ -856,9 +864,8 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject1* /random/random.ts *deleted* open: false *changed* @@ -871,8 +878,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json + containingProjects: 0 Before request @@ -921,26 +927,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -980,8 +966,6 @@ FsWatches *deleted*:: {} /user/username/projects/myproject/folder/commonFile2.ts: {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -991,11 +975,6 @@ Projects:: projectProgramVersion: 1 dirty: false *changed* isOrphan: false *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 @@ -1008,7 +987,6 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject1* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/folder/jsconfig.json *deleted* /random/random.ts (Open) *new* version: SVC-2-0 containingProjects: 1 @@ -1019,8 +997,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-1-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + containingProjects: 0 Before request @@ -1219,9 +1196,141 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /user/username/projects/myproject/folder/commonFile2.ts SVC-2-0 "let y = 1" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 10, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/jsconfig.json: *new* + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +Projects:: +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/folder/tsconfig.json + /dev/null/inferredProject2* *new* +/user/username/projects/myproject/folder/commonFile1.ts (Open) + version: SVC-2-0 + containingProjects: 1 + /user/username/projects/myproject/folder/tsconfig.json *default* +/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +2: When both files are open and config file is deleted +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file +Before running Timeout callback:: count: 2 +5: /user/username/projects/myproject/folder/jsconfig.json +6: *ensureProjectForOpenFiles* +//// [/user/username/projects/myproject/folder/tsconfig.json] deleted + +Timeout callback:: count: 2 +5: /user/username/projects/myproject/folder/jsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/dev/null/inferredProject2* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + isOrphan: true *changed* + deferredClose: true *changed* + +Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -1229,7 +1338,7 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + "reason": "Change in config file /user/username/projects/myproject/folder/tsconfig.json detected, Creating possible configured project for /user/username/projects/myproject/folder/commonFile1.ts to open" } } Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { @@ -1245,6 +1354,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconf "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" } } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots @@ -1280,100 +1391,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "triggerFile": "/user/username/projects/myproject/folder/jsconfig.json", "configFile": "/user/username/projects/myproject/folder/jsconfig.json", "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "open", - "request_seq": 10, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } - } -After request - -PolledWatches:: -/user/username/projects/myproject/folder/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/folder/jsconfig.json: *new* - {} -/user/username/projects/myproject/folder/tsconfig.json: - {} - -Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - -ScriptInfos:: -/a/lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 2 *changed* - /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json *new* -/user/username/projects/myproject/folder/commonFile1.ts (Open) - version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) *new* - version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* - -2: When both files are open and config file is deleted -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* -//// [/user/username/projects/myproject/folder/tsconfig.json] deleted - -Timeout callback:: count: 1 -5: *ensureProjectForOpenFiles* *new* - -Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true *changed* - deferredClose: true *changed* - -Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) @@ -1383,23 +1405,20 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/jsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -1448,15 +1467,21 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/jsconfig.json: *new* - {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} *new* /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/tsconfig.json: *new* - {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: {} @@ -1466,12 +1491,13 @@ FsWatches:: {} Projects:: -/dev/null/inferredProject2* (Inferred) *new* +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/jsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 + projectProgramVersion: 1 *changed* + dirty: false *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1483,17 +1509,18 @@ ScriptInfos:: version: Text-1 containingProjects: 3 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json - /dev/null/inferredProject2* *new* + /dev/null/inferredProject2* + /user/username/projects/myproject/folder/jsconfig.json *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) *changed* version: SVC-2-0 containingProjects: 2 *changed* /dev/null/inferredProject2* *default* *new* /user/username/projects/myproject/folder/tsconfig.json -/user/username/projects/myproject/folder/commonFile2.ts (Open) +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* + containingProjects: 1 *changed* + /user/username/projects/myproject/folder/jsconfig.json *default* *new* + /dev/null/inferredProject2* *deleted* Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/folder/tsconfig.json @@ -1502,8 +1529,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/folder/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/folder/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Config file Before running Timeout callback:: count: 2 -6: /user/username/projects/myproject/folder/tsconfig.json -7: *ensureProjectForOpenFiles* +7: /user/username/projects/myproject/folder/tsconfig.json +8: *ensureProjectForOpenFiles* //// [/user/username/projects/myproject/folder/tsconfig.json] { "files": [ @@ -1513,13 +1540,13 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -6: /user/username/projects/myproject/folder/tsconfig.json *new* -7: *ensureProjectForOpenFiles* *new* +7: /user/username/projects/myproject/folder/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject2* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 + projectStateVersion: 2 + projectProgramVersion: 2 /user/username/projects/myproject/folder/jsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1591,11 +1618,10 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/com Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2*,/user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1659,12 +1685,13 @@ FsWatches:: Projects:: /dev/null/inferredProject2* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 3 *changed* isOrphan: true *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) +/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 + noOpenRef: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 @@ -1715,6 +1742,26 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /user/username/projects/myproject/folder/commonFile2.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + commonFile2.ts + Part of 'files' list in tsconfig.json + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1730,10 +1777,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1743,7 +1786,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: @@ -1759,18 +1802,38 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/folder/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/folder/tsconfig.json: + {} + +FsWatches *deleted*:: +/user/username/projects/myproject/folder/jsconfig.json: + {} + Projects:: /dev/null/inferredProject2* (Inferred) *deleted* - projectStateVersion: 2 - projectProgramVersion: 2 + projectStateVersion: 3 + projectProgramVersion: 3 isClosed: true *changed* isOrphan: true /dev/null/inferredProject3* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/folder/jsconfig.json (Configured) +/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 @@ -1778,10 +1841,10 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* + containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject3* *new* + /user/username/projects/myproject/folder/jsconfig.json *deleted* /random/random.ts (Open) *new* version: SVC-3-0 containingProjects: 1 @@ -1790,10 +1853,10 @@ ScriptInfos:: version: SVC-2-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* -/user/username/projects/myproject/folder/commonFile2.ts (Open) +/user/username/projects/myproject/folder/commonFile2.ts (Open) *changed* version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* + containingProjects: 0 *changed* + /user/username/projects/myproject/folder/jsconfig.json *deleted* Before request @@ -1810,10 +1873,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1821,7 +1880,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] response: @@ -1847,17 +1906,23 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile1.ts: *new* {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} +Projects:: +/dev/null/inferredProject3* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 1 + noOpenRef: true *changed* + ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject3* /random/random.ts (Open) version: SVC-3-0 @@ -1870,8 +1935,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts (Open) version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* + containingProjects: 0 Before request @@ -1888,10 +1952,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -1925,30 +1985,14 @@ FsWatches:: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} -Projects:: -/dev/null/inferredProject3* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* -/user/username/projects/myproject/folder/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - noOpenRef: true *changed* - ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject3* /random/random.ts (Open) version: SVC-3-0 @@ -1961,8 +2005,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json + containingProjects: 0 Before request @@ -1978,10 +2021,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -2004,10 +2043,6 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* isOrphan: true *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 2 projectProgramVersion: 1 @@ -2016,9 +2051,8 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 + containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json /dev/null/inferredProject3* /random/random.ts *deleted* open: false *changed* @@ -2031,8 +2065,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json /user/username/projects/myproject/folder/commonFile2.ts version: SVC-2-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json + containingProjects: 0 Before request @@ -2081,26 +2114,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts - /user/username/projects/myproject/folder/commonFile2.ts - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - commonFile2.ts - Part of 'files' list in tsconfig.json - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject3*' (Inferred) @@ -2140,8 +2153,6 @@ FsWatches *deleted*:: {} /user/username/projects/myproject/folder/commonFile2.ts: {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} @@ -2151,11 +2162,6 @@ Projects:: projectProgramVersion: 1 dirty: false *changed* isOrphan: false *changed* -/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true /user/username/projects/myproject/folder/tsconfig.json (Configured) *deleted* projectStateVersion: 2 projectProgramVersion: 1 @@ -2168,7 +2174,6 @@ ScriptInfos:: containingProjects: 1 *changed* /dev/null/inferredProject3* /user/username/projects/myproject/folder/tsconfig.json *deleted* - /user/username/projects/myproject/folder/jsconfig.json *deleted* /random/random.ts (Open) *new* version: SVC-4-0 containingProjects: 1 @@ -2179,8 +2184,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/tsconfig.json *deleted* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-2-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + containingProjects: 0 Before request @@ -2395,8 +2399,8 @@ FsWatches:: {} Timeout callback:: count: 2 -8: /user/username/projects/myproject/folder/jsconfig.json *new* -9: *ensureProjectForOpenFiles* *new* +9: /user/username/projects/myproject/folder/jsconfig.json *new* +10: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/jsconfig.json (Configured) *new* @@ -3048,10 +3052,10 @@ FsWatches:: {} Timeout callback:: count: 2 -8: /user/username/projects/myproject/folder/jsconfig.json *deleted* -9: *ensureProjectForOpenFiles* *deleted* -10: /user/username/projects/myproject/folder/jsconfig.json *new* -11: *ensureProjectForOpenFiles* *new* +9: /user/username/projects/myproject/folder/jsconfig.json *deleted* +10: *ensureProjectForOpenFiles* *deleted* +11: /user/username/projects/myproject/folder/jsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/jsconfig.json (Configured) *new* @@ -3885,10 +3889,10 @@ FsWatches:: {} Timeout callback:: count: 2 -10: /user/username/projects/myproject/folder/jsconfig.json *deleted* -11: *ensureProjectForOpenFiles* *deleted* -12: /user/username/projects/myproject/folder/jsconfig.json *new* -13: *ensureProjectForOpenFiles* *new* +11: /user/username/projects/myproject/folder/jsconfig.json *deleted* +12: *ensureProjectForOpenFiles* *deleted* +13: /user/username/projects/myproject/folder/jsconfig.json *new* +14: *ensureProjectForOpenFiles* *new* Projects:: /user/username/projects/myproject/folder/jsconfig.json (Configured) *new* @@ -4703,41 +4707,29 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/folder/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", - "event": "projectLoadingStart", + "event": "configFileDiag", "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json", - "reason": "Creating possible configured project for /user/username/projects/myproject/folder/commonFile2.ts to open" + "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", + "configFile": "/user/username/projects/myproject/folder/tsconfig.json", + "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/folder/jsconfig.json : { - "rootNames": [ - "/user/username/projects/myproject/folder/commonFile2.ts" - ], - "options": { - "allowJs": true, - "maxNodeModuleJsDepth": 2, - "allowSyntheticDefaultImports": true, - "skipLibCheck": true, - "noEmit": true, - "configFilePath": "/user/username/projects/myproject/folder/jsconfig.json" - } -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/folder/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject7* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /user/username/projects/myproject/folder/commonFile2.ts SVC-6-0 "let y = 1" @@ -4746,34 +4738,14 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Part of 'files' list in tsconfig.json + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/user/username/projects/myproject/folder/jsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/projects/myproject/folder/commonFile2.ts", - "configFile": "/user/username/projects/myproject/folder/jsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -4781,7 +4753,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile2.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/jsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject7* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -4798,8 +4770,12 @@ After request PolledWatches:: /user/username/projects/myproject/folder/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -4812,7 +4788,7 @@ FsWatches:: {} Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *new* +/dev/null/inferredProject7* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/folder/tsconfig.json (Configured) @@ -4824,7 +4800,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json *new* + /dev/null/inferredProject7* *new* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 @@ -4832,7 +4808,7 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts (Open) *new* version: SVC-6-0 containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json *default* + /dev/null/inferredProject7* *default* Before request @@ -4845,12 +4821,15 @@ Info seq [hh:mm:ss:mss] request: "seq": 41, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -4875,21 +4854,30 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: {} /user/username/projects/myproject/folder/commonFile2.ts: *new* {} -/user/username/projects/myproject/folder/jsconfig.json: - {} /user/username/projects/myproject/folder/tsconfig.json: {} +FsWatches *deleted*:: +/user/username/projects/myproject/folder/jsconfig.json: + {} + Projects:: -/user/username/projects/myproject/folder/jsconfig.json (Configured) *changed* - projectStateVersion: 1 +/dev/null/inferredProject7* (Inferred) *changed* + projectStateVersion: 2 *changed* projectProgramVersion: 1 - noOpenRef: true *changed* + dirty: true *changed* + isOrphan: true *changed* /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -4899,7 +4887,7 @@ ScriptInfos:: version: Text-1 containingProjects: 2 /user/username/projects/myproject/folder/tsconfig.json - /user/username/projects/myproject/folder/jsconfig.json + /dev/null/inferredProject7* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 @@ -4907,8 +4895,8 @@ ScriptInfos:: /user/username/projects/myproject/folder/commonFile2.ts *changed* open: false *changed* version: SVC-6-0 - containingProjects: 1 - /user/username/projects/myproject/folder/jsconfig.json + containingProjects: 0 *changed* + /dev/null/inferredProject7* *deleted* Before request @@ -4923,9 +4911,9 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /random/random.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject7* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject7* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject8* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject8* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /random/random.ts SVC-10-0 "export const y = 10;" @@ -4938,7 +4926,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/jsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts /user/username/projects/myproject/folder/commonFile2.ts @@ -4947,22 +4935,21 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts Default library for target 'es5' commonFile2.ts - Part of 'files' list in tsconfig.json + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/jsconfig.json 2000 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/folder/jsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject7* WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/folder/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/folder/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject7*' (Inferred) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject8*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -4970,7 +4957,7 @@ Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/folder/commonFile1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/folder/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /random/random.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject7* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject8* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -5001,18 +4988,17 @@ FsWatches:: FsWatches *deleted*:: /user/username/projects/myproject/folder/commonFile2.ts: {} -/user/username/projects/myproject/folder/jsconfig.json: - {} Projects:: -/dev/null/inferredProject7* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/user/username/projects/myproject/folder/jsconfig.json (Configured) *deleted* - projectStateVersion: 1 +/dev/null/inferredProject7* (Inferred) *deleted* + projectStateVersion: 2 projectProgramVersion: 1 + dirty: true isClosed: true *changed* - noOpenRef: true + isOrphan: true +/dev/null/inferredProject8* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /user/username/projects/myproject/folder/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -5022,17 +5008,16 @@ ScriptInfos:: version: Text-1 containingProjects: 2 *changed* /user/username/projects/myproject/folder/tsconfig.json - /dev/null/inferredProject7* *new* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + /dev/null/inferredProject8* *new* + /dev/null/inferredProject7* *deleted* /random/random.ts (Open) *new* version: SVC-10-0 containingProjects: 1 - /dev/null/inferredProject7* *default* + /dev/null/inferredProject8* *default* /user/username/projects/myproject/folder/commonFile1.ts (Open) version: SVC-6-0 containingProjects: 1 /user/username/projects/myproject/folder/tsconfig.json *default* /user/username/projects/myproject/folder/commonFile2.ts *deleted* version: SVC-6-0 - containingProjects: 0 *changed* - /user/username/projects/myproject/folder/jsconfig.json *deleted* + containingProjects: 0 diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 8af34cb8301..e2a04fb58a2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -226,8 +226,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts +Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected excluded file: /user/username/projects/myproject/src/sub/fooBar.ts Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index 4a38cc9ae2c..0411053ee8f 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -234,6 +234,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -277,6 +280,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Timeout callback:: count: 2 +1: /user/username/projects/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +3: /user/username/projects/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -319,16 +328,16 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -3: checkOne *new* +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +5: checkOne *new* Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -3: checkOne +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +5: checkOne -Invoking Timeout callback:: timeoutId:: 3:: checkOne +Invoking Timeout callback:: timeoutId:: 5:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -378,16 +387,16 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -4: checkOne *new* +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +6: checkOne *new* Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -4: checkOne +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +6: checkOne -Invoking Timeout callback:: timeoutId:: 4:: checkOne +Invoking Timeout callback:: timeoutId:: 6:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index 7646fd9a9da..c5bd3905e41 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -226,8 +226,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts +Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected excluded file: /user/username/projects/myproject/src/sub/fooBar.ts Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index d7e068a3c54..501cfd003cc 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -234,6 +234,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -277,6 +280,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Timeout callback:: count: 2 +1: /user/username/projects/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +3: /user/username/projects/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -319,16 +328,16 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -3: checkOne *new* +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +5: checkOne *new* Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -3: checkOne +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +5: checkOne -Invoking Timeout callback:: timeoutId:: 3:: checkOne +Invoking Timeout callback:: timeoutId:: 5:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -378,16 +387,16 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -4: checkOne *new* +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +6: checkOne *new* Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -4: checkOne +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +6: checkOne -Invoking Timeout callback:: timeoutId:: 4:: checkOne +Invoking Timeout callback:: timeoutId:: 6:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index db331963e41..073a7b8e4b1 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -220,8 +220,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts +Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected excluded file: /user/username/projects/myproject/src/sub/fooBar.ts Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index a5e3529fddf..501210b95d4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -217,8 +217,13 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -315,12 +320,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Timeout callback:: count: 2 +1: /user/username/projects/myproject/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* projectProgramVersion: 1 ScriptInfos:: @@ -343,8 +352,8 @@ ScriptInfos:: /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] @@ -352,15 +361,17 @@ export function fooBar() { } Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +1: /user/username/projects/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +3: /user/username/projects/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* + projectStateVersion: 3 *changed* projectProgramVersion: 1 dirty: true *changed* @@ -380,23 +391,23 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -3: checkOne *new* +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +5: checkOne *new* Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -3: checkOne +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +5: checkOne -Invoking Timeout callback:: timeoutId:: 3:: checkOne +Invoking Timeout callback:: timeoutId:: 5:: checkOne Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -471,7 +482,7 @@ Projects:: dirty: true *changed* isOrphan: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 + projectStateVersion: 3 projectProgramVersion: 2 *changed* dirty: false *changed* @@ -529,16 +540,16 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -4: checkOne *new* +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +6: checkOne *new* Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -4: checkOne +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +6: checkOne -Invoking Timeout callback:: timeoutId:: 4:: checkOne +Invoking Timeout callback:: timeoutId:: 6:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index eceac628b46..a6600ea0505 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -220,8 +220,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts +Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected excluded file: /user/username/projects/myproject/src/sub/fooBar.ts Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index de120b1b825..44e521cb471 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -217,8 +217,13 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/src/sub/fooBar.ts +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: /user/username/projects/myproject:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -315,12 +320,16 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Timeout callback:: count: 2 +1: /user/username/projects/myproject/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) - projectStateVersion: 1 +/user/username/projects/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* projectProgramVersion: 1 ScriptInfos:: @@ -343,8 +352,8 @@ ScriptInfos:: /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/sub/fooBar.ts :: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] @@ -352,15 +361,17 @@ export function fooBar() { } Timeout callback:: count: 2 -1: /user/username/projects/myproject/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +1: /user/username/projects/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +3: /user/username/projects/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* + projectStateVersion: 3 *changed* projectProgramVersion: 1 dirty: true *changed* @@ -380,16 +391,16 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -3: checkOne *new* +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +5: checkOne *new* Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -3: checkOne +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +5: checkOne -Invoking Timeout callback:: timeoutId:: 3:: checkOne +Invoking Timeout callback:: timeoutId:: 5:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -439,23 +450,23 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -4: checkOne *new* +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +6: checkOne *new* Before running Timeout callback:: count: 3 -1: /user/username/projects/myproject/tsconfig.json -2: *ensureProjectForOpenFiles* -4: checkOne +3: /user/username/projects/myproject/tsconfig.json +4: *ensureProjectForOpenFiles* +6: checkOne -Invoking Timeout callback:: timeoutId:: 4:: checkOne +Invoking Timeout callback:: timeoutId:: 6:: checkOne Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" @@ -530,7 +541,7 @@ Projects:: dirty: true *changed* isOrphan: true *changed* /user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 2 + projectStateVersion: 3 projectProgramVersion: 2 *changed* dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js index 4db6182c844..a5e9c1ec37d 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js @@ -73,6 +73,12 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/module2/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/module1/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots @@ -184,14 +190,26 @@ After request PolledWatches:: /user/username/rootfolder/a/b/node_modules/@types: *new* {"pollingInterval":500} +/user/username/rootfolder/a/b/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/a/b/node_modules/module2/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/a/b/package.json: *new* + {"pollingInterval":2000} /user/username/rootfolder/a/b/src/node_modules: *new* {"pollingInterval":500} /user/username/rootfolder/a/b/src/node_modules/@types: *new* {"pollingInterval":500} /user/username/rootfolder/a/node_modules/@types: *new* {"pollingInterval":500} +/user/username/rootfolder/a/package.json: *new* + {"pollingInterval":2000} /user/username/rootfolder/node_modules/@types: *new* {"pollingInterval":500} +/user/username/rootfolder/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js index 9ece68df657..f91375e2762 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js @@ -127,10 +127,11 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/node_modules/@types/typings/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -175,6 +176,10 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +/a/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/node_modules/@types/typings/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js index 6d57cad9c0c..734b681ce57 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server.js @@ -118,7 +118,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js index 24a40c21a5f..aba3abde3b1 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js @@ -244,7 +244,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/commonFile2.ts ProjectRootPath: undefined:: Result: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js index f72b135ae56..f1c639ec516 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js @@ -58,6 +58,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) @@ -202,6 +203,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -262,6 +265,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/a/b/node_modules/package.json: + {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} @@ -411,6 +416,7 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -508,6 +514,7 @@ Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /a/module1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -569,9 +576,15 @@ After running Timeout callback:: count: 0 PolledWatches:: /a/b/node_modules/node_modules/@types: *new* {"pollingInterval":500} +/a/b/node_modules/package.json: + {"pollingInterval":2000} *new* /a/lib/lib.d.ts: {"pollingInterval":500} +PolledWatches *deleted*:: +/a/b/node_modules/package.json: + {"pollingInterval":2000} + FsWatches:: /a/b/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js index e8095fdfeff..fb7dd656e3f 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js @@ -140,7 +140,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js index 1095b3034fc..4abc064ce0c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js @@ -905,7 +905,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/foo/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/foo/lib/index.d.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/foo/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/foo/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/bar/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js index dfae8f63aea..9a71fcaea35 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js @@ -380,6 +380,11 @@ Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/proj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -436,8 +441,18 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/otherfolder/a/b/package.json: *new* + {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/otherfolder/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/node_modules: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index e49a9fe35b3..1e034b6ce89 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -384,6 +384,11 @@ Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/proj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -441,8 +446,18 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/otherfolder/a/b/package.json: *new* + {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/otherfolder/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/node_modules: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 20cf9c1ab3b..c98e063ab18 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -371,6 +371,11 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -409,8 +414,18 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 1 PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/otherfolder/a/b/package.json: *new* + {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/otherfolder/package.json: *new* + {"pollingInterval":2000} +/user/username/rootfolder/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/node_modules: diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js index 4419e7303d6..dbeabd3df4d 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js @@ -141,6 +141,54 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile:: Added:: {"id":6,"path":"c:/a/lib/lib.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/something/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 7, + "path": "c:/projects/myproject/node_modules/something/package.json" + } + } +Custom watchFile:: Added:: {"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 8, + "path": "c:/projects/myproject/node_modules/package.json" + } + } +Custom watchFile:: Added:: {"id":8,"path":"c:/projects/myproject/node_modules/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 9, + "path": "c:/projects/myproject/package.json" + } + } +Custom watchFile:: Added:: {"id":9,"path":"c:/projects/myproject/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 10, + "path": "c:/projects/package.json" + } + } +Custom watchFile:: Added:: {"id":10,"path":"c:/projects/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -148,13 +196,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 7, + "id": 11, "path": "c:/projects/myproject/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -163,13 +211,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 8, + "id": 12, "path": "c:/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -281,8 +329,16 @@ c:/projects/myproject/b.ts: *new* {"event":{"id":3,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/m.ts: *new* {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} +c:/projects/myproject/node_modules/package.json: *new* + {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} +c:/projects/myproject/node_modules/something/package.json: *new* + {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} +c:/projects/myproject/package.json: *new* + {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} +c:/projects/package.json: *new* + {"event":{"id":10,"path":"c:/projects/package.json"}} FsWatchesRecursive:: c:/projects/myproject: *new* @@ -290,9 +346,9 @@ c:/projects/myproject: *new* c:/projects/myproject/node_modules: *new* {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: *new* - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: *new* - {"event":{"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: c:/projects/myproject/tsconfig.json (Configured) *new* @@ -372,11 +428,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 9, + "id": 13, "path": "c:/projects/myproject/c.ts" } } -Custom watchFile:: Added:: {"id":9,"path":"c:/projects/myproject/c.ts"} +Custom watchFile:: Added:: {"id":13,"path":"c:/projects/myproject/c.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -440,11 +496,19 @@ c:/a/lib/lib.d.ts: c:/projects/myproject/b.ts: {"event":{"id":3,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: *new* - {"event":{"id":9,"path":"c:/projects/myproject/c.ts"}} + {"event":{"id":13,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/m.ts: {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} +c:/projects/myproject/node_modules/package.json: + {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} +c:/projects/myproject/node_modules/something/package.json: + {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} +c:/projects/myproject/package.json: + {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} +c:/projects/package.json: + {"event":{"id":10,"path":"c:/projects/package.json"}} FsWatchesRecursive:: c:/projects/myproject: @@ -452,9 +516,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: - {"event":{"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -681,11 +745,19 @@ PolledWatches:: c:/a/lib/lib.d.ts: {"event":{"id":6,"path":"c:/a/lib/lib.d.ts"}} c:/projects/myproject/c.ts: - {"event":{"id":9,"path":"c:/projects/myproject/c.ts"}} + {"event":{"id":13,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/m.ts: {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} +c:/projects/myproject/node_modules/package.json: + {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} +c:/projects/myproject/node_modules/something/package.json: + {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} +c:/projects/myproject/package.json: + {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} +c:/projects/package.json: + {"event":{"id":10,"path":"c:/projects/package.json"}} PolledWatches *deleted*:: c:/projects/myproject/b.ts: @@ -697,9 +769,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: - {"event":{"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: c:/a/lib/lib.d.ts @@ -746,11 +818,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 14, "path": "c:/projects/myproject/b.ts" } } -Custom watchFile:: Added:: {"id":10,"path":"c:/projects/myproject/b.ts"} +Custom watchFile:: Added:: {"id":14,"path":"c:/projects/myproject/b.ts"} Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -772,13 +844,21 @@ PolledWatches:: c:/a/lib/lib.d.ts: {"event":{"id":6,"path":"c:/a/lib/lib.d.ts"}} c:/projects/myproject/b.ts: *new* - {"event":{"id":10,"path":"c:/projects/myproject/b.ts"}} + {"event":{"id":14,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: - {"event":{"id":9,"path":"c:/projects/myproject/c.ts"}} + {"event":{"id":13,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/m.ts: {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} +c:/projects/myproject/node_modules/package.json: + {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} +c:/projects/myproject/node_modules/something/package.json: + {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} +c:/projects/myproject/package.json: + {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} +c:/projects/package.json: + {"event":{"id":10,"path":"c:/projects/package.json"}} FsWatchesRecursive:: c:/projects/myproject: @@ -786,9 +866,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: - {"event":{"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: c:/a/lib/lib.d.ts @@ -817,7 +897,7 @@ c:/projects/myproject/node_modules/something/index.d.ts containingProjects: 1 c:/projects/myproject/tsconfig.json -Custom watchFile:: Triggered:: {"id":9,"path":"c:/projects/myproject/c.ts"}:: c:\projects\myproject\c.ts updated +Custom watchFile:: Triggered:: {"id":13,"path":"c:/projects/myproject/c.ts"}:: c:\projects\myproject\c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated Before running Timeout callback:: count: 0 //// [c:/projects/myproject/c.ts] @@ -832,7 +912,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 9, + "id": 13, "updated": [ "c:\\projects\\myproject\\c.ts" ] @@ -973,7 +1053,7 @@ export class a { prop = "hello"; foo() { return this.prop; } } After running Timeout callback:: count: 0 -Custom watchFile:: Triggered:: {"id":9,"path":"c:/projects/myproject/c.ts"}:: c:\projects\myproject\c.ts updated +Custom watchFile:: Triggered:: {"id":13,"path":"c:/projects/myproject/c.ts"}:: c:\projects\myproject\c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"c:/projects/myproject","recursive":true,"ignoreUpdate":true}:: c:\projects\myproject\c.ts updated Before running Timeout callback:: count: 0 //// [c:/projects/myproject/c.ts] @@ -1005,7 +1085,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 9, + "id": 13, "updated": [ "c:\\projects\\myproject\\c.ts" ] @@ -1077,11 +1157,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 11, + "id": 15, "path": "c:/projects/myproject/d.ts" } } -Custom watchFile:: Added:: {"id":11,"path":"c:/projects/myproject/d.ts"} +Custom watchFile:: Added:: {"id":15,"path":"c:/projects/myproject/d.ts"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/e.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1089,11 +1169,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 12, + "id": 16, "path": "c:/projects/myproject/e.ts" } } -Custom watchFile:: Added:: {"id":12,"path":"c:/projects/myproject/e.ts"} +Custom watchFile:: Added:: {"id":16,"path":"c:/projects/myproject/e.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -1161,17 +1241,25 @@ PolledWatches:: c:/a/lib/lib.d.ts: {"event":{"id":6,"path":"c:/a/lib/lib.d.ts"}} c:/projects/myproject/b.ts: - {"event":{"id":10,"path":"c:/projects/myproject/b.ts"}} + {"event":{"id":14,"path":"c:/projects/myproject/b.ts"}} c:/projects/myproject/c.ts: - {"event":{"id":9,"path":"c:/projects/myproject/c.ts"}} + {"event":{"id":13,"path":"c:/projects/myproject/c.ts"}} c:/projects/myproject/d.ts: *new* - {"event":{"id":11,"path":"c:/projects/myproject/d.ts"}} + {"event":{"id":15,"path":"c:/projects/myproject/d.ts"}} c:/projects/myproject/e.ts: *new* - {"event":{"id":12,"path":"c:/projects/myproject/e.ts"}} + {"event":{"id":16,"path":"c:/projects/myproject/e.ts"}} c:/projects/myproject/m.ts: {"event":{"id":4,"path":"c:/projects/myproject/m.ts"}} +c:/projects/myproject/node_modules/package.json: + {"event":{"id":8,"path":"c:/projects/myproject/node_modules/package.json"}} +c:/projects/myproject/node_modules/something/package.json: + {"event":{"id":7,"path":"c:/projects/myproject/node_modules/something/package.json"}} +c:/projects/myproject/package.json: + {"event":{"id":9,"path":"c:/projects/myproject/package.json"}} c:/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"c:/projects/myproject/tsconfig.json"}} +c:/projects/package.json: + {"event":{"id":10,"path":"c:/projects/package.json"}} FsWatchesRecursive:: c:/projects/myproject: @@ -1179,9 +1267,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"event":{"id":5,"path":"c:/projects/myproject/node_modules","recursive":true}} c:/projects/myproject/node_modules/@types: - {"event":{"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} c:/projects/node_modules/@types: - {"event":{"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js index 1dc5c284f19..423aed5deb9 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js @@ -62,6 +62,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/something/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -111,8 +115,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/something/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -228,8 +240,16 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/something/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -491,8 +511,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/something/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -573,8 +601,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/something/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -839,8 +875,16 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/something/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1097,8 +1141,16 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/something/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js index b56faa94d19..f0e4d7fd84f 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js @@ -141,6 +141,54 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile:: Added:: {"id":6,"path":"/a/lib/lib.d.ts"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/something/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 7, + "path": "/user/username/projects/myproject/node_modules/something/package.json" + } + } +Custom watchFile:: Added:: {"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 8, + "path": "/user/username/projects/myproject/node_modules/package.json" + } + } +Custom watchFile:: Added:: {"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 9, + "path": "/user/username/projects/myproject/package.json" + } + } +Custom watchFile:: Added:: {"id":9,"path":"/user/username/projects/myproject/package.json"} +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 10, + "path": "/user/username/projects/package.json" + } + } +Custom watchFile:: Added:: {"id":10,"path":"/user/username/projects/package.json"} Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -148,13 +196,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 7, + "id": 11, "path": "/user/username/projects/myproject/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -163,13 +211,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createDirectoryWatcher", "body": { - "id": 8, + "id": 12, "path": "/user/username/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory:: Added:: {"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Custom watchDirectory:: Added:: {"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -281,8 +329,16 @@ PolledWatches:: {"event":{"id":3,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/m.ts: *new* {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} +/user/username/projects/myproject/node_modules/package.json: *new* + {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} +/user/username/projects/myproject/node_modules/something/package.json: *new* + {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} +/user/username/projects/myproject/package.json: *new* + {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: *new* {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} +/user/username/projects/package.json: *new* + {"event":{"id":10,"path":"/user/username/projects/package.json"}} FsWatchesRecursive:: /user/username/projects/myproject: *new* @@ -290,9 +346,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: *new* {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: *new* - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: *new* - {"event":{"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* @@ -372,11 +428,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 9, + "id": 13, "path": "/user/username/projects/myproject/c.ts" } } -Custom watchFile:: Added:: {"id":9,"path":"/user/username/projects/myproject/c.ts"} +Custom watchFile:: Added:: {"id":13,"path":"/user/username/projects/myproject/c.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -440,11 +496,19 @@ PolledWatches:: /user/username/projects/myproject/b.ts: {"event":{"id":3,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: *new* - {"event":{"id":9,"path":"/user/username/projects/myproject/c.ts"}} + {"event":{"id":13,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/m.ts: {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} +/user/username/projects/myproject/node_modules/package.json: + {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} +/user/username/projects/myproject/node_modules/something/package.json: + {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} +/user/username/projects/myproject/package.json: + {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} +/user/username/projects/package.json: + {"event":{"id":10,"path":"/user/username/projects/package.json"}} FsWatchesRecursive:: /user/username/projects/myproject: @@ -452,9 +516,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: - {"event":{"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -681,11 +745,19 @@ PolledWatches:: /a/lib/lib.d.ts: {"event":{"id":6,"path":"/a/lib/lib.d.ts"}} /user/username/projects/myproject/c.ts: - {"event":{"id":9,"path":"/user/username/projects/myproject/c.ts"}} + {"event":{"id":13,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/m.ts: {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} +/user/username/projects/myproject/node_modules/package.json: + {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} +/user/username/projects/myproject/node_modules/something/package.json: + {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} +/user/username/projects/myproject/package.json: + {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} +/user/username/projects/package.json: + {"event":{"id":10,"path":"/user/username/projects/package.json"}} PolledWatches *deleted*:: /user/username/projects/myproject/b.ts: @@ -697,9 +769,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: - {"event":{"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: /a/lib/lib.d.ts @@ -746,11 +818,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 10, + "id": 14, "path": "/user/username/projects/myproject/b.ts" } } -Custom watchFile:: Added:: {"id":10,"path":"/user/username/projects/myproject/b.ts"} +Custom watchFile:: Added:: {"id":14,"path":"/user/username/projects/myproject/b.ts"} Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -772,13 +844,21 @@ PolledWatches:: /a/lib/lib.d.ts: {"event":{"id":6,"path":"/a/lib/lib.d.ts"}} /user/username/projects/myproject/b.ts: *new* - {"event":{"id":10,"path":"/user/username/projects/myproject/b.ts"}} + {"event":{"id":14,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: - {"event":{"id":9,"path":"/user/username/projects/myproject/c.ts"}} + {"event":{"id":13,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/m.ts: {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} +/user/username/projects/myproject/node_modules/package.json: + {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} +/user/username/projects/myproject/node_modules/something/package.json: + {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} +/user/username/projects/myproject/package.json: + {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} +/user/username/projects/package.json: + {"event":{"id":10,"path":"/user/username/projects/package.json"}} FsWatchesRecursive:: /user/username/projects/myproject: @@ -786,9 +866,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: - {"event":{"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} ScriptInfos:: /a/lib/lib.d.ts @@ -817,7 +897,7 @@ ScriptInfos:: containingProjects: 1 /user/username/projects/myproject/tsconfig.json -Custom watchFile:: Triggered:: {"id":9,"path":"/user/username/projects/myproject/c.ts"}:: /user/username/projects/myproject/c.ts updated +Custom watchFile:: Triggered:: {"id":13,"path":"/user/username/projects/myproject/c.ts"}:: /user/username/projects/myproject/c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/c.ts] @@ -832,7 +912,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 9, + "id": 13, "updated": [ "/user/username/projects/myproject/c.ts" ] @@ -973,7 +1053,7 @@ export class a { prop = "hello"; foo() { return this.prop; } } After running Timeout callback:: count: 0 -Custom watchFile:: Triggered:: {"id":9,"path":"/user/username/projects/myproject/c.ts"}:: /user/username/projects/myproject/c.ts updated +Custom watchFile:: Triggered:: {"id":13,"path":"/user/username/projects/myproject/c.ts"}:: /user/username/projects/myproject/c.ts updated Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/user/username/projects/myproject","recursive":true,"ignoreUpdate":true}:: /user/username/projects/myproject/c.ts updated Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/c.ts] @@ -1005,7 +1085,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 9, + "id": 13, "updated": [ "/user/username/projects/myproject/c.ts" ] @@ -1077,11 +1157,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 11, + "id": 15, "path": "/user/username/projects/myproject/d.ts" } } -Custom watchFile:: Added:: {"id":11,"path":"/user/username/projects/myproject/d.ts"} +Custom watchFile:: Added:: {"id":15,"path":"/user/username/projects/myproject/d.ts"} Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/e.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1089,11 +1169,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "createFileWatcher", "body": { - "id": 12, + "id": 16, "path": "/user/username/projects/myproject/e.ts" } } -Custom watchFile:: Added:: {"id":12,"path":"/user/username/projects/myproject/e.ts"} +Custom watchFile:: Added:: {"id":16,"path":"/user/username/projects/myproject/e.ts"} Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 5 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -1161,17 +1241,25 @@ PolledWatches:: /a/lib/lib.d.ts: {"event":{"id":6,"path":"/a/lib/lib.d.ts"}} /user/username/projects/myproject/b.ts: - {"event":{"id":10,"path":"/user/username/projects/myproject/b.ts"}} + {"event":{"id":14,"path":"/user/username/projects/myproject/b.ts"}} /user/username/projects/myproject/c.ts: - {"event":{"id":9,"path":"/user/username/projects/myproject/c.ts"}} + {"event":{"id":13,"path":"/user/username/projects/myproject/c.ts"}} /user/username/projects/myproject/d.ts: *new* - {"event":{"id":11,"path":"/user/username/projects/myproject/d.ts"}} + {"event":{"id":15,"path":"/user/username/projects/myproject/d.ts"}} /user/username/projects/myproject/e.ts: *new* - {"event":{"id":12,"path":"/user/username/projects/myproject/e.ts"}} + {"event":{"id":16,"path":"/user/username/projects/myproject/e.ts"}} /user/username/projects/myproject/m.ts: {"event":{"id":4,"path":"/user/username/projects/myproject/m.ts"}} +/user/username/projects/myproject/node_modules/package.json: + {"event":{"id":8,"path":"/user/username/projects/myproject/node_modules/package.json"}} +/user/username/projects/myproject/node_modules/something/package.json: + {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/something/package.json"}} +/user/username/projects/myproject/package.json: + {"event":{"id":9,"path":"/user/username/projects/myproject/package.json"}} /user/username/projects/myproject/tsconfig.json: {"event":{"id":1,"path":"/user/username/projects/myproject/tsconfig.json"}} +/user/username/projects/package.json: + {"event":{"id":10,"path":"/user/username/projects/package.json"}} FsWatchesRecursive:: /user/username/projects/myproject: @@ -1179,9 +1267,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {"event":{"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true}} /user/username/projects/myproject/node_modules/@types: - {"event":{"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} /user/username/projects/node_modules/@types: - {"event":{"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} + {"event":{"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true}} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js index 2ddfc1bd386..a4a294f32d3 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js +++ b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js @@ -446,8 +446,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js index b4666aa41b0..c8a5befff99 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js @@ -446,8 +446,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js index b27cba8db36..8f76fafdaa7 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js @@ -509,8 +509,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/packages/lib/index", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js index fc363d52079..ff509b8f6ca 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js @@ -516,8 +516,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/packages/lib/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "foo", diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js index c517b823263..29f5b922233 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js @@ -446,8 +446,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js index ea9e22168b7..2d910e6fd0e 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js @@ -297,10 +297,10 @@ Info seq [hh:mm:ss:mss] response: "kind": "method", "kindModifiers": "abstract", "sortText": "11", - "insertText": "render(): Element {\n}", - "filterText": "render", + "source": "ClassMemberSnippet/", "hasAction": true, - "source": "ClassMemberSnippet/" + "insertText": "render(): Element {\n}", + "filterText": "render" }, { "name": "abstract", @@ -573,10 +573,10 @@ Info seq [hh:mm:ss:mss] response: "kind": "method", "kindModifiers": "abstract", "sortText": "11", - "insertText": "render2(): Element {\n}", - "filterText": "render2", + "source": "ClassMemberSnippet/", "hasAction": true, - "source": "ClassMemberSnippet/" + "insertText": "render2(): Element {\n}", + "filterText": "render2" }, { "name": "abstract", diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js index 6968fff60b0..e4e565a46b4 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js @@ -446,8 +446,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js index 06c5f6d2738..57886986a16 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js @@ -446,8 +446,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js index 91801ea76c5..4ae3e6a63cc 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js @@ -446,8 +446,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js index 1ef2f568377..1a4c615ee04 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js @@ -509,8 +509,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/packages/lib/index", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", @@ -660,8 +660,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/packages/lib/index", + "hasAction": true, "data": { "exportName": "food", "exportMapKey": "4 * food ", diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js index cc2665fc69c..7cc8291bf1a 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js @@ -516,8 +516,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/packages/lib/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "foo", @@ -672,8 +672,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/packages/lib/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "food", diff --git a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js index 80f5ffcc43d..b3892e50224 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing-with-lazyConfiguredProjectsFromExternalProject.js @@ -176,7 +176,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /A/B/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js index 892d1b5b303..6de1f07bebe 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-handle-tsconfig-file-name-with-difference-casing.js @@ -178,7 +178,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/app.ts ProjectRootPath: undefined:: Result: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /A/B/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js index 9cd40115a66..7e9c6d07acf 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js @@ -231,8 +231,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 3, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/javascript.js +Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/javascript.js Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/javascript.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 1031918b6d2..ea319c3918a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -89,6 +89,11 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/fp-ts/lib/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/fp-ts/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -210,8 +215,18 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/node_modules/fp-ts/lib/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules/fp-ts/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js index f7a1f70f149..f35004be5e6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -124,7 +124,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /common/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js index d84a83c9b3a..077044c130b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -268,7 +268,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js index ebf3de0f85b..6d936d685b0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -268,7 +268,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js index fb450598ddb..30a22b44052 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -126,7 +126,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /common/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js index 64824840cf1..fdc835d1140 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -268,7 +268,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js index 5ce32a02172..90597c55a7f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -240,7 +240,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js index 66bc166c838..5ca2e451ff0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -240,7 +240,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js index 4e538ae364a..c03e1ef9021 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -231,7 +231,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /packages/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js index 4429b6f3c85..76e6497e379 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js @@ -150,6 +150,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -200,6 +201,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/project/node_modules/aws-sdk/clients/package.json: *new* + {"pollingInterval":2000} /project/node_modules/aws-sdk/clients/s3.d.ts: *new* {"pollingInterval":500} /project/node_modules/aws-sdk/index.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js index fe7fe2c3e2e..611606b2d7a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js @@ -150,6 +150,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -200,6 +201,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/project/node_modules/aws-sdk/clients/package.json: *new* + {"pollingInterval":2000} /project/node_modules/aws-sdk/clients/s3.d.ts: *new* {"pollingInterval":500} /project/node_modules/aws-sdk/index.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js index d694ef92464..b12701df83a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js @@ -150,6 +150,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/nod Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/clients/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -194,6 +195,8 @@ Info seq [hh:mm:ss:mss] response: } After Request watchedFiles:: +//tsclient/project/node_modules/aws-sdk/clients/package.json: *new* + {"pollingInterval":2000} //tsclient/project/node_modules/aws-sdk/clients/s3.d.ts: *new* {"pollingInterval":500} //tsclient/project/node_modules/aws-sdk/index.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js index 538aa1504f1..6ee021c2122 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js @@ -170,6 +170,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/package.json Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -223,6 +224,8 @@ watchedFiles:: {"pollingInterval":500} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/jsconfig.json: {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/package.json: *new* + {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.json: {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js index 113b79e8a67..c841aa010ae 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js @@ -209,6 +209,8 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/@remix-run/server-runtime/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/@remix-run/server-runtime/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -265,6 +267,8 @@ c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/index.d.ts: *new* {"pollingInterval":500} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/jsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/package.json: *new* + {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.json: {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.json: @@ -275,6 +279,8 @@ c:/project/node_modules/.store/tsconfig.json: {"pollingInterval":2000} c:/project/node_modules/@remix-run/server-runtime/index.d.ts: *new* {"pollingInterval":500} +c:/project/node_modules/@remix-run/server-runtime/package.json: *new* + {"pollingInterval":2000} c:/project/node_modules/jsconfig.json: {"pollingInterval":2000} c:/project/node_modules/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js index 02833ce2822..68234c85376 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js @@ -184,6 +184,7 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_m Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/clients/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -234,6 +235,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +c:/project/node_modules/aws-sdk/clients/package.json: *new* + {"pollingInterval":2000} c:/project/node_modules/aws-sdk/clients/s3.d.ts: *new* {"pollingInterval":500} c:/project/node_modules/aws-sdk/index.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js new file mode 100644 index 00000000000..6bd0ddc3b68 --- /dev/null +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js @@ -0,0 +1,733 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +//// [/index.ts] +import { useState } from "react"; +useMemo + +//// [/lib.d.ts] +lib.d.ts-Text + +//// [/lib.decorators.d.ts] +lib.decorators.d.ts-Text + +//// [/lib.decorators.legacy.d.ts] +lib.decorators.legacy.d.ts-Text + +//// [/node_modules/@types/react/index.d.ts] +export declare function useMemo(): void; +export declare function useState(): void; + +//// [/package.json] +{} + + +Info seq [hh:mm:ss:mss] request: + { + "seq": 0, + "type": "request", + "arguments": { + "file": "/node_modules/@types/react/index.d.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@types/react/index.d.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" + + + ../../../lib.d.ts + Default library for target 'es5' + ../../../lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../lib.d.ts' + ../../../lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../lib.d.ts' + index.d.ts + Root file specified for compilation + Entry point for implicit type library 'react' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /node_modules/@types/react/index.d.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 0, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/lib.d.ts: *new* + {"pollingInterval":500} +/lib.decorators.d.ts: *new* + {"pollingInterval":500} +/lib.decorators.legacy.d.ts: *new* + {"pollingInterval":500} +/node_modules/@types/react/package.json: *new* + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/node_modules/@types/react/node_modules/@types: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 1, + "type": "request", + "arguments": { + "file": "/index.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" + /index.ts SVC-1-0 "import { useState } from \"react\";\nuseMemo" + + + lib.d.ts + Default library for target 'es5' + lib.decorators.d.ts + Library referenced via 'decorators' from file 'lib.d.ts' + lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file 'lib.d.ts' + node_modules/@types/react/index.d.ts + Imported via "react" from file 'index.ts' + Entry point for implicit type library 'react' + index.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + /lib.d.ts + /lib.decorators.d.ts + /lib.decorators.legacy.d.ts + /node_modules/@types/react/index.d.ts + + + ../../../lib.d.ts + Default library for target 'es5' + ../../../lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../lib.d.ts' + ../../../lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../lib.d.ts' + index.d.ts + Root file specified for compilation + Entry point for implicit type library 'react' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /node_modules/@types/react/index.d.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileName: /index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/lib.d.ts: + {"pollingInterval":500} +/lib.decorators.d.ts: + {"pollingInterval":500} +/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/node_modules/@types/react/package.json: + {"pollingInterval":2000} *new* +/package.json: *new* + {"pollingInterval":250} + +watchedFiles *deleted*:: +/node_modules/@types/react/package.json: + {"pollingInterval":2000} + +watchedDirectoriesRecursive *deleted*:: +/node_modules/@types/react/node_modules/@types: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/node_modules/@types/react/index.d.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 2, + "type": "request", + "arguments": { + "preferences": {} + }, + "command": "configure" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "configure", + "request_seq": 2, + "success": true + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 3, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "syntacticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "syntacticDiagnosticsSync", + "request_seq": 3, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 4, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "semanticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "semanticDiagnosticsSync", + "request_seq": 4, + "success": true, + "body": [ + { + "message": "Cannot find name 'useMemo'.", + "start": 34, + "length": 7, + "category": "error", + "code": 2304, + "startLocation": { + "line": 2, + "offset": 1 + }, + "endLocation": { + "line": 2, + "offset": 8 + } + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 5, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "suggestionDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "suggestionDiagnosticsSync", + "request_seq": 5, + "success": true, + "body": [ + { + "message": "'useState' is declared but its value is never read.", + "start": 0, + "length": 33, + "category": "suggestion", + "code": 6133, + "startLocation": { + "line": 1, + "offset": 1 + }, + "endLocation": { + "line": 1, + "offset": 34 + }, + "reportsUnnecessary": true + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 6, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 2, + "startOffset": 1, + "endLine": 2, + "endOffset": 8, + "errorCodes": [ + 2304 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 6, + "success": true, + "body": [ + { + "fixName": "import", + "description": "Update import from \"react\"", + "changes": [ + { + "fileName": "/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 10 + }, + "end": { + "line": 1, + "offset": 10 + }, + "newText": "useMemo, " + } + ] + } + ] + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 7, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 1, + "startOffset": 1, + "endLine": 1, + "endOffset": 34, + "errorCodes": [ + 6133 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 7, + "success": true, + "body": [ + { + "fixName": "unusedIdentifier", + "description": "Remove import from 'react'", + "changes": [ + { + "fileName": "/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 1 + }, + "end": { + "line": 2, + "offset": 1 + }, + "newText": "" + } + ] + } + ] + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 8, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 10, + "insertString": "useMemo, " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 8, + "success": true + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 9, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 19, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 9, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 10, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 1, + "endLine": 2, + "endOffset": 1, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 10, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 11, + "type": "request", + "arguments": { + "preferences": {} + }, + "command": "configure" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "configure", + "request_seq": 11, + "success": true + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 12, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "syntacticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /index.ts SVC-1-3 "useMemo" + /node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "syntacticDiagnosticsSync", + "request_seq": 12, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + }, + "body": [] + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 13, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "semanticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "semanticDiagnosticsSync", + "request_seq": 13, + "success": true, + "body": [ + { + "message": "Cannot find name 'useMemo'.", + "start": 0, + "length": 7, + "category": "error", + "code": 2304, + "startLocation": { + "line": 1, + "offset": 1 + }, + "endLocation": { + "line": 1, + "offset": 8 + } + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 14, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "suggestionDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "suggestionDiagnosticsSync", + "request_seq": 14, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 15, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 1, + "startOffset": 1, + "endLine": 1, + "endOffset": 8, + "errorCodes": [ + 2304 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 15, + "success": true, + "body": [] + } \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js new file mode 100644 index 00000000000..e1ecc8d4054 --- /dev/null +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js @@ -0,0 +1,3094 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +//// [/index.ts] +useMemo + +//// [/lib.d.ts] +lib.d.ts-Text + +//// [/lib.decorators.d.ts] +lib.decorators.d.ts-Text + +//// [/lib.decorators.legacy.d.ts] +lib.decorators.legacy.d.ts-Text + +//// [/node_modules/@types/react/index.d.ts] +export declare function useMemo(): void; +export declare function useState(): void; + +//// [/package.json] +{} + + +Info seq [hh:mm:ss:mss] request: + { + "seq": 0, + "type": "request", + "arguments": { + "file": "/node_modules/@types/react/index.d.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@types/react/index.d.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" + + + ../../../lib.d.ts + Default library for target 'es5' + ../../../lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../lib.d.ts' + ../../../lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../lib.d.ts' + index.d.ts + Root file specified for compilation + Entry point for implicit type library 'react' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /node_modules/@types/react/index.d.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 0, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/lib.d.ts: *new* + {"pollingInterval":500} +/lib.decorators.d.ts: *new* + {"pollingInterval":500} +/lib.decorators.legacy.d.ts: *new* + {"pollingInterval":500} +/node_modules/@types/react/package.json: *new* + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/node_modules/@types/react/node_modules/@types: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/react/index.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 1, + "type": "request", + "arguments": { + "file": "/index.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /index.ts SVC-1-0 "useMemo" + /node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" + + + lib.d.ts + Default library for target 'es5' + lib.decorators.d.ts + Library referenced via 'decorators' from file 'lib.d.ts' + lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file 'lib.d.ts' + index.ts + Root file specified for compilation + node_modules/@types/react/index.d.ts + Entry point for implicit type library 'react' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + /lib.d.ts + /lib.decorators.d.ts + /lib.decorators.legacy.d.ts + /node_modules/@types/react/index.d.ts + + + ../../../lib.d.ts + Default library for target 'es5' + ../../../lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../lib.d.ts' + ../../../lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../lib.d.ts' + index.d.ts + Root file specified for compilation + Entry point for implicit type library 'react' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /node_modules/@types/react/index.d.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileName: /index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/lib.d.ts: + {"pollingInterval":500} +/lib.decorators.d.ts: + {"pollingInterval":500} +/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/node_modules/@types/react/package.json: + {"pollingInterval":2000} *new* +/package.json: *new* + {"pollingInterval":250} + +watchedFiles *deleted*:: +/node_modules/@types/react/package.json: + {"pollingInterval":2000} + +watchedDirectoriesRecursive *deleted*:: +/node_modules/@types/react/node_modules/@types: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/node_modules/@types/react/index.d.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 2, + "type": "request", + "arguments": { + "preferences": {} + }, + "command": "configure" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "configure", + "request_seq": 2, + "success": true + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 3, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "syntacticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "syntacticDiagnosticsSync", + "request_seq": 3, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 4, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "semanticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "semanticDiagnosticsSync", + "request_seq": 4, + "success": true, + "body": [ + { + "message": "Cannot find name 'useMemo'.", + "start": 0, + "length": 7, + "category": "error", + "code": 2304, + "startLocation": { + "line": 1, + "offset": 1 + }, + "endLocation": { + "line": 1, + "offset": 8 + } + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 5, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "suggestionDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "suggestionDiagnosticsSync", + "request_seq": 5, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 6, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 1, + "startOffset": 1, + "endLine": 1, + "endOffset": 8, + "errorCodes": [ + 2304 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 6, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 7, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 7, + "success": true + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 8, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "i" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 8, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 9, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 2, + "key": "i" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 9, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 10, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 2, + "endLine": 1, + "endOffset": 2, + "insertString": "m" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 10, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 11, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 3, + "key": "m" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 11, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 12, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 3, + "endLine": 1, + "endOffset": 3, + "insertString": "p" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 12, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-4 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 13, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 4, + "key": "p" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 13, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 14, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 4, + "endLine": 1, + "endOffset": 4, + "insertString": "o" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 14, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-5 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 15, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 5, + "key": "o" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 15, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 16, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 5, + "endLine": 1, + "endOffset": 5, + "insertString": "r" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 16, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-6 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 17, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 6, + "key": "r" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 17, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 18, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 6, + "endLine": 1, + "endOffset": 6, + "insertString": "t" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 18, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-7 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 19, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 7, + "key": "t" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 19, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 20, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 7, + "endLine": 1, + "endOffset": 7, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 20, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-8 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 21, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 8, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 21, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 22, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 8, + "endLine": 1, + "endOffset": 8, + "insertString": "{" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 22, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-9 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 23, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 9, + "key": "{" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 23, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 24, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 9, + "endLine": 1, + "endOffset": 9, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 24, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-10 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 25, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 25, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 26, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 10, + "insertString": "u" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 26, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-11 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 27, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 11, + "key": "u" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 27, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 28, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 11, + "endLine": 1, + "endOffset": 11, + "insertString": "s" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 28, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-12 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 29, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 12, + "key": "s" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 29, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 30, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 12, + "endLine": 1, + "endOffset": 12, + "insertString": "e" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 30, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-13 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 31, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 13, + "key": "e" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 31, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 32, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 13, + "endLine": 1, + "endOffset": 13, + "insertString": "S" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 32, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-14 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 33, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 14, + "key": "S" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 33, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 34, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 14, + "endLine": 1, + "endOffset": 14, + "insertString": "t" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 34, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-15 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 35, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 15, + "key": "t" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 35, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 36, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 15, + "endLine": 1, + "endOffset": 15, + "insertString": "a" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 36, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-16 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 37, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 16, + "key": "a" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 37, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 38, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 16, + "endLine": 1, + "endOffset": 16, + "insertString": "t" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 38, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-17 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 39, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 17, + "key": "t" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 39, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 40, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 17, + "endLine": 1, + "endOffset": 17, + "insertString": "e" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 40, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-18 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 41, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 18, + "key": "e" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 41, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 42, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 18, + "endLine": 1, + "endOffset": 18, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 42, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-19 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 43, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 19, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 43, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 44, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 19, + "endLine": 1, + "endOffset": 19, + "insertString": "}" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 44, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-20 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 45, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 20, + "key": "}" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 45, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 46, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 20, + "endLine": 1, + "endOffset": 20, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 46, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-21 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 47, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 21, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 47, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 48, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 21, + "endLine": 1, + "endOffset": 21, + "insertString": "f" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 48, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-22 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 49, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 22, + "key": "f" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 49, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 50, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 22, + "endLine": 1, + "endOffset": 22, + "insertString": "r" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 50, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-23 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 51, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 23, + "key": "r" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 51, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 52, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 23, + "endLine": 1, + "endOffset": 23, + "insertString": "o" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 52, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-24 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 53, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 24, + "key": "o" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 53, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 54, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 24, + "endLine": 1, + "endOffset": 24, + "insertString": "m" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 54, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-25 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 55, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 25, + "key": "m" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 55, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 56, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 25, + "endLine": 1, + "endOffset": 25, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 56, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-26 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 57, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 26, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 57, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 58, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 26, + "endLine": 1, + "endOffset": 26, + "insertString": "\"" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 58, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-27 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 59, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 27, + "key": "\"" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 59, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 60, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 27, + "endLine": 1, + "endOffset": 27, + "insertString": "r" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 60, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-28 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 61, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 28, + "key": "r" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 61, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 62, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 28, + "endLine": 1, + "endOffset": 28, + "insertString": "e" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 62, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-29 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 63, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 29, + "key": "e" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 63, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 64, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 29, + "endLine": 1, + "endOffset": 29, + "insertString": "a" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 64, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-30 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 65, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 30, + "key": "a" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 65, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 66, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 30, + "endLine": 1, + "endOffset": 30, + "insertString": "c" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 66, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-31 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 67, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 31, + "key": "c" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 67, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 68, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 31, + "endLine": 1, + "endOffset": 31, + "insertString": "t" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 68, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-32 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 69, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 32, + "key": "t" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 69, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 70, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 32, + "endLine": 1, + "endOffset": 32, + "insertString": "\"" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 70, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-33 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 71, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 33, + "key": "\"" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 71, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 72, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 33, + "endLine": 1, + "endOffset": 33, + "insertString": ";" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 72, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-34 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 73, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 34, + "key": ";" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 73, + "success": true, + "body": [ + { + "start": { + "line": 1, + "offset": 34 + }, + "end": { + "line": 1, + "offset": 34 + }, + "newText": " " + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 74, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 34, + "endLine": 1, + "endOffset": 34, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 74, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-35 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 75, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 35, + "endLine": 1, + "endOffset": 35, + "insertString": "\n" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 75, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-36 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 76, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 2, + "offset": 1, + "key": "\n" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 76, + "success": true, + "body": [ + { + "start": { + "line": 1, + "offset": 34 + }, + "end": { + "line": 1, + "offset": 35 + }, + "newText": "" + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 77, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 34, + "endLine": 1, + "endOffset": 35, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 77, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-37 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 78, + "type": "request", + "arguments": { + "preferences": {} + }, + "command": "configure" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "configure", + "request_seq": 78, + "success": true + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 79, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "syntacticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" + /index.ts SVC-1-37 "import { useState } from \"react\";\nuseMemo" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "syntacticDiagnosticsSync", + "request_seq": 79, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + }, + "body": [] + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 80, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "semanticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "semanticDiagnosticsSync", + "request_seq": 80, + "success": true, + "body": [ + { + "message": "Cannot find name 'useMemo'.", + "start": 34, + "length": 7, + "category": "error", + "code": 2304, + "startLocation": { + "line": 2, + "offset": 1 + }, + "endLocation": { + "line": 2, + "offset": 8 + } + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 81, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "suggestionDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "suggestionDiagnosticsSync", + "request_seq": 81, + "success": true, + "body": [ + { + "message": "'useState' is declared but its value is never read.", + "start": 0, + "length": 33, + "category": "suggestion", + "code": 6133, + "startLocation": { + "line": 1, + "offset": 1 + }, + "endLocation": { + "line": 1, + "offset": 34 + }, + "reportsUnnecessary": true + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 82, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 2, + "startOffset": 1, + "endLine": 2, + "endOffset": 8, + "errorCodes": [ + 2304 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 82, + "success": true, + "body": [ + { + "fixName": "import", + "description": "Update import from \"react\"", + "changes": [ + { + "fileName": "/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 10 + }, + "end": { + "line": 1, + "offset": 10 + }, + "newText": "useMemo, " + } + ] + } + ] + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 83, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 1, + "startOffset": 1, + "endLine": 1, + "endOffset": 34, + "errorCodes": [ + 6133 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 83, + "success": true, + "body": [ + { + "fixName": "unusedIdentifier", + "description": "Remove import from 'react'", + "changes": [ + { + "fileName": "/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 1 + }, + "end": { + "line": 2, + "offset": 1 + }, + "newText": "" + } + ] + } + ] + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 84, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 10, + "insertString": "useMemo, " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 84, + "success": true + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-38 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 85, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 19, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 85, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-39 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/react/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js new file mode 100644 index 00000000000..00d659a154e --- /dev/null +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js @@ -0,0 +1,3294 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +//// [/index.ts] +readFile + +//// [/lib.d.ts] +lib.d.ts-Text + +//// [/lib.decorators.d.ts] +lib.decorators.d.ts-Text + +//// [/lib.decorators.legacy.d.ts] +lib.decorators.legacy.d.ts-Text + +//// [/node_modules/@types/node/index.d.ts] +declare module "node:fs" { + export function readFile(): void; + export function writeFile(): void; +} + +//// [/package.json] +{} + + +Info seq [hh:mm:ss:mss] request: + { + "seq": 0, + "type": "request", + "arguments": { + "file": "/node_modules/@types/node/index.d.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@types/node/index.d.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/node/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types/node/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /node_modules/@types/node/index.d.ts SVC-1-0 "declare module \"node:fs\" {\n export function readFile(): void;\n export function writeFile(): void;\n}" + + + ../../../lib.d.ts + Default library for target 'es5' + ../../../lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../lib.d.ts' + ../../../lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../lib.d.ts' + index.d.ts + Root file specified for compilation + Entry point for implicit type library 'node' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /node_modules/@types/node/index.d.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 0, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/lib.d.ts: *new* + {"pollingInterval":500} +/lib.decorators.d.ts: *new* + {"pollingInterval":500} +/lib.decorators.legacy.d.ts: *new* + {"pollingInterval":500} +/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/node_modules/@types/node/node_modules/@types: *new* + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/lib.decorators.legacy.d.ts *new* + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject1* +/node_modules/@types/node/index.d.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 1, + "type": "request", + "arguments": { + "file": "/index.ts" + }, + "command": "open" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /index.ts SVC-1-0 "readFile" + /node_modules/@types/node/index.d.ts SVC-1-0 "declare module \"node:fs\" {\n export function readFile(): void;\n export function writeFile(): void;\n}" + + + lib.d.ts + Default library for target 'es5' + lib.decorators.d.ts + Library referenced via 'decorators' from file 'lib.d.ts' + lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file 'lib.d.ts' + index.ts + Root file specified for compilation + node_modules/@types/node/index.d.ts + Entry point for implicit type library 'node' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] `remove Project:: +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (4) + /lib.d.ts + /lib.decorators.d.ts + /lib.decorators.legacy.d.ts + /node_modules/@types/node/index.d.ts + + + ../../../lib.d.ts + Default library for target 'es5' + ../../../lib.decorators.d.ts + Library referenced via 'decorators' from file '../../../lib.d.ts' + ../../../lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../../lib.d.ts' + index.d.ts + Root file specified for compilation + Entry point for implicit type library 'node' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /node_modules/@types/node/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /node_modules/@types/node/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /node_modules/@types/node/index.d.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileName: /index.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After Request +watchedFiles:: +/lib.d.ts: + {"pollingInterval":500} +/lib.decorators.d.ts: + {"pollingInterval":500} +/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/node_modules/@types/node/package.json: + {"pollingInterval":2000} *new* +/package.json: *new* + {"pollingInterval":250} + +watchedFiles *deleted*:: +/node_modules/@types/node/package.json: + {"pollingInterval":2000} + +watchedDirectoriesRecursive *deleted*:: +/node_modules/@types/node/node_modules/@types: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + isClosed: true *changed* + isOrphan: true *changed* +/dev/null/inferredProject2* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/lib.decorators.legacy.d.ts *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *new* + /dev/null/inferredProject1* *deleted* +/node_modules/@types/node/index.d.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 1 *changed* + /dev/null/inferredProject2* *default* *new* + /dev/null/inferredProject1* *deleted* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 2, + "type": "request", + "arguments": { + "preferences": {} + }, + "command": "configure" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "configure", + "request_seq": 2, + "success": true + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 3, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "syntacticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "syntacticDiagnosticsSync", + "request_seq": 3, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 4, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "semanticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "semanticDiagnosticsSync", + "request_seq": 4, + "success": true, + "body": [ + { + "message": "Cannot find name 'readFile'.", + "start": 0, + "length": 8, + "category": "error", + "code": 2304, + "startLocation": { + "line": 1, + "offset": 1 + }, + "endLocation": { + "line": 1, + "offset": 9 + } + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 5, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "suggestionDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "suggestionDiagnosticsSync", + "request_seq": 5, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 6, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 1, + "startOffset": 1, + "endLine": 1, + "endOffset": 9, + "errorCodes": [ + 2304 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 6, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 7, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 7, + "success": true + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 8, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "i" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 8, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-2 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 9, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 2, + "key": "i" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 9, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 10, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 2, + "endLine": 1, + "endOffset": 2, + "insertString": "m" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 10, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-3 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 11, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 3, + "key": "m" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 11, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 12, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 3, + "endLine": 1, + "endOffset": 3, + "insertString": "p" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 12, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-4 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 13, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 4, + "key": "p" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 13, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 14, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 4, + "endLine": 1, + "endOffset": 4, + "insertString": "o" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 14, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-5 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 15, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 5, + "key": "o" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 15, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 16, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 5, + "endLine": 1, + "endOffset": 5, + "insertString": "r" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 16, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-6 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 17, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 6, + "key": "r" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 17, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 18, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 6, + "endLine": 1, + "endOffset": 6, + "insertString": "t" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 18, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-7 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 19, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 7, + "key": "t" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 19, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 20, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 7, + "endLine": 1, + "endOffset": 7, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 20, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-8 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 21, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 8, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 21, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 22, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 8, + "endLine": 1, + "endOffset": 8, + "insertString": "{" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 22, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-9 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 23, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 9, + "key": "{" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 23, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 24, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 9, + "endLine": 1, + "endOffset": 9, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 24, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-10 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 25, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 25, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 26, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 10, + "insertString": "w" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 26, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-11 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 27, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 11, + "key": "w" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 27, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 28, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 11, + "endLine": 1, + "endOffset": 11, + "insertString": "r" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 28, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-12 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 29, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 12, + "key": "r" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 29, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 30, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 12, + "endLine": 1, + "endOffset": 12, + "insertString": "i" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 30, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-13 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 31, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 13, + "key": "i" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 31, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 32, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 13, + "endLine": 1, + "endOffset": 13, + "insertString": "t" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 32, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-14 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 33, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 14, + "key": "t" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 33, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 34, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 14, + "endLine": 1, + "endOffset": 14, + "insertString": "e" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 34, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-15 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 35, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 15, + "key": "e" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 35, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 36, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 15, + "endLine": 1, + "endOffset": 15, + "insertString": "F" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 36, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-16 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 37, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 16, + "key": "F" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 37, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 38, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 16, + "endLine": 1, + "endOffset": 16, + "insertString": "i" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 38, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-17 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 39, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 17, + "key": "i" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 39, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 40, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 17, + "endLine": 1, + "endOffset": 17, + "insertString": "l" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 40, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-18 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 41, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 18, + "key": "l" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 41, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 42, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 18, + "endLine": 1, + "endOffset": 18, + "insertString": "e" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 42, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-19 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 43, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 19, + "key": "e" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 43, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 44, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 19, + "endLine": 1, + "endOffset": 19, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 44, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-20 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 45, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 20, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 45, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 46, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 20, + "endLine": 1, + "endOffset": 20, + "insertString": "}" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 46, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-21 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 47, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 21, + "key": "}" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 47, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 48, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 21, + "endLine": 1, + "endOffset": 21, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 48, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-22 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 49, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 22, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 49, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 50, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 22, + "endLine": 1, + "endOffset": 22, + "insertString": "f" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 50, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-23 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 51, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 23, + "key": "f" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 51, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 52, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 23, + "endLine": 1, + "endOffset": 23, + "insertString": "r" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 52, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-24 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 53, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 24, + "key": "r" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 53, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 54, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 24, + "endLine": 1, + "endOffset": 24, + "insertString": "o" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 54, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-25 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 55, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 25, + "key": "o" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 55, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 56, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 25, + "endLine": 1, + "endOffset": 25, + "insertString": "m" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 56, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-26 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 57, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 26, + "key": "m" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 57, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 58, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 26, + "endLine": 1, + "endOffset": 26, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 58, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-27 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 59, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 27, + "key": " " + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 59, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 60, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 27, + "endLine": 1, + "endOffset": 27, + "insertString": "\"" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 60, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-28 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 61, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 28, + "key": "\"" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 61, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 62, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 28, + "endLine": 1, + "endOffset": 28, + "insertString": "n" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 62, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-29 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 63, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 29, + "key": "n" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 63, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 64, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 29, + "endLine": 1, + "endOffset": 29, + "insertString": "o" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 64, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-30 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 65, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 30, + "key": "o" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 65, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 66, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 30, + "endLine": 1, + "endOffset": 30, + "insertString": "d" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 66, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-31 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 67, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 31, + "key": "d" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 67, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 68, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 31, + "endLine": 1, + "endOffset": 31, + "insertString": "e" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 68, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-32 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 69, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 32, + "key": "e" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 69, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 70, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 32, + "endLine": 1, + "endOffset": 32, + "insertString": ":" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 70, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-33 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 71, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 33, + "key": ":" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 71, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 72, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 33, + "endLine": 1, + "endOffset": 33, + "insertString": "f" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 72, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-34 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 73, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 34, + "key": "f" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 73, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 74, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 34, + "endLine": 1, + "endOffset": 34, + "insertString": "s" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 74, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-35 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 75, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 35, + "key": "s" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 75, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 76, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 35, + "endLine": 1, + "endOffset": 35, + "insertString": "\"" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 76, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-36 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 77, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 36, + "key": "\"" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 77, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 78, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 36, + "endLine": 1, + "endOffset": 36, + "insertString": ";" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 78, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-37 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 79, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 37, + "key": ";" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 79, + "success": true, + "body": [ + { + "start": { + "line": 1, + "offset": 37 + }, + "end": { + "line": 1, + "offset": 37 + }, + "newText": " " + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 80, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 37, + "endLine": 1, + "endOffset": 37, + "insertString": " " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 80, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-38 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 81, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 38, + "endLine": 1, + "endOffset": 38, + "insertString": "\n" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 81, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-39 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 82, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 2, + "offset": 1, + "key": "\n" + }, + "command": "formatonkey" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "formatonkey", + "request_seq": 82, + "success": true, + "body": [ + { + "start": { + "line": 1, + "offset": 37 + }, + "end": { + "line": 1, + "offset": 38 + }, + "newText": "" + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 83, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 37, + "endLine": 1, + "endOffset": 38, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 83, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-40 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 84, + "type": "request", + "arguments": { + "preferences": {} + }, + "command": "configure" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "configure", + "request_seq": 84, + "success": true + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 85, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "syntacticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) +Info seq [hh:mm:ss:mss] Files (5) + /lib.d.ts Text-1 lib.d.ts-Text + /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /index.ts SVC-1-40 "import { writeFile } from \"node:fs\";\nreadFile" + /node_modules/@types/node/index.d.ts SVC-1-0 "declare module \"node:fs\" {\n export function readFile(): void;\n export function writeFile(): void;\n}" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "syntacticDiagnosticsSync", + "request_seq": 85, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + }, + "body": [] + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 86, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "semanticDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "semanticDiagnosticsSync", + "request_seq": 86, + "success": true, + "body": [ + { + "message": "Cannot find name 'readFile'.", + "start": 37, + "length": 8, + "category": "error", + "code": 2304, + "startLocation": { + "line": 2, + "offset": 1 + }, + "endLocation": { + "line": 2, + "offset": 9 + } + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 87, + "type": "request", + "arguments": { + "file": "/index.ts", + "includeLinePosition": true + }, + "command": "suggestionDiagnosticsSync" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "suggestionDiagnosticsSync", + "request_seq": 87, + "success": true, + "body": [ + { + "message": "'writeFile' is declared but its value is never read.", + "start": 0, + "length": 36, + "category": "suggestion", + "code": 6133, + "startLocation": { + "line": 1, + "offset": 1 + }, + "endLocation": { + "line": 1, + "offset": 37 + }, + "reportsUnnecessary": true + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 88, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 2, + "startOffset": 1, + "endLine": 2, + "endOffset": 9, + "errorCodes": [ + 2304 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 88, + "success": true, + "body": [ + { + "fixName": "import", + "description": "Update import from \"node:fs\"", + "changes": [ + { + "fileName": "/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 10 + }, + "end": { + "line": 1, + "offset": 10 + }, + "newText": "readFile, " + } + ] + } + ] + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 89, + "type": "request", + "arguments": { + "file": "/index.ts", + "startLine": 1, + "startOffset": 1, + "endLine": 1, + "endOffset": 37, + "errorCodes": [ + 6133 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 89, + "success": true, + "body": [ + { + "fixName": "unusedIdentifier", + "description": "Remove import from 'node:fs'", + "changes": [ + { + "fileName": "/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 1 + }, + "end": { + "line": 2, + "offset": 1 + }, + "newText": "" + } + ] + } + ] + } + ] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 90, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 10, + "insertString": "readFile, " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 90, + "success": true + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-41 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 91, + "type": "request", + "arguments": { + "file": "/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 20, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 91, + "success": true + } +After Request +ScriptInfos:: +/index.ts (Open) *changed* + version: SVC-1-42 *changed* + containingProjects: 1 + /dev/null/inferredProject2* *default* +/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/node_modules/@types/node/index.d.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject2* *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js index 9e7bdef7c31..be3178f135f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js @@ -175,6 +175,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/forms.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -244,6 +245,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@angular/forms/forms.d.ts: *new* {"pollingInterval":500} +/node_modules/@angular/forms/package.json: *new* + {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /tsconfig.json: *new* @@ -488,6 +491,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@angular/forms/forms.d.ts: {"pollingInterval":500} +/node_modules/@angular/forms/package.json: + {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js index 776852b96e8..2dde8478596 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js @@ -865,8 +865,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/common-dependency/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "CommonDependency", @@ -880,8 +880,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/package-dependency/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "PackageDependency", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js index 5a0b20c22a6..997100ff0cc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js @@ -234,7 +234,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js index 6f6164f9d39..2005389abb8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js @@ -63,6 +63,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/useForm.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -109,6 +110,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/react-hook-form/dist/index.d.ts: *new* {"pollingInterval":500} +/node_modules/react-hook-form/dist/package.json: *new* + {"pollingInterval":2000} /node_modules/react-hook-form/dist/useForm.d.ts: *new* {"pollingInterval":500} /package.json: *new* @@ -181,6 +184,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -228,6 +232,23 @@ Info seq [hh:mm:ss:mss] response: } } After Request +watchedFiles:: +/lib.d.ts: + {"pollingInterval":500} +/lib.decorators.d.ts: + {"pollingInterval":500} +/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/node_modules/react-hook-form/dist/index.d.ts: + {"pollingInterval":500} +/node_modules/react-hook-form/dist/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* +/node_modules/react-hook-form/dist/useForm.d.ts: + {"pollingInterval":500} +/package.json: + {"pollingInterval":250} + Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) projectStateVersion: 1 @@ -452,6 +473,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/react-hook-form/dist/index.d.ts: {"pollingInterval":500} +/node_modules/react-hook-form/dist/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /node_modules/react-hook-form/dist/useForm.d.ts: {"pollingInterval":500} /package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index f32f04a7be8..95e6a36467e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -235,6 +235,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.es2019.symbol.d.t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.es5.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (38) @@ -421,8 +422,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -546,6 +547,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/react/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /tsconfig.json: *new* @@ -834,6 +838,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/react/index.d.ts: {"pollingInterval":500} +/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: @@ -1789,8 +1796,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "Component", "exportMapKey": "9 * Component ", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index b10b6be2858..cd1b8421287 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -145,7 +145,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1208,8 +1207,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "mylib", + "hasAction": true, "sourceDisplay": [ { "text": "mylib", @@ -1228,8 +1227,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "mylib", + "hasAction": true, "sourceDisplay": [ { "text": "mylib", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index 4f892b9479a..e1a1d105cf8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -145,7 +145,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1208,8 +1207,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "mylib", + "hasAction": true, "sourceDisplay": [ { "text": "mylib", @@ -1228,8 +1227,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "mylib", + "hasAction": true, "sourceDisplay": [ { "text": "mylib", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index 7931d8d370f..2f0f434a396 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -132,7 +132,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1056,8 +1055,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency", + "hasAction": true, "sourceDisplay": [ { "text": "dependency", @@ -1078,8 +1077,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency/lol", + "hasAction": true, "sourceDisplay": [ { "text": "dependency/lol", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index fbfc604304f..d4a142d6ade 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -132,7 +132,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -157,6 +156,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -165,6 +165,7 @@ Info seq [hh:mm:ss:mss] Files (1) node_modules/dependency/lib/index.d.ts Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) @@ -204,6 +205,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} +/node_modules/dependency/lib/package.json: *new* + {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /src/foo.ts: *new* @@ -303,6 +306,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} +/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: @@ -410,6 +415,7 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -418,6 +424,7 @@ Info seq [hh:mm:ss:mss] Files (1) node_modules/dependency/lib/index.d.ts Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results @@ -1104,8 +1111,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency", + "hasAction": true, "sourceDisplay": [ { "text": "dependency", @@ -1151,6 +1158,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} +/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 56f9b316706..87afbf905c5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -125,7 +125,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -150,6 +149,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -197,6 +197,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} +/node_modules/dependency/lib/package.json: *new* + {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /src/foo.ts: *new* @@ -296,6 +298,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} +/node_modules/dependency/lib/package.json: + {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: @@ -1104,8 +1108,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency", + "hasAction": true, "sourceDisplay": [ { "text": "dependency", @@ -1153,8 +1157,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/lol.d.ts: *new* {"pollingInterval":500} -/node_modules/dependency/lib/package.json: *new* +/node_modules/dependency/lib/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} *new* /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index 2219024b017..3fee391634a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -128,7 +128,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1047,8 +1046,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency", + "hasAction": true, "sourceDisplay": [ { "text": "dependency", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index 9affb676d51..20df3646425 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -152,7 +152,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -1095,8 +1094,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency", + "hasAction": true, "sourceDisplay": [ { "text": "dependency", @@ -1115,8 +1114,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency/lol", + "hasAction": true, "sourceDisplay": [ { "text": "dependency/lol", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index 2df185f84be..9a337eed810 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -161,7 +161,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -1103,8 +1102,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency", + "hasAction": true, "sourceDisplay": [ { "text": "dependency", @@ -1123,8 +1122,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency/lol", + "hasAction": true, "sourceDisplay": [ { "text": "dependency/lol", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index 4bbcf60d1d0..0f3be23f9e6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -147,7 +147,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1094,8 +1093,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency", + "hasAction": true, "sourceDisplay": [ { "text": "dependency", @@ -1114,8 +1113,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency/lol", + "hasAction": true, "sourceDisplay": [ { "text": "dependency/lol", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index 6b9d3c6d4db..e953ab0ecfd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -146,7 +146,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1094,8 +1093,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency/lol", + "hasAction": true, "sourceDisplay": [ { "text": "dependency/lol", @@ -2041,8 +2040,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency/lol", + "hasAction": true, "sourceDisplay": [ { "text": "dependency/lol", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index c618f4f1da2..fe3b7b00eb8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -136,7 +136,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1067,8 +1066,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "dependency/lol", + "hasAction": true, "sourceDisplay": [ { "text": "dependency/lol", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index c1b8e3de03b..56e8c0e2931 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -231,6 +231,7 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -304,6 +305,7 @@ watchedFiles:: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} *new* /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/tsconfig.json: @@ -990,8 +992,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "react-router-dom", + "hasAction": true, "sourceDisplay": [ { "text": "react-router-dom", @@ -1035,6 +1037,7 @@ watchedFiles:: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: {"pollingInterval":2000} + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js index 7a90e4c4c95..49093217881 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js @@ -136,7 +136,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js index 1a022712a4d..29669e8a4b3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js @@ -124,7 +124,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js index 13b17b6682b..c7018a94f6b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js @@ -124,7 +124,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js index 2ffac7c8db6..335c1022b4f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js @@ -127,7 +127,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js index 23befedc223..1009e7acbb3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js @@ -144,7 +144,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js index 32946e58338..01ffc184f07 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js @@ -175,6 +175,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/fp-ts/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/fp-ts/lib/string.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/fp-ts/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -247,6 +248,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/fp-ts/index.d.ts: *new* {"pollingInterval":500} +/node_modules/fp-ts/lib/package.json: *new* + {"pollingInterval":2000} /node_modules/fp-ts/lib/string.d.ts: *new* {"pollingInterval":500} /package.json: *new* @@ -1227,8 +1230,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "type", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "fp-ts/lib/string", + "hasAction": true, "sourceDisplay": [ { "text": "fp-ts/lib/string", @@ -1249,8 +1252,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "alias", "kindModifiers": "declare", "sortText": "16", - "hasAction": true, "source": "fp-ts", + "hasAction": true, "sourceDisplay": [ { "text": "fp-ts", @@ -1290,6 +1293,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/fp-ts/index.d.ts: {"pollingInterval":500} +/node_modules/fp-ts/lib/package.json: + {"pollingInterval":2000} /node_modules/fp-ts/lib/string.d.ts: {"pollingInterval":500} /package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js index c6f264fdbd7..cbcc1c137bc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -108,7 +108,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -133,6 +132,8 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -182,6 +183,10 @@ watchedFiles:: {"pollingInterval":500} /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts: *new* {"pollingInterval":500} +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json: *new* + {"pollingInterval":2000} +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json: *new* + {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /tsconfig.json: *new* @@ -279,6 +284,10 @@ watchedFiles:: {"pollingInterval":500} /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts: {"pollingInterval":500} +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json: + {"pollingInterval":2000} +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json: + {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: @@ -443,6 +452,8 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -502,6 +513,12 @@ watchedFiles:: {"pollingInterval":500} /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts: {"pollingInterval":500} +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* +/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index d450527844d..3673e20e3bd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -123,7 +123,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js index c509173f6bd..e2d5c70f4a4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js @@ -1112,8 +1112,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "pkg/a1", + "hasAction": true, "sourceDisplay": [ { "text": "pkg/a1", @@ -1134,8 +1134,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "pkg/b/b1.js", + "hasAction": true, "sourceDisplay": [ { "text": "pkg/b/b1.js", @@ -1156,8 +1156,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "pkg/c/c1.js", + "hasAction": true, "sourceDisplay": [ { "text": "pkg/c/c1.js", @@ -1178,8 +1178,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "pkg/c/subfolder/c2.mjs", + "hasAction": true, "sourceDisplay": [ { "text": "pkg/c/subfolder/c2.mjs", @@ -1200,8 +1200,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "pkg/d/d1", + "hasAction": true, "sourceDisplay": [ { "text": "pkg/d/d1", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js index 6ac6c21a97a..0983a25b837 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js @@ -1040,8 +1040,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "pkg/core/test", + "hasAction": true, "sourceDisplay": [ { "text": "pkg/core/test", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js index fe5b62f01fe..62487d91fcc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js @@ -671,8 +671,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "@repo/ui/Card", + "hasAction": true, "sourceDisplay": [ { "text": "@repo/ui/Card", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index 9e64b4bae7d..a008d168b46 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -71,6 +71,8 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/fs-extra/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/fs-extra/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -118,8 +120,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/fs-extra/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -179,8 +182,14 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/fs-extra/index.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/fs-extra/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /node_modules/@types/node/index.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /tsconfig.json: *new* {"pollingInterval":2000} @@ -274,8 +283,14 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/fs-extra/index.d.ts: {"pollingInterval":500} +/node_modules/@types/fs-extra/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /node_modules/@types/node/index.d.ts: {"pollingInterval":500} +/node_modules/@types/node/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} @@ -1045,8 +1060,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "fs", + "hasAction": true, "sourceDisplay": [ { "text": "fs", @@ -1065,8 +1080,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "fs-extra", + "hasAction": true, "sourceDisplay": [ { "text": "fs-extra", @@ -1110,8 +1125,14 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/fs-extra/index.d.ts: {"pollingInterval":500} +/node_modules/@types/fs-extra/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /node_modules/@types/node/index.d.ts: {"pollingInterval":500} +/node_modules/@types/node/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js index cbe3e5e6343..5303b2d3b42 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js @@ -133,7 +133,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js index 619afb166eb..73ceaf2f73e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js @@ -882,8 +882,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "package-b", + "hasAction": true, "sourceDisplay": [ { "text": "package-b", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index 1e74948c6c6..40048d1993b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -714,6 +714,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -721,6 +722,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index 996466b97a3..f756e8dde43 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -720,6 +720,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -727,6 +728,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index 5a6b2ef4214..222f353826a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -142,7 +142,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1134,8 +1133,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "../packages/mylib", + "hasAction": true, "sourceDisplay": [ { "text": "../packages/mylib", @@ -1154,8 +1153,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "../packages/mylib", + "hasAction": true, "sourceDisplay": [ { "text": "../packages/mylib", @@ -4978,8 +4977,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "class", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "mylib", + "hasAction": true, "sourceDisplay": [ { "text": "mylib", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index 67cd8d3a734..f419b03f173 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -83,6 +83,8 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/ts-node/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/ts-node/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -130,8 +132,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/ts-node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -191,8 +194,14 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/node/index.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /node_modules/@types/ts-node/index.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/ts-node/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /tsconfig.json: *new* {"pollingInterval":2000} @@ -286,8 +295,14 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/node/index.d.ts: {"pollingInterval":500} +/node_modules/@types/node/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /node_modules/@types/ts-node/index.d.ts: {"pollingInterval":500} +/node_modules/@types/ts-node/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js index 54d9ee44e23..98ec284338f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_defaultAndNamedConflict_server.js @@ -122,7 +122,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -738,8 +737,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/someModule", + "hasAction": true, "data": { "exportName": "default", "exportMapKey": "10 * someModule ", @@ -751,8 +750,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/someModule", + "hasAction": true, "data": { "exportName": "someModule", "exportMapKey": "10 * someModule ", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index e999902042b..da08ad59580 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -127,7 +127,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1060,8 +1059,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/third_party/marked/src/defaults", + "hasAction": true, "data": { "exportName": "changeDefaults", "exportMapKey": "14 * changeDefaults ", @@ -1073,8 +1072,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/third_party/marked/src/defaults", + "hasAction": true, "data": { "exportName": "export=", "exportMapKey": "8 * defaults ", @@ -1086,8 +1085,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "alias", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/third_party/marked/src/defaults", + "hasAction": true, "data": { "exportName": "defaults", "exportMapKey": "8 * defaults ", @@ -1099,8 +1098,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/third_party/marked/src/defaults", + "hasAction": true, "data": { "exportName": "getDefaults", "exportMapKey": "11 * getDefaults ", @@ -1984,8 +1983,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/third_party/marked/src/defaults", + "hasAction": true, "data": { "exportName": "changeDefaults", "exportMapKey": "14 * changeDefaults ", @@ -1997,8 +1996,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/third_party/marked/src/defaults", + "hasAction": true, "data": { "exportName": "export=", "exportMapKey": "8 * defaults ", @@ -2010,8 +2009,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "alias", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/third_party/marked/src/defaults", + "hasAction": true, "data": { "exportName": "defaults", "exportMapKey": "8 * defaults ", @@ -2023,8 +2022,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "property", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/third_party/marked/src/defaults", + "hasAction": true, "data": { "exportName": "getDefaults", "exportMapKey": "11 * getDefaults ", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index a23f10f72a9..392aff2eef8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -123,7 +123,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1116,8 +1115,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "alias", "kindModifiers": "declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@jest/types/index", + "hasAction": true, "isPackageJsonImport": true, "data": { "exportName": "Config", @@ -2106,8 +2105,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "alias", "kindModifiers": "declare", "sortText": "16", - "hasAction": true, "source": "@jest/types", + "hasAction": true, "sourceDisplay": [ { "text": "@jest/types", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index d83511e6d84..641e53b808c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -117,7 +117,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -1058,8 +1057,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "path", + "hasAction": true, "sourceDisplay": [ { "text": "path", @@ -1078,8 +1077,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "path/posix", + "hasAction": true, "sourceDisplay": [ { "text": "path/posix", @@ -1098,8 +1097,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "path/win32", + "hasAction": true, "sourceDisplay": [ { "text": "path/win32", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js index 3e36e5d8830..117b5f6b06f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js @@ -123,7 +123,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -383,11 +382,11 @@ Info seq [hh:mm:ss:mss] response: "kind": "method", "kindModifiers": "abstract", "sortText": "11", + "source": "ClassMemberSnippet/", + "hasAction": true, "insertText": "render(): Element {\r\n $0\r\n}", "filterText": "render", - "isSnippet": true, - "hasAction": true, - "source": "ClassMemberSnippet/" + "isSnippet": true }, { "name": "abstract", @@ -728,11 +727,11 @@ Info seq [hh:mm:ss:mss] response: "kind": "method", "kindModifiers": "abstract", "sortText": "11", + "source": "ClassMemberSnippet/", + "hasAction": true, "insertText": "render(): Element {\r\n $0\r\n}", "filterText": "render", - "isSnippet": true, - "hasAction": true, - "source": "ClassMemberSnippet/" + "isSnippet": true }, { "name": "abstract", diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js b/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js index b505a619ddb..06ec17e8f42 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsServerCommitCharacters.js @@ -131,8 +131,8 @@ Info seq [hh:mm:ss:mss] response: "entries": [ { "name": "aa", - "kind": "string", "kindModifiers": "", + "kind": "string", "sortText": "11", "replacementSpan": { "start": { @@ -148,8 +148,8 @@ Info seq [hh:mm:ss:mss] response: }, { "name": "bb", - "kind": "string", "kindModifiers": "", + "kind": "string", "sortText": "11", "replacementSpan": { "start": { diff --git a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js index 8be78f867d9..336751b1978 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -116,7 +116,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js index ef26d4f97b1..2099bde1dba 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js @@ -161,7 +161,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -381,7 +380,6 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /mymodule.ts ProjectRootPath: undefined:: Result: /tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js index 69848a7685b..f0412731ba9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js @@ -163,7 +163,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -383,7 +382,6 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /mymodule.ts ProjectRootPath: undefined:: Result: /tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js index 64c4ea44f36..66aba022382 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js @@ -159,7 +159,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -379,7 +378,6 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /mymodule.ts ProjectRootPath: undefined:: Result: /tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js index 4ef839c4773..8ed6a916f71 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js @@ -166,7 +166,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -391,7 +390,6 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /mymodule.ts ProjectRootPath: undefined:: Result: /tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js index 7312ebd7adc..9d7284d1ff5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js @@ -176,7 +176,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -396,7 +395,6 @@ Info seq [hh:mm:ss:mss] request: "command": "open" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /mymodule.ts ProjectRootPath: undefined:: Result: /tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js index 7236a9c40bf..7b308f13dc7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -50,6 +50,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/a/dist/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -97,6 +98,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} +/node_modules/a/dist/package.json: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /node_modules/a/dist/node_modules/@types: *new* @@ -136,6 +139,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/a/dist/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -177,6 +181,7 @@ Info seq [hh:mm:ss:mss] Files (4) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/a/dist/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -207,6 +212,12 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/node_modules/a/dist/package.json: + {"pollingInterval":2000} *new* + +watchedFiles *deleted*:: +/node_modules/a/dist/package.json: + {"pollingInterval":2000} watchedDirectoriesRecursive *deleted*:: /node_modules/a/dist/node_modules/@types: @@ -301,6 +312,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/a/dist/index.d.ts.map: *new* {"pollingInterval":500} +/node_modules/a/dist/package.json: + {"pollingInterval":2000} /node_modules/a/src/index.ts: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index 549faec089f..a08538741bc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -306,7 +306,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index 0e2949931f1..60d997753ee 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -121,7 +121,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index e1c21ae58d4..fe4c169cdb6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -337,7 +337,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js index 9e3ac7ab90c..78d1d976ce5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -124,7 +124,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -319,6 +318,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.production.min.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.development.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) @@ -397,6 +397,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/node_modules/react/cjs/package.json: *new* + {"pollingInterval":2000} /node_modules/react/cjs/react.development.js: *new* {"pollingInterval":500} /node_modules/react/cjs/react.production.min.js: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js index 92173c62aca..06a70894c23 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js @@ -118,6 +118,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/main.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -174,6 +175,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/types/main.d.ts: *new* {"pollingInterval":500} +/node_modules/foo/types/package.json: *new* + {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) @@ -225,6 +228,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/main.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) @@ -280,8 +284,12 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/lib/main.js: *new* {"pollingInterval":500} +/node_modules/foo/lib/package.json: *new* + {"pollingInterval":2000} /node_modules/foo/types/main.d.ts: {"pollingInterval":500} +/node_modules/foo/types/package.json: + {"pollingInterval":2000} Projects:: /dev/null/auxiliaryProject1* (Auxiliary) *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js index 1f648782180..dee443e2eb6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -246,6 +246,7 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/main.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) @@ -306,6 +307,8 @@ watchedFiles:: {"pollingInterval":2000} /node_modules/foo/lib/main.js: *new* {"pollingInterval":500} +/node_modules/foo/lib/package.json: *new* + {"pollingInterval":2000} Projects:: /dev/null/auxiliaryProject1* (Auxiliary) *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js index 6672a461620..ae8d06cb0f2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js @@ -125,6 +125,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /b.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/a.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -181,6 +182,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/types/a.d.ts: *new* {"pollingInterval":500} +/node_modules/foo/types/package.json: *new* + {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) @@ -275,6 +278,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/types/a.d.ts.map: *new* {"pollingInterval":500} +/node_modules/foo/types/package.json: + {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js index 8b94e9c1f3b..f7fce4603e0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js @@ -224,6 +224,7 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.production.min.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.development.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) @@ -302,6 +303,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/node_modules/react/cjs/package.json: *new* + {"pollingInterval":2000} /node_modules/react/cjs/react.development.js: *new* {"pollingInterval":500} /node_modules/react/cjs/react.production.min.js: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js index 26b569f3c28..0b434c2018d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -99,6 +99,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/l Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -153,6 +154,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/lodash/common/package.json: *new* + {"pollingInterval":2000} /node_modules/@types/lodash/index.d.ts: *new* {"pollingInterval":500} /node_modules/@types/lodash/package.json: *new* @@ -201,6 +204,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -262,6 +266,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: {"pollingInterval":500} +/node_modules/@types/lodash/common/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* /node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /node_modules/@types/lodash/package.json: @@ -400,6 +407,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: {"pollingInterval":500} +/node_modules/@types/lodash/common/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /node_modules/@types/lodash/package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js index e960acd6dbe..2f29a1dd966 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -100,6 +100,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/l Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -154,6 +155,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/lodash/common/package.json: *new* + {"pollingInterval":2000} /node_modules/@types/lodash/index.d.ts: *new* {"pollingInterval":500} /node_modules/@types/lodash/package.json: *new* @@ -202,6 +205,7 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -263,6 +267,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: {"pollingInterval":500} +/node_modules/@types/lodash/common/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* /node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /node_modules/@types/lodash/package.json: @@ -373,6 +380,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: {"pollingInterval":500} +/node_modules/@types/lodash/common/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /node_modules/@types/lodash/package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js index 11fc6ede5dc..e0a3531674e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js +++ b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js @@ -112,7 +112,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js index 01a73d2ee55..1ebbbb43de8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importFixes_ambientCircularDefaultCrash.js @@ -113,7 +113,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js index d179e3a367e..a8bbe4593f0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -141,7 +141,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /apps/app1/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index 75a03f3c1da..18dfb69aebd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -59,6 +59,11 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -101,8 +106,12 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -157,8 +166,23 @@ watchedFiles:: {"pollingInterval":500} /project/index.ts: *new* {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /project/tsconfig.json: *new* {"pollingInterval":2000} @@ -245,8 +269,23 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} @@ -446,8 +485,23 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index 22019960254..5434281eacb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -59,6 +59,11 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -101,8 +106,12 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -157,8 +166,23 @@ watchedFiles:: {"pollingInterval":500} /project/index.ts: *new* {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /project/tsconfig.json: *new* {"pollingInterval":2000} @@ -245,8 +269,23 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} @@ -370,6 +409,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "11", + "source": "react", "insertText": "import { Component$1 } from \"react\";", "replacementSpan": { "start": { @@ -381,14 +421,13 @@ Info seq [hh:mm:ss:mss] response: "offset": 11 } }, - "isSnippet": true, - "source": "react", "sourceDisplay": [ { "text": "react", "kind": "text" } ], + "isSnippet": true, "isImportStatementCompletion": true, "data": { "exportName": "Component", @@ -415,8 +454,23 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index 0856fa94c22..e49b65b0c7b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -65,6 +65,14 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -110,8 +118,15 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /project/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -169,10 +184,34 @@ watchedFiles:: {"pollingInterval":500} /project/index.ts: *new* {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts: *new* {"pollingInterval":500} +/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/csstype@3.0.8/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /project/tsconfig.json: *new* {"pollingInterval":2000} @@ -264,10 +303,34 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/@types+react@17.0.7/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts: {"pollingInterval":500} +/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/csstype@3.0.8/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} +/project/node_modules/.pnpm/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js index 5c17be775fd..aafe8e99d1d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -101,7 +101,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -993,8 +992,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient", + "hasAction": true, "sourceDisplay": [ { "text": "ambient", @@ -5399,8 +5398,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient", + "hasAction": true, "sourceDisplay": [ { "text": "ambient", @@ -7551,8 +7550,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient", + "hasAction": true, "sourceDisplay": [ { "text": "ambient", @@ -8306,8 +8305,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "ambient", + "hasAction": true, "sourceDisplay": [ { "text": "ambient", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index 4f458bd8f42..6cda5b0aaa8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -88,6 +88,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types 1 undefined Project: /tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@types 1 undefined Project: /tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -140,8 +141,8 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -199,6 +200,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/node/index.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /tsconfig.json: *new* @@ -291,6 +295,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/node/index.d.ts: {"pollingInterval":500} +/node_modules/@types/node/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: @@ -4086,8 +4093,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "fs", + "hasAction": true, "sourceDisplay": [ { "text": "fs", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js index 8599b1d05e0..1074b15df19 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -115,7 +115,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -1020,8 +1019,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/undefinedAlias", + "hasAction": true, "data": { "exportName": "export=", "exportMapKey": "1 * x ", @@ -1748,8 +1747,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "", "sortText": "16", - "hasAction": true, "source": "/undefinedAlias", + "hasAction": true, "data": { "exportName": "export=", "exportMapKey": "1 * x ", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index c6edd47b813..70ab7c39ab6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -79,6 +79,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -123,8 +124,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /jsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -184,6 +185,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/node/index.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} @@ -274,6 +278,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/node/index.d.ts: {"pollingInterval":500} +/node_modules/@types/node/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /package.json: {"pollingInterval":250} @@ -910,8 +917,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "fs", + "hasAction": true, "sourceDisplay": [ { "text": "fs", diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index b82a11962fa..673f4ddbb6d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -66,6 +66,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -111,8 +112,8 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -169,6 +170,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/react/package.json: *new* + {"pollingInterval":2000} + {"pollingInterval":2000} /tsconfig.json: *new* {"pollingInterval":2000} @@ -257,6 +261,9 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/react/index.d.ts: {"pollingInterval":500} +/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} @@ -1020,8 +1027,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "useBlah", "exportMapKey": "7 * useBlah ", @@ -1033,8 +1040,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "useState", "exportMapKey": "8 * useState ", @@ -1772,8 +1779,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "useBlah", "exportMapKey": "7 * useBlah ", @@ -1785,8 +1792,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "useState", "exportMapKey": "8 * useState ", @@ -4999,8 +5006,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "useState", "exportMapKey": "8 * useState ", @@ -5012,8 +5019,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "useYes", "exportMapKey": "6 * useYes ", @@ -5761,8 +5768,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "useState", "exportMapKey": "8 * useState ", @@ -5774,8 +5781,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "16", - "hasAction": true, "source": "/node_modules/@types/react/index", + "hasAction": true, "data": { "exportName": "useYes", "exportMapKey": "6 * useYes ", diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js index 7366fda1517..f3775d47143 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js @@ -297,6 +297,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -304,6 +305,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js index 96aab573473..f9ffa6b1319 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js @@ -362,6 +362,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -369,6 +370,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -376,6 +378,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -383,6 +386,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -390,6 +394,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -397,6 +402,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -404,6 +410,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -411,6 +418,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -418,6 +426,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -425,6 +434,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -432,6 +442,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -439,6 +450,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -446,6 +458,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -453,6 +466,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -460,6 +474,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -467,6 +482,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -474,6 +490,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -481,6 +498,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -561,6 +579,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -568,6 +587,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -575,6 +595,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -582,6 +603,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -589,6 +611,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -596,6 +619,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -603,6 +627,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -610,6 +635,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -617,6 +643,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -624,6 +651,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -631,6 +659,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -638,6 +667,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -645,6 +675,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -652,6 +683,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -659,6 +691,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -666,6 +699,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], @@ -848,6 +882,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -855,6 +890,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -862,6 +898,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -869,6 +906,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -876,6 +914,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -883,6 +922,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -890,6 +930,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -897,6 +938,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -904,6 +946,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -911,6 +954,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -918,6 +962,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -925,6 +970,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -932,6 +978,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -939,6 +986,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -946,6 +994,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -953,6 +1002,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -960,6 +1010,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -967,6 +1018,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1071,6 +1123,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1078,6 +1131,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1085,6 +1139,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1092,6 +1147,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1099,6 +1155,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1106,6 +1163,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1113,6 +1171,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1120,6 +1179,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1127,6 +1187,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1134,6 +1195,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1141,6 +1203,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1148,6 +1211,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1155,6 +1219,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1162,6 +1227,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1169,6 +1235,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1176,6 +1243,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1183,6 +1251,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1190,6 +1259,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], @@ -1264,6 +1334,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1271,6 +1342,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1278,6 +1350,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1285,6 +1358,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1292,6 +1366,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1299,6 +1374,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1306,6 +1382,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1313,6 +1390,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1320,6 +1398,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1327,6 +1406,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1334,6 +1414,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1341,6 +1422,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1348,6 +1430,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1355,6 +1438,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1362,6 +1446,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1369,6 +1454,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], @@ -1551,6 +1637,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1558,6 +1645,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1565,6 +1653,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1572,6 +1661,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1579,6 +1669,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1586,6 +1677,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1593,6 +1685,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1600,6 +1693,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1607,6 +1701,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1614,6 +1709,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1621,6 +1717,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1628,6 +1725,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1635,6 +1733,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1642,6 +1741,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1649,6 +1749,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1656,6 +1757,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1663,6 +1765,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1670,6 +1773,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1774,6 +1878,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1781,6 +1886,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1788,6 +1894,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1795,6 +1902,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1802,6 +1910,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1809,6 +1918,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1816,6 +1926,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1823,6 +1934,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1830,6 +1942,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1837,6 +1950,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1844,6 +1958,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1851,6 +1966,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1858,6 +1974,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1865,6 +1982,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1872,6 +1990,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1879,6 +1998,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1886,6 +2006,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1893,6 +2014,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], @@ -1967,6 +2089,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1974,6 +2097,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1981,6 +2105,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1988,6 +2113,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -1995,6 +2121,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2002,6 +2129,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2009,6 +2137,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2016,6 +2145,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2023,6 +2153,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2030,6 +2161,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2037,6 +2169,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2044,6 +2177,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2051,6 +2185,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2058,6 +2193,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2065,6 +2201,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2072,6 +2209,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], @@ -2254,6 +2392,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2261,6 +2400,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2268,6 +2408,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2275,6 +2416,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2282,6 +2424,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2289,6 +2432,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2296,6 +2440,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2303,6 +2448,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2310,6 +2456,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2317,6 +2464,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2324,6 +2472,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2331,6 +2480,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2338,6 +2488,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2345,6 +2496,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2352,6 +2504,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2359,6 +2512,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2366,6 +2520,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2373,6 +2528,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2477,6 +2633,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2484,6 +2641,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2491,6 +2649,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2498,6 +2657,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2505,6 +2665,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2512,6 +2673,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2519,6 +2681,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2526,6 +2689,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2533,6 +2697,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2540,6 +2705,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2547,6 +2713,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2554,6 +2721,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2561,6 +2729,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2568,6 +2737,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2575,6 +2745,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2582,6 +2753,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2589,6 +2761,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2596,6 +2769,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], @@ -2670,6 +2844,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2677,6 +2852,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2684,6 +2860,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2691,6 +2868,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2698,6 +2876,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2705,6 +2884,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2712,6 +2892,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2719,6 +2900,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2726,6 +2908,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2733,6 +2916,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2740,6 +2924,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2747,6 +2932,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2754,6 +2940,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2761,6 +2948,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2768,6 +2956,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2775,6 +2964,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], @@ -2957,6 +3147,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2964,6 +3155,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2971,6 +3163,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2978,6 +3171,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2985,6 +3179,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2992,6 +3187,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -2999,6 +3195,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3006,6 +3203,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3013,6 +3211,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3020,6 +3219,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3027,6 +3227,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3034,6 +3235,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3041,6 +3243,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3048,6 +3251,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3055,6 +3259,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3062,6 +3267,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3069,6 +3275,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3076,6 +3283,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3180,6 +3388,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3187,6 +3396,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3194,6 +3404,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3201,6 +3412,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3208,6 +3420,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3215,6 +3428,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3222,6 +3436,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3229,6 +3444,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3236,6 +3452,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3243,6 +3460,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3250,6 +3468,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3257,6 +3476,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3264,6 +3484,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3271,6 +3492,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3278,6 +3500,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3285,6 +3508,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3292,6 +3516,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -3299,6 +3524,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js index 7ccd21ed17c..84375d9fa35 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js @@ -302,6 +302,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -309,6 +310,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -316,6 +318,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -323,6 +326,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -330,6 +334,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js index 79e577786bd..5571a911d56 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js @@ -308,6 +308,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -315,6 +316,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -322,6 +324,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -329,6 +332,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -336,6 +340,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -343,6 +348,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -350,6 +356,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -357,6 +364,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -425,6 +433,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -432,6 +441,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -439,6 +449,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -446,6 +457,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -453,6 +465,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -460,6 +473,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -467,6 +481,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -474,6 +489,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js index 41d143fd3ff..a7699af18f5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js @@ -326,6 +326,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -333,6 +334,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -340,6 +342,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -347,6 +350,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -354,6 +358,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -361,6 +366,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -368,6 +374,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -375,6 +382,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -587,6 +595,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -594,6 +603,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -601,6 +611,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -608,6 +619,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -615,6 +627,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -622,6 +635,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -629,6 +643,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -636,6 +651,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -848,6 +864,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -855,6 +872,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -862,6 +880,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -869,6 +888,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -876,6 +896,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -883,6 +904,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -890,6 +912,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { @@ -897,6 +920,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] }, { diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js index 5023d8df35a..b466d753b15 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -116,7 +116,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js index 9263cfc2b22..952656ca481 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -116,7 +116,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js index 0015d0eb038..fa078e71283 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -115,7 +115,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js index cf6cf84a4a7..f838a472a4f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -115,7 +115,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js index b0011721774..68b5a0686c6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js @@ -180,7 +180,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js index f1c9b593675..3c422903a6e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js @@ -338,6 +338,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "warning", "kindModifiers": "", "sortText": "18", + "isFromUncheckedFile": true, "commitCharacters": [] } ], diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js index 51a458b46e8..4f545cf8523 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js @@ -101,7 +101,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js index 8e403ca25c4..bd92af73a6c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js @@ -101,7 +101,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js index 76b8b1494e4..a9c1735ca62 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js @@ -103,92 +103,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /lib/tsconfig.json ProjectRootPath: undefined:: Result: /tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tsconfig.json", - "reason": "Creating possible configured project for /lib/tsconfig.json to open" - } - } -Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { - "rootNames": [ - "/lib.d.ts", - "/lib.decorators.d.ts", - "/lib.decorators.legacy.d.ts", - "/lib/index.ts", - "/src/index.ts" - ], - "options": { - "configFilePath": "/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /lib.d.ts Text-1 lib.d.ts-Text - /lib/index.ts Text-1 "const unrelatedLocalVariable = 123;\nexport const someExportedVariable = unrelatedLocalVariable;" - /src/index.ts Text-1 "import { someExportedVariable } from '../lib/index';\nsomeExportedVariable;" - - - lib.decorators.d.ts - Library referenced via 'decorators' from file 'lib.d.ts' - Matched by default include pattern '**/*' - lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file 'lib.d.ts' - Matched by default include pattern '**/*' - lib.d.ts - Matched by default include pattern '**/*' - lib/index.ts - Matched by default include pattern '**/*' - Imported via '../lib/index' from file 'src/index.ts' - src/index.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/lib/tsconfig.json", - "configFile": "/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/lib/tsconfig.json", - "configFile": "/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -212,10 +126,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -247,14 +157,8 @@ watchedFiles:: {"pollingInterval":500} /lib/tsconfig.json: *new* {"pollingInterval":2000} -/src/index.ts: *new* - {"pollingInterval":500} -/tsconfig.json: *new* - {"pollingInterval":2000} watchedDirectoriesRecursive:: -: *new* - {} /lib: *new* {} @@ -266,43 +170,31 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /lib/tsconfig.json - /tsconfig.json /dev/null/inferredProject1* /lib.decorators.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /lib/tsconfig.json - /tsconfig.json /dev/null/inferredProject1* /lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /lib/tsconfig.json - /tsconfig.json /dev/null/inferredProject1* /lib/index.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /lib/tsconfig.json - /tsconfig.json /lib/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/src/index.ts *new* - version: Text-1 - containingProjects: 1 - /tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -315,35 +207,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /lib/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /lib/index.ts ProjectRootPath: undefined:: Result: /lib/tsconfig.json -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /lib.decorators.d.ts - /lib.decorators.legacy.d.ts - /lib.d.ts - /lib/index.ts - /src/index.ts - - - lib.decorators.d.ts - Library referenced via 'decorators' from file 'lib.d.ts' - Matched by default include pattern '**/*' - lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file 'lib.d.ts' - Matched by default include pattern '**/*' - lib.d.ts - Matched by default include pattern '**/*' - lib/index.ts - Matched by default include pattern '**/*' - Imported via '../lib/index' from file 'src/index.ts' - src/index.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -379,19 +242,11 @@ watchedFiles:: watchedFiles *deleted*:: /lib/index.ts: {"pollingInterval":500} -/src/index.ts: - {"pollingInterval":500} -/tsconfig.json: - {"pollingInterval":2000} watchedDirectoriesRecursive:: /lib: {} -watchedDirectoriesRecursive *deleted*:: -: - {} - Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 @@ -400,45 +255,32 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true ScriptInfos:: -/lib.d.ts *changed* +/lib.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 /lib/tsconfig.json /dev/null/inferredProject1* - /tsconfig.json *deleted* -/lib.decorators.d.ts *changed* +/lib.decorators.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 /lib/tsconfig.json /dev/null/inferredProject1* - /tsconfig.json *deleted* -/lib.decorators.legacy.d.ts *changed* +/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 /lib/tsconfig.json /dev/null/inferredProject1* - /tsconfig.json *deleted* /lib/index.ts (Open) *changed* open: true *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 1 /lib/tsconfig.json *default* - /tsconfig.json *deleted* /lib/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/src/index.ts *deleted* - version: Text-1 - containingProjects: 0 *changed* - /tsconfig.json *deleted* Info seq [hh:mm:ss:mss] request: { @@ -480,7 +322,7 @@ Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /lib/index.ts Text-1 "const unrelatedLocalVariable = 123;\nexport const someExportedVariable = unrelatedLocalVariable;" - /src/index.ts SVC-2-0 "import { someExportedVariable } from '../lib/index';\nsomeExportedVariable;" + /src/index.ts SVC-1-0 "import { someExportedVariable } from '../lib/index';\nsomeExportedVariable;" ../lib.d.ts @@ -604,7 +446,7 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* /src/index.ts (Open) *new* - version: SVC-2-0 + version: SVC-1-0 containingProjects: 1 /src/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js index 4ed42ecd46d..d7cb6b4a08e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js @@ -103,92 +103,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /lib/tsconfig.json ProjectRootPath: undefined:: Result: /tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/tsconfig.json", - "reason": "Creating possible configured project for /lib/tsconfig.json to open" - } - } -Info seq [hh:mm:ss:mss] Config: /tsconfig.json : { - "rootNames": [ - "/lib.d.ts", - "/lib.decorators.d.ts", - "/lib.decorators.legacy.d.ts", - "/lib/index.ts", - "/src/index.ts" - ], - "options": { - "configFilePath": "/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /lib.d.ts Text-1 lib.d.ts-Text - /lib/index.ts Text-1 "const unrelatedLocalVariable = 123;\nexport const someExportedVariable = unrelatedLocalVariable;" - /src/index.ts Text-1 "import * as lib from '../lib/index';\nlib.someExportedVariable;" - - - lib.decorators.d.ts - Library referenced via 'decorators' from file 'lib.d.ts' - Matched by default include pattern '**/*' - lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file 'lib.d.ts' - Matched by default include pattern '**/*' - lib.d.ts - Matched by default include pattern '**/*' - lib/index.ts - Matched by default include pattern '**/*' - Imported via '../lib/index' from file 'src/index.ts' - src/index.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/lib/tsconfig.json", - "configFile": "/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/lib/tsconfig.json", - "configFile": "/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -212,10 +126,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -247,14 +157,8 @@ watchedFiles:: {"pollingInterval":500} /lib/tsconfig.json: *new* {"pollingInterval":2000} -/src/index.ts: *new* - {"pollingInterval":500} -/tsconfig.json: *new* - {"pollingInterval":2000} watchedDirectoriesRecursive:: -: *new* - {} /lib: *new* {} @@ -266,43 +170,31 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true ScriptInfos:: /lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /lib/tsconfig.json - /tsconfig.json /dev/null/inferredProject1* /lib.decorators.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /lib/tsconfig.json - /tsconfig.json /dev/null/inferredProject1* /lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /lib/tsconfig.json - /tsconfig.json /dev/null/inferredProject1* /lib/index.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /lib/tsconfig.json - /tsconfig.json /lib/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/src/index.ts *new* - version: Text-1 - containingProjects: 1 - /tsconfig.json Info seq [hh:mm:ss:mss] request: { @@ -315,35 +207,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /lib/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /lib/index.ts ProjectRootPath: undefined:: Result: /lib/tsconfig.json -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (5) - /lib.decorators.d.ts - /lib.decorators.legacy.d.ts - /lib.d.ts - /lib/index.ts - /src/index.ts - - - lib.decorators.d.ts - Library referenced via 'decorators' from file 'lib.d.ts' - Matched by default include pattern '**/*' - lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file 'lib.d.ts' - Matched by default include pattern '**/*' - lib.d.ts - Matched by default include pattern '**/*' - lib/index.ts - Matched by default include pattern '**/*' - Imported via '../lib/index' from file 'src/index.ts' - src/index.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/lib/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -379,19 +242,11 @@ watchedFiles:: watchedFiles *deleted*:: /lib/index.ts: {"pollingInterval":500} -/src/index.ts: - {"pollingInterval":500} -/tsconfig.json: - {"pollingInterval":2000} watchedDirectoriesRecursive:: /lib: {} -watchedDirectoriesRecursive *deleted*:: -: - {} - Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 @@ -400,45 +255,32 @@ Projects:: projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: false *changed* -/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true ScriptInfos:: -/lib.d.ts *changed* +/lib.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 /lib/tsconfig.json /dev/null/inferredProject1* - /tsconfig.json *deleted* -/lib.decorators.d.ts *changed* +/lib.decorators.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 /lib/tsconfig.json /dev/null/inferredProject1* - /tsconfig.json *deleted* -/lib.decorators.legacy.d.ts *changed* +/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 /lib/tsconfig.json /dev/null/inferredProject1* - /tsconfig.json *deleted* /lib/index.ts (Open) *changed* open: true *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 1 /lib/tsconfig.json *default* - /tsconfig.json *deleted* /lib/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/src/index.ts *deleted* - version: Text-1 - containingProjects: 0 *changed* - /tsconfig.json *deleted* Info seq [hh:mm:ss:mss] request: { @@ -480,7 +322,7 @@ Info seq [hh:mm:ss:mss] Files (5) /lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /lib/index.ts Text-1 "const unrelatedLocalVariable = 123;\nexport const someExportedVariable = unrelatedLocalVariable;" - /src/index.ts SVC-2-0 "import * as lib from '../lib/index';\nlib.someExportedVariable;" + /src/index.ts SVC-1-0 "import * as lib from '../lib/index';\nlib.someExportedVariable;" ../lib.d.ts @@ -604,7 +446,7 @@ ScriptInfos:: containingProjects: 1 /dev/null/inferredProject1* *default* /src/index.ts (Open) *new* - version: SVC-2-0 + version: SVC-1-0 containingProjects: 1 /src/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js index 23596c76a37..dbdd0093153 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js @@ -163,7 +163,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js index 3d23d9dec73..c2897e5c514 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -136,7 +136,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tests/cases/fourslash/server/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js new file mode 100644 index 00000000000..d18d6b03464 --- /dev/null +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder-canUseWatchEvents.js @@ -0,0 +1,1074 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/home/src/myprojects/project/tsconfig.json] +{ + "compilerOptions": { + "target": "es2016", + "module": "commonjs", + "paths": { + "@app/*": [ + "./*" + ] + }, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true + } +} + +//// [/home/src/myprojects/project/index.ts] +import { alert } from '@app/components/whatever/alert'; +alert('Hello, world!'); + + +//// [/home/src/myprojects/project/components/whatever/alert.ts] +export function alert(message: string) { + console.log(`ALERT: ${message}`); +} + + +//// [/home/src/myprojects/project/functions/whatever/placeholder.txt] + + +//// [/a/lib/lib.es2016.full.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myprojects/project/index.ts", + "projectRootPath": "/home/src/myprojects/project" + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myprojects/project/tsconfig.json 2000 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 1, + "path": "/home/src/myprojects/project/tsconfig.json" + } + } +Custom watchFile:: Added:: {"id":1,"path":"/home/src/myprojects/project/tsconfig.json"} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myprojects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myprojects/project/index.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/myprojects/project/tsconfig.json : { + "rootNames": [ + "/home/src/myprojects/project/index.ts", + "/home/src/myprojects/project/components/whatever/alert.ts" + ], + "options": { + "target": 3, + "module": 1, + "paths": { + "@app/*": [ + "./*" + ] + }, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true, + "pathsBasePath": "/home/src/myprojects/project", + "configFilePath": "/home/src/myprojects/project/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 2, + "path": "/home/src/myprojects/project", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components/whatever/alert.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 3, + "path": "/home/src/myprojects/project/components/whatever/alert.ts" + } + } +Custom watchFile:: Added:: {"id":3,"path":"/home/src/myprojects/project/components/whatever/alert.ts"} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 4, + "path": "/a/lib/lib.es2016.full.d.ts" + } + } +Custom watchFile:: Added:: {"id":4,"path":"/a/lib/lib.es2016.full.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/myprojects/project/node_modules/@types", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/myprojects/project/node_modules/@types","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/myprojects/node_modules/@types", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/myprojects/node_modules/@types","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/myprojects/project/components/whatever/alert.ts Text-1 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + /home/src/myprojects/project/index.ts SVC-1-0 "import { alert } from '@app/components/whatever/alert';\nalert('Hello, world!');\n" + + + ../../../../a/lib/lib.es2016.full.d.ts + Default library for target 'es2016' + components/whatever/alert.ts + Imported via '@app/components/whatever/alert' from file 'index.ts' + Matched by default include pattern '**/*' + index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/myprojects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "8eef2d0b8a0e9b1fea9cc093cf6e65a3858613760d59db089978dadbab81a1fb", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 161, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "target": "es2016", + "module": "commonjs", + "paths": "", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/myprojects/project/index.ts", + "configFile": "/home/src/myprojects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.es2016.full.d.ts: *new* + {"event":{"id":4,"path":"/a/lib/lib.es2016.full.d.ts"}} +/home/src/myprojects/project/components/whatever/alert.ts: *new* + {"event":{"id":3,"path":"/home/src/myprojects/project/components/whatever/alert.ts"}} +/home/src/myprojects/project/tsconfig.json: *new* + {"event":{"id":1,"path":"/home/src/myprojects/project/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myprojects/node_modules/@types: *new* + {"event":{"id":6,"path":"/home/src/myprojects/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project: *new* + {"event":{"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project/node_modules/@types: *new* + {"event":{"id":5,"path":"/home/src/myprojects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/components/whatever/alert.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}:: /home/src/myprojects/project/components/whatever deleted +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}:: /home/src/myprojects/project/functions/whatever created +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}:: /home/src/myprojects/project/functions/whatever updated +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}:: /home/src/myprojects/project/functions updated +Before request +//// [/home/src/myprojects/project/functions/whatever/alert.ts] +export function alert(message: string) { + console.log(`ALERT: ${message}`); +} + + +//// [/home/src/myprojects/project/components/whatever/alert.ts] deleted + +Info seq [hh:mm:ss:mss] request: + { + "command": "watchChange", + "arguments": { + "id": 2, + "deleted": [ + "/home/src/myprojects/project/components/whatever" + ], + "created": [ + "/home/src/myprojects/project/functions/whatever" + ] + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /home/src/myprojects/project/components/whatever/alert.ts:: 2 +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +After request + +Timeout callback:: count: 2 +5: /home/src/myprojects/project/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/components/whatever/alert.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + deferredDelete: true *changed* + containingProjects: 0 *changed* + /home/src/myprojects/project/tsconfig.json *deleted* +/home/src/myprojects/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myprojects/project/functions/whatever/alert.ts", + "projectRootPath": "/home/src/myprojects/project", + "fileContent": "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] Invoking /home/src/myprojects/project/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myprojects/project/functions/whatever/alert.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "/home/src/myprojects/project/components", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/myprojects/project/components","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 8, + "path": "/home/src/myprojects/project/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":8,"path":"/home/src/myprojects/project/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 9, + "path": "/home/src/myprojects/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":9,"path":"/home/src/myprojects/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/myprojects/project/index.ts SVC-1-0 "import { alert } from '@app/components/whatever/alert';\nalert('Hello, world!');\n" + /home/src/myprojects/project/functions/whatever/alert.ts SVC-1-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + + + ../../../../a/lib/lib.es2016.full.d.ts + Default library for target 'es2016' + index.ts + Matched by default include pattern '**/*' + functions/whatever/alert.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components/whatever/alert.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 3 + } + } +Custom watchFile:: Close:: {"id":3,"path":"/home/src/myprojects/project/components/whatever/alert.ts"} +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 3, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.es2016.full.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.es2016.full.d.ts"}} +/home/src/myprojects/project/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myprojects/project/tsconfig.json"}} + +PolledWatches *deleted*:: +/home/src/myprojects/project/components/whatever/alert.ts: + {"event":{"id":3,"path":"/home/src/myprojects/project/components/whatever/alert.ts"}} + +FsWatchesRecursive:: +/home/src/myprojects/node_modules: *new* + {"event":{"id":9,"path":"/home/src/myprojects/node_modules","recursive":true}} +/home/src/myprojects/node_modules/@types: + {"event":{"id":6,"path":"/home/src/myprojects/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project: + {"event":{"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project/components: *new* + {"event":{"id":7,"path":"/home/src/myprojects/project/components","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project/node_modules: *new* + {"event":{"id":8,"path":"/home/src/myprojects/project/node_modules","recursive":true}} +/home/src/myprojects/project/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myprojects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Timeout callback:: count: 2 +5: /home/src/myprojects/project/tsconfig.json *deleted* +6: *ensureProjectForOpenFiles* *deleted* +7: /home/src/myprojects/project/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/components/whatever/alert.ts *deleted* + version: Text-1 + pendingReloadFromDisk: true + deferredDelete: true + containingProjects: 0 +/home/src/myprojects/project/functions/whatever/alert.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* +/home/src/myprojects/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myprojects/project/components/whatever", + "newFilePath": "/home/src/myprojects/project/functions/whatever" + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myprojects/project/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 24 + }, + "end": { + "line": 1, + "offset": 54 + }, + "newText": "@app/functions/whatever/alert" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + documentPositionMappers: 1 *changed* + /a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *new* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/functions/whatever/alert.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* +/home/src/myprojects/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "changedFiles": [ + { + "fileName": "/home/src/myprojects/project/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 24 + }, + "end": { + "line": 1, + "offset": 54 + }, + "newText": "@app/functions/whatever/alert" + } + ] + } + ] + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true + } +After request + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/functions/whatever/alert.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* +/home/src/myprojects/project/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before running Timeout callback:: count: 2 +7: /home/src/myprojects/project/tsconfig.json +8: *ensureProjectForOpenFiles* + +Info seq [hh:mm:ss:mss] Running: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 7 + } + } +Custom watchDirectory:: Close:: {"id":7,"path":"/home/src/myprojects/project/components","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 8 + } + } +Custom watchDirectory:: Close:: {"id":8,"path":"/home/src/myprojects/project/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 9 + } + } +Custom watchDirectory:: Close:: {"id":9,"path":"/home/src/myprojects/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/myprojects/project/functions/whatever/alert.ts SVC-1-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + /home/src/myprojects/project/index.ts SVC-1-1 "import { alert } from '@app/functions/whatever/alert';\nalert('Hello, world!');\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myprojects/project/index.ts,/home/src/myprojects/project/functions/whatever/alert.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myprojects/project/index.ts", + "/home/src/myprojects/project/functions/whatever/alert.ts" + ] + } + } +After running Timeout callback:: count: 0 + +PolledWatches:: +/a/lib/lib.es2016.full.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.es2016.full.d.ts"}} +/home/src/myprojects/project/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myprojects/project/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myprojects/node_modules/@types: + {"event":{"id":6,"path":"/home/src/myprojects/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project: + {"event":{"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myprojects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +FsWatchesRecursive *deleted*:: +/home/src/myprojects/node_modules: + {"event":{"id":9,"path":"/home/src/myprojects/node_modules","recursive":true}} +/home/src/myprojects/project/components: + {"event":{"id":7,"path":"/home/src/myprojects/project/components","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project/node_modules: + {"event":{"id":8,"path":"/home/src/myprojects/project/node_modules","recursive":true}} + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + dirty: false *changed* + documentPositionMappers: 0 *changed* + /a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *deleted* + +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}:: /home/src/myprojects/project/functions/whatever deleted +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}:: /home/src/myprojects/project/components/whatever created +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}:: /home/src/myprojects/project/components/whatever updated +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}:: /home/src/myprojects/project/components updated +Before request +//// [/home/src/myprojects/project/components/whatever/alert.ts] +export function alert(message: string) { + console.log(`ALERT: ${message}`); +} + + +//// [/home/src/myprojects/project/functions/whatever/alert.ts] deleted + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "openFiles": [ + { + "file": "/home/src/myprojects/project/components/whatever/alert.ts", + "fileContent": "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n", + "projectRootPath": "/home/src/myprojects/project" + } + ], + "closedFiles": [ + "/home/src/myprojects/project/functions/whatever/alert.ts" + ] + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Invoking /home/src/myprojects/project/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myprojects/project/components/whatever/alert.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 10, + "path": "/home/src/myprojects/project/functions", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":10,"path":"/home/src/myprojects/project/functions","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 11, + "path": "/home/src/myprojects/project/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":11,"path":"/home/src/myprojects/project/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 12, + "path": "/home/src/myprojects/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":12,"path":"/home/src/myprojects/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/myprojects/project/index.ts SVC-1-1 "import { alert } from '@app/functions/whatever/alert';\nalert('Hello, world!');\n" + /home/src/myprojects/project/components/whatever/alert.ts SVC-2-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + + + ../../../../a/lib/lib.es2016.full.d.ts + Default library for target 'es2016' + index.ts + Matched by default include pattern '**/*' + components/whatever/alert.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.es2016.full.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.es2016.full.d.ts"}} +/home/src/myprojects/project/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myprojects/project/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myprojects/node_modules: *new* + {"event":{"id":12,"path":"/home/src/myprojects/node_modules","recursive":true}} +/home/src/myprojects/node_modules/@types: + {"event":{"id":6,"path":"/home/src/myprojects/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project: + {"event":{"id":2,"path":"/home/src/myprojects/project","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project/functions: *new* + {"event":{"id":10,"path":"/home/src/myprojects/project/functions","recursive":true,"ignoreUpdate":true}} +/home/src/myprojects/project/node_modules: *new* + {"event":{"id":11,"path":"/home/src/myprojects/project/node_modules","recursive":true}} +/home/src/myprojects/project/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myprojects/project/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Timeout callback:: count: 2 +11: /home/src/myprojects/project/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 4 *changed* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/components/whatever/alert.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* +/home/src/myprojects/project/functions/whatever/alert.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /home/src/myprojects/project/tsconfig.json *deleted* +/home/src/myprojects/project/index.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myprojects/project/functions/whatever", + "newFilePath": "/home/src/myprojects/project/components/whatever" + }, + "seq": 7, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myprojects/project/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 24 + }, + "end": { + "line": 1, + "offset": 53 + }, + "newText": "@app/components/whatever/alert" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 + documentPositionMappers: 1 *changed* + /a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *new* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "watchChange", + "arguments": { + "id": 2, + "deleted": [ + "/home/src/myprojects/project/functions/whatever" + ], + "created": [ + "/home/src/myprojects/project/components/whatever" + ] + }, + "seq": 8, + "type": "request" + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +After request + +Timeout callback:: count: 2 +11: /home/src/myprojects/project/tsconfig.json *deleted* +12: *ensureProjectForOpenFiles* *deleted* +15: /home/src/myprojects/project/tsconfig.json *new* +16: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 *changed* + projectProgramVersion: 4 + dirty: true *changed* + +Before running Timeout callback:: count: 2 +15: /home/src/myprojects/project/tsconfig.json +16: *ensureProjectForOpenFiles* + +Info seq [hh:mm:ss:mss] Running: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myprojects/project/index.ts,/home/src/myprojects/project/components/whatever/alert.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myprojects/project/index.ts", + "/home/src/myprojects/project/components/whatever/alert.ts" + ] + } + } +After running Timeout callback:: count: 0 + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 5 + projectProgramVersion: 4 + dirty: false *changed* diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js new file mode 100644 index 00000000000..2ea00eaedc3 --- /dev/null +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-when-moving-file-to-and-from-folder.js @@ -0,0 +1,844 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/home/src/myprojects/project/tsconfig.json] +{ + "compilerOptions": { + "target": "es2016", + "module": "commonjs", + "paths": { + "@app/*": [ + "./*" + ] + }, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true + } +} + +//// [/home/src/myprojects/project/index.ts] +import { alert } from '@app/components/whatever/alert'; +alert('Hello, world!'); + + +//// [/home/src/myprojects/project/components/whatever/alert.ts] +export function alert(message: string) { + console.log(`ALERT: ${message}`); +} + + +//// [/home/src/myprojects/project/functions/whatever/placeholder.txt] + + +//// [/a/lib/lib.es2016.full.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } +interface ReadonlyArray {} +declare const console: { log(msg: any): void; }; + + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myprojects/project/index.ts", + "projectRootPath": "/home/src/myprojects/project" + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myprojects/project/tsconfig.json 2000 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myprojects/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myprojects/project/index.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/myprojects/project/tsconfig.json : { + "rootNames": [ + "/home/src/myprojects/project/index.ts", + "/home/src/myprojects/project/components/whatever/alert.ts" + ], + "options": { + "target": 3, + "module": 1, + "paths": { + "@app/*": [ + "./*" + ] + }, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true, + "pathsBasePath": "/home/src/myprojects/project", + "configFilePath": "/home/src/myprojects/project/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components/whatever/alert.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/myprojects/project/components/whatever/alert.ts Text-1 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + /home/src/myprojects/project/index.ts SVC-1-0 "import { alert } from '@app/components/whatever/alert';\nalert('Hello, world!');\n" + + + ../../../../a/lib/lib.es2016.full.d.ts + Default library for target 'es2016' + components/whatever/alert.ts + Imported via '@app/components/whatever/alert' from file 'index.ts' + Matched by default include pattern '**/*' + index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/myprojects/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "8eef2d0b8a0e9b1fea9cc093cf6e65a3858613760d59db089978dadbab81a1fb", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 161, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 413, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "target": "es2016", + "module": "commonjs", + "paths": "", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "skipLibCheck": true + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/myprojects/project/index.ts", + "configFile": "/home/src/myprojects/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/home/src/myprojects/node_modules/@types: *new* + {"pollingInterval":500} +/home/src/myprojects/project/node_modules/@types: *new* + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.es2016.full.d.ts: *new* + {} +/home/src/myprojects/project/components/whatever/alert.ts: *new* + {} +/home/src/myprojects/project/tsconfig.json: *new* + {} + +FsWatchesRecursive:: +/home/src/myprojects/project: *new* + {} + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/components/whatever/alert.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /home/src/myprojects/project/components/whatever/alert.ts:: 2 +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Before request +//// [/home/src/myprojects/project/functions/whatever/alert.ts] +export function alert(message: string) { + console.log(`ALERT: ${message}`); +} + + +//// [/home/src/myprojects/project/components/whatever/alert.ts] deleted + +Timeout callback:: count: 2 +5: /home/src/myprojects/project/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/components/whatever/alert.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + deferredDelete: true *changed* + containingProjects: 0 *changed* + /home/src/myprojects/project/tsconfig.json *deleted* +/home/src/myprojects/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myprojects/project/functions/whatever/alert.ts", + "projectRootPath": "/home/src/myprojects/project", + "fileContent": "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] Invoking /home/src/myprojects/project/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myprojects/project/functions/whatever/alert.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/myprojects/project/index.ts SVC-1-0 "import { alert } from '@app/components/whatever/alert';\nalert('Hello, world!');\n" + /home/src/myprojects/project/functions/whatever/alert.ts SVC-1-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + + + ../../../../a/lib/lib.es2016.full.d.ts + Default library for target 'es2016' + index.ts + Matched by default include pattern '**/*' + functions/whatever/alert.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components/whatever/alert.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 2, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/home/src/myprojects/node_modules: *new* + {"pollingInterval":500} +/home/src/myprojects/node_modules/@types: + {"pollingInterval":500} +/home/src/myprojects/project/node_modules: *new* + {"pollingInterval":500} +/home/src/myprojects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.es2016.full.d.ts: + {} +/home/src/myprojects/project/tsconfig.json: + {} + +FsWatches *deleted*:: +/home/src/myprojects/project/components/whatever/alert.ts: + {} + +FsWatchesRecursive:: +/home/src/myprojects/project: + {} +/home/src/myprojects/project/components: *new* + {} + +Timeout callback:: count: 2 +5: /home/src/myprojects/project/tsconfig.json *deleted* +6: *ensureProjectForOpenFiles* *deleted* +7: /home/src/myprojects/project/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/components/whatever/alert.ts *deleted* + version: Text-1 + pendingReloadFromDisk: true + deferredDelete: true + containingProjects: 0 +/home/src/myprojects/project/functions/whatever/alert.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* +/home/src/myprojects/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myprojects/project/components/whatever", + "newFilePath": "/home/src/myprojects/project/functions/whatever" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myprojects/project/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 24 + }, + "end": { + "line": 1, + "offset": 54 + }, + "newText": "@app/functions/whatever/alert" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + documentPositionMappers: 1 *changed* + /a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *new* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/functions/whatever/alert.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* +/home/src/myprojects/project/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "changedFiles": [ + { + "fileName": "/home/src/myprojects/project/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 24 + }, + "end": { + "line": 1, + "offset": 54 + }, + "newText": "@app/functions/whatever/alert" + } + ] + } + ] + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true + } +After request + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/functions/whatever/alert.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* +/home/src/myprojects/project/index.ts (Open) *changed* + version: SVC-1-1 *changed* + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before running Timeout callback:: count: 2 +7: /home/src/myprojects/project/tsconfig.json +8: *ensureProjectForOpenFiles* + +Info seq [hh:mm:ss:mss] Running: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/myprojects/project/functions/whatever/alert.ts SVC-1-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + /home/src/myprojects/project/index.ts SVC-1-1 "import { alert } from '@app/functions/whatever/alert';\nalert('Hello, world!');\n" + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myprojects/project/index.ts,/home/src/myprojects/project/functions/whatever/alert.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myprojects/project/index.ts", + "/home/src/myprojects/project/functions/whatever/alert.ts" + ] + } + } +After running Timeout callback:: count: 0 + +PolledWatches:: +/home/src/myprojects/node_modules/@types: + {"pollingInterval":500} +/home/src/myprojects/project/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/home/src/myprojects/node_modules: + {"pollingInterval":500} +/home/src/myprojects/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.es2016.full.d.ts: + {} +/home/src/myprojects/project/tsconfig.json: + {} + +FsWatchesRecursive:: +/home/src/myprojects/project: + {} + +FsWatchesRecursive *deleted*:: +/home/src/myprojects/project/components: + {} + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 3 *changed* + dirty: false *changed* + documentPositionMappers: 0 *changed* + /a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *deleted* + +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory +Before request +//// [/home/src/myprojects/project/components/whatever/alert.ts] +export function alert(message: string) { + console.log(`ALERT: ${message}`); +} + + +//// [/home/src/myprojects/project/functions/whatever/alert.ts] deleted + +Timeout callback:: count: 2 +11: /home/src/myprojects/project/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 *changed* + projectProgramVersion: 3 + dirty: true *changed* + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "openFiles": [ + { + "file": "/home/src/myprojects/project/components/whatever/alert.ts", + "fileContent": "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n", + "projectRootPath": "/home/src/myprojects/project" + } + ], + "closedFiles": [ + "/home/src/myprojects/project/functions/whatever/alert.ts" + ] + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Invoking /home/src/myprojects/project/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myprojects/project/components/whatever/alert.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.es2016.full.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" + /home/src/myprojects/project/index.ts SVC-1-1 "import { alert } from '@app/functions/whatever/alert';\nalert('Hello, world!');\n" + /home/src/myprojects/project/components/whatever/alert.ts SVC-2-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n" + + + ../../../../a/lib/lib.es2016.full.d.ts + Default library for target 'es2016' + index.ts + Matched by default include pattern '**/*' + components/whatever/alert.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/home/src/myprojects/node_modules: *new* + {"pollingInterval":500} +/home/src/myprojects/node_modules/@types: + {"pollingInterval":500} +/home/src/myprojects/project/node_modules: *new* + {"pollingInterval":500} +/home/src/myprojects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.es2016.full.d.ts: + {} +/home/src/myprojects/project/tsconfig.json: + {} + +FsWatchesRecursive:: +/home/src/myprojects/project: + {} +/home/src/myprojects/project/functions: *new* + {} + +Timeout callback:: count: 2 +11: /home/src/myprojects/project/tsconfig.json *deleted* +12: *ensureProjectForOpenFiles* *deleted* +15: /home/src/myprojects/project/tsconfig.json *new* +16: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 *changed* + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.es2016.full.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json +/home/src/myprojects/project/components/whatever/alert.ts (Open) *new* + version: SVC-2-0 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* +/home/src/myprojects/project/functions/whatever/alert.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /home/src/myprojects/project/tsconfig.json *deleted* +/home/src/myprojects/project/index.ts (Open) + version: SVC-1-1 + containingProjects: 1 + /home/src/myprojects/project/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myprojects/project/functions/whatever", + "newFilePath": "/home/src/myprojects/project/components/whatever" + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myprojects/project/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 24 + }, + "end": { + "line": 1, + "offset": 53 + }, + "newText": "@app/components/whatever/alert" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myprojects/project/tsconfig.json (Configured) *changed* + projectStateVersion: 4 + projectProgramVersion: 4 + documentPositionMappers: 1 *changed* + /a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *new* + +Before running Timeout callback:: count: 2 +15: /home/src/myprojects/project/tsconfig.json +16: *ensureProjectForOpenFiles* + +Info seq [hh:mm:ss:mss] Running: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project +Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myprojects/project/index.ts,/home/src/myprojects/project/components/whatever/alert.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myprojects/project/index.ts", + "/home/src/myprojects/project/components/whatever/alert.ts" + ] + } + } +After running Timeout callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js index 5b0144db58f..adf0cf01b03 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js @@ -243,7 +243,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /c.ts ProjectRootPath: undefined:: Result: /tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js new file mode 100644 index 00000000000..1dbf439abe5 --- /dev/null +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk-with-updateOpen.js @@ -0,0 +1,745 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/home/src/myproject/src/index.ts] +import {} from '@/old'; + +//// [/home/src/myproject/src/old.ts] +export const x = 10; + +//// [/home/src/myproject/tsconfig.json] +{ + "compilerOptions": { + "paths": { + "@/*": [ + "./src/*" + ] + } + } +} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "openFiles": [ + { + "file": "/home/src/myproject/src/index.ts", + "projectRootPath": "/home/src/myproject" + }, + { + "file": "/home/src/myproject/src/old.ts", + "projectRootPath": "/home/src/myproject" + } + ] + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/tsconfig.json 2000 undefined Project: /home/src/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 1, + "path": "/home/src/myproject/tsconfig.json" + } + } +Custom watchFile:: Added:: {"id":1,"path":"/home/src/myproject/tsconfig.json"} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myproject/src/index.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/myproject/tsconfig.json : { + "rootNames": [ + "/home/src/myproject/src/index.ts", + "/home/src/myproject/src/old.ts" + ], + "options": { + "paths": { + "@/*": [ + "./src/*" + ] + }, + "pathsBasePath": "/home/src/myproject", + "configFilePath": "/home/src/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 2, + "path": "/home/src/myproject", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 3, + "path": "/a/lib/lib.d.ts" + } + } +Custom watchFile:: Added:: {"id":3,"path":"/a/lib/lib.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 4, + "path": "/home/src/myproject/node_modules/@types", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/old.ts SVC-1-0 "export const x = 10;" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/old.ts + Imported via '@/old' from file 'src/index.ts' + Matched by default include pattern '**/*' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "6bb806941aafa001b31e4d631704de33d39b9ccdac64dcf4d86298a41f7f5e12", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 43, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 334, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/myproject/src/index.ts", + "configFile": "/home/src/myproject/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: *new* + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: *new* + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: *new* + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/old.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src updated +Before request +//// [/home/src/myproject/src/new.ts] +export const x = 10; + +//// [/home/src/myproject/src/old.ts] deleted + +Info seq [hh:mm:ss:mss] request: + { + "command": "watchChange", + "arguments": { + "id": 2, + "deleted": [ + "/home/src/myproject/src/old.ts" + ], + "created": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +After request + +Timeout callback:: count: 2 +1: /home/src/myproject/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "openFiles": [ + { + "file": "/home/src/myproject/src/new.ts", + "fileContent": "export const x = 10;", + "projectRootPath": "/home/src/myproject" + } + ], + "closedFiles": [ + "/home/src/myproject/src/old.ts" + ] + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Invoking /home/src/myproject/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myproject/src/new.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/myproject/src", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/myproject/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/myproject/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + /home/src/myproject/src/new.ts SVC-1-0 "export const x = 10;" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/index.ts + Matched by default include pattern '**/*' + src/new.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: *new* + {"event":{"id":6,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: *new* + {"event":{"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Timeout callback:: count: 2 +1: /home/src/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +5: /home/src/myproject/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /home/src/myproject/tsconfig.json *deleted* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myproject/src/old.ts", + "newFilePath": "/home/src/myproject/src/new.ts" + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myproject/src/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 17 + }, + "end": { + "line": 1, + "offset": 22 + }, + "newText": "@/new" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + documentPositionMappers: 1 *changed* + /a/lib/lib.d.ts: identitySourceMapConsumer *new* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "closedFiles": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/new.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 7, + "path": "/home/src/myproject/src/new.ts" + } + } +Custom watchFile:: Added:: {"id":7,"path":"/home/src/myproject/src/new.ts"} +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/new.ts: *new* + {"event":{"id":7,"path":"/home/src/myproject/src/new.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: + {"event":{"id":6,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: + {"event":{"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/home/src/myproject/src/index.ts" + ] + }, + "seq": 6, + "type": "request" + } +After request + +Timeout callback:: count: 3 +5: /home/src/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +7: checkOne *new* + +Before running Timeout callback:: count: 3 +5: /home/src/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +7: checkOne + +Info seq [hh:mm:ss:mss] Running: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myproject/src/index.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myproject/src/index.ts" + ] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "syntaxDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +After running Timeout callback:: count: 0 + +Immedidate callback:: count: 1 +1: semanticCheck *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before running Immedidate callback:: count: 1 +1: semanticCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "semanticDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 16 + }, + "end": { + "line": 1, + "offset": 23 + }, + "text": "Cannot find module '@/old' or its corresponding type declarations.", + "code": 2307, + "category": "error" + } + ] + } + } +After running Immedidate callback:: count: 1 + +Immedidate callback:: count: 1 +2: suggestionCheck *new* + +Before running Immedidate callback:: count: 1 +2: suggestionCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "suggestionDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "requestCompleted", + "body": { + "request_seq": 6, + "performanceData": { + "diagnosticsDuration": [ + { + "syntaxDiag": *, + "semanticDiag": *, + "suggestionDiag": *, + "file": "/home/src/myproject/src/index.ts" + } + ] + } + } + } +After running Immedidate callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js new file mode 100644 index 00000000000..b2693e57c3d --- /dev/null +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-after-seeing-file-existance-on-the-disk.js @@ -0,0 +1,866 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/home/src/myproject/src/index.ts] +import {} from '@/old'; + +//// [/home/src/myproject/src/old.ts] +export const x = 10; + +//// [/home/src/myproject/tsconfig.json] +{ + "compilerOptions": { + "paths": { + "@/*": [ + "./src/*" + ] + } + } +} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/index.ts", + "projectRootPath": "/home/src/myproject" + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/tsconfig.json 2000 undefined Project: /home/src/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 1, + "path": "/home/src/myproject/tsconfig.json" + } + } +Custom watchFile:: Added:: {"id":1,"path":"/home/src/myproject/tsconfig.json"} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myproject/src/index.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/myproject/tsconfig.json : { + "rootNames": [ + "/home/src/myproject/src/index.ts", + "/home/src/myproject/src/old.ts" + ], + "options": { + "paths": { + "@/*": [ + "./src/*" + ] + }, + "pathsBasePath": "/home/src/myproject", + "configFilePath": "/home/src/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 2, + "path": "/home/src/myproject", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/old.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 3, + "path": "/home/src/myproject/src/old.ts" + } + } +Custom watchFile:: Added:: {"id":3,"path":"/home/src/myproject/src/old.ts"} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 4, + "path": "/a/lib/lib.d.ts" + } + } +Custom watchFile:: Added:: {"id":4,"path":"/a/lib/lib.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/myproject/node_modules/@types", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/old.ts Text-1 "export const x = 10;" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/old.ts + Imported via '@/old' from file 'src/index.ts' + Matched by default include pattern '**/*' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "6bb806941aafa001b31e4d631704de33d39b9ccdac64dcf4d86298a41f7f5e12", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 43, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 334, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/myproject/src/index.ts", + "configFile": "/home/src/myproject/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: *new* + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/old.ts: *new* + {"event":{"id":3,"path":"/home/src/myproject/src/old.ts"}} +/home/src/myproject/tsconfig.json: *new* + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: *new* + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: *new* + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/old.ts", + "projectRootPath": "/home/src/myproject" + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/myproject/src/old.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 3 + } + } +Custom watchFile:: Close:: {"id":3,"path":"/home/src/myproject/src/old.ts"} +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 2, + "success": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +PolledWatches *deleted*:: +/home/src/myproject/src/old.ts: + {"event":{"id":3,"path":"/home/src/myproject/src/old.ts"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/old.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src updated +Before request +//// [/home/src/myproject/src/new.ts] +export const x = 10; + +//// [/home/src/myproject/src/old.ts] deleted + +Info seq [hh:mm:ss:mss] request: + { + "command": "watchChange", + "arguments": { + "id": 2, + "deleted": [ + "/home/src/myproject/src/old.ts" + ], + "created": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +After request + +Timeout callback:: count: 2 +1: /home/src/myproject/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/home/src/myproject/src/old.ts" + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 4, + "success": true + } +After request + +Timeout callback:: count: 2 +1: /home/src/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +3: /home/src/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *deleted* + open: false *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/myproject/tsconfig.json *deleted* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/new.ts", + "projectRootPath": "/home/src/myproject", + "fileContent": "export const x = 10;" + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] Invoking /home/src/myproject/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myproject/src/new.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/myproject/src", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "/home/src/myproject/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/myproject/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + /home/src/myproject/src/new.ts SVC-1-0 "export const x = 10;" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/index.ts + Matched by default include pattern '**/*' + src/new.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 5, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: *new* + {"event":{"id":7,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: *new* + {"event":{"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Timeout callback:: count: 2 +3: /home/src/myproject/tsconfig.json *deleted* +4: *ensureProjectForOpenFiles* *deleted* +5: /home/src/myproject/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myproject/src/old.ts", + "newFilePath": "/home/src/myproject/src/new.ts" + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myproject/src/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 17 + }, + "end": { + "line": 1, + "offset": 22 + }, + "newText": "@/new" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + documentPositionMappers: 1 *changed* + /a/lib/lib.d.ts: identitySourceMapConsumer *new* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/home/src/myproject/src/new.ts" + }, + "seq": 7, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/new.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 8, + "path": "/home/src/myproject/src/new.ts" + } + } +Custom watchFile:: Added:: {"id":8,"path":"/home/src/myproject/src/new.ts"} +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 7, + "success": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/new.ts: *new* + {"event":{"id":8,"path":"/home/src/myproject/src/new.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: + {"event":{"id":7,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: + {"event":{"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/home/src/myproject/src/index.ts" + ] + }, + "seq": 8, + "type": "request" + } +After request + +Timeout callback:: count: 3 +5: /home/src/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +7: checkOne *new* + +Before running Timeout callback:: count: 3 +5: /home/src/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +7: checkOne + +Info seq [hh:mm:ss:mss] Running: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myproject/src/index.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myproject/src/index.ts" + ] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "syntaxDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +After running Timeout callback:: count: 0 + +Immedidate callback:: count: 1 +1: semanticCheck *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before running Immedidate callback:: count: 1 +1: semanticCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "semanticDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 16 + }, + "end": { + "line": 1, + "offset": 23 + }, + "text": "Cannot find module '@/old' or its corresponding type declarations.", + "code": 2307, + "category": "error" + } + ] + } + } +After running Immedidate callback:: count: 1 + +Immedidate callback:: count: 1 +2: suggestionCheck *new* + +Before running Immedidate callback:: count: 1 +2: suggestionCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "suggestionDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "requestCompleted", + "body": { + "request_seq": 8, + "performanceData": { + "diagnosticsDuration": [ + { + "syntaxDiag": *, + "semanticDiag": *, + "suggestionDiag": *, + "file": "/home/src/myproject/src/index.ts" + } + ] + } + } + } +After running Immedidate callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js new file mode 100644 index 00000000000..c2130013699 --- /dev/null +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change-with-updateOpen.js @@ -0,0 +1,740 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/home/src/myproject/src/index.ts] +import {} from '@/old'; + +//// [/home/src/myproject/src/old.ts] +export const x = 10; + +//// [/home/src/myproject/tsconfig.json] +{ + "compilerOptions": { + "paths": { + "@/*": [ + "./src/*" + ] + } + } +} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "openFiles": [ + { + "file": "/home/src/myproject/src/index.ts", + "projectRootPath": "/home/src/myproject" + }, + { + "file": "/home/src/myproject/src/old.ts", + "projectRootPath": "/home/src/myproject" + } + ] + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/tsconfig.json 2000 undefined Project: /home/src/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 1, + "path": "/home/src/myproject/tsconfig.json" + } + } +Custom watchFile:: Added:: {"id":1,"path":"/home/src/myproject/tsconfig.json"} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myproject/src/index.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/myproject/tsconfig.json : { + "rootNames": [ + "/home/src/myproject/src/index.ts", + "/home/src/myproject/src/old.ts" + ], + "options": { + "paths": { + "@/*": [ + "./src/*" + ] + }, + "pathsBasePath": "/home/src/myproject", + "configFilePath": "/home/src/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 2, + "path": "/home/src/myproject", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 3, + "path": "/a/lib/lib.d.ts" + } + } +Custom watchFile:: Added:: {"id":3,"path":"/a/lib/lib.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 4, + "path": "/home/src/myproject/node_modules/@types", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/old.ts SVC-1-0 "export const x = 10;" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/old.ts + Imported via '@/old' from file 'src/index.ts' + Matched by default include pattern '**/*' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "6bb806941aafa001b31e4d631704de33d39b9ccdac64dcf4d86298a41f7f5e12", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 43, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 334, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/myproject/src/index.ts", + "configFile": "/home/src/myproject/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: *new* + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: *new* + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: *new* + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/old.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src updated +Before request +//// [/home/src/myproject/src/new.ts] +export const x = 10; + +//// [/home/src/myproject/src/old.ts] deleted + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "openFiles": [ + { + "file": "/home/src/myproject/src/new.ts", + "fileContent": "export const x = 10;", + "projectRootPath": "/home/src/myproject" + } + ], + "closedFiles": [ + "/home/src/myproject/src/old.ts" + ] + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Invoking /home/src/myproject/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myproject/src/new.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/myproject/src", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/myproject/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/myproject/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + /home/src/myproject/src/new.ts SVC-1-0 "export const x = 10;" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/index.ts + Matched by default include pattern '**/*' + src/new.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: *new* + {"event":{"id":6,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: *new* + {"event":{"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Timeout callback:: count: 2 +3: /home/src/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /home/src/myproject/tsconfig.json *deleted* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myproject/src/old.ts", + "newFilePath": "/home/src/myproject/src/new.ts" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myproject/src/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 17 + }, + "end": { + "line": 1, + "offset": 22 + }, + "newText": "@/new" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + documentPositionMappers: 1 *changed* + /a/lib/lib.d.ts: identitySourceMapConsumer *new* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "closedFiles": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/new.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 7, + "path": "/home/src/myproject/src/new.ts" + } + } +Custom watchFile:: Added:: {"id":7,"path":"/home/src/myproject/src/new.ts"} +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/new.ts: *new* + {"event":{"id":7,"path":"/home/src/myproject/src/new.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: + {"event":{"id":6,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: + {"event":{"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "watchChange", + "arguments": { + "id": 2, + "deleted": [ + "/home/src/myproject/src/old.ts" + ], + "created": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +After request + +Timeout callback:: count: 2 +3: /home/src/myproject/tsconfig.json *deleted* +4: *ensureProjectForOpenFiles* *deleted* +7: /home/src/myproject/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/home/src/myproject/src/index.ts" + ] + }, + "seq": 6, + "type": "request" + } +After request + +Timeout callback:: count: 3 +7: /home/src/myproject/tsconfig.json +8: *ensureProjectForOpenFiles* +9: checkOne *new* + +Before running Timeout callback:: count: 3 +7: /home/src/myproject/tsconfig.json +8: *ensureProjectForOpenFiles* +9: checkOne + +Info seq [hh:mm:ss:mss] Running: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myproject/src/index.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myproject/src/index.ts" + ] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "syntaxDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +After running Timeout callback:: count: 0 + +Immedidate callback:: count: 1 +1: semanticCheck *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before running Immedidate callback:: count: 1 +1: semanticCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "semanticDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 16 + }, + "end": { + "line": 1, + "offset": 23 + }, + "text": "Cannot find module '@/old' or its corresponding type declarations.", + "code": 2307, + "category": "error" + } + ] + } + } +After running Immedidate callback:: count: 1 + +Immedidate callback:: count: 1 +2: suggestionCheck *new* + +Before running Immedidate callback:: count: 1 +2: suggestionCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "suggestionDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "requestCompleted", + "body": { + "request_seq": 6, + "performanceData": { + "diagnosticsDuration": [ + { + "syntaxDiag": *, + "semanticDiag": *, + "suggestionDiag": *, + "file": "/home/src/myproject/src/index.ts" + } + ] + } + } + } +After running Immedidate callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js new file mode 100644 index 00000000000..5ba56962fa9 --- /dev/null +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-closed-before-change.js @@ -0,0 +1,868 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/home/src/myproject/src/index.ts] +import {} from '@/old'; + +//// [/home/src/myproject/src/old.ts] +export const x = 10; + +//// [/home/src/myproject/tsconfig.json] +{ + "compilerOptions": { + "paths": { + "@/*": [ + "./src/*" + ] + } + } +} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/index.ts", + "projectRootPath": "/home/src/myproject" + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/tsconfig.json 2000 undefined Project: /home/src/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 1, + "path": "/home/src/myproject/tsconfig.json" + } + } +Custom watchFile:: Added:: {"id":1,"path":"/home/src/myproject/tsconfig.json"} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myproject/src/index.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/myproject/tsconfig.json : { + "rootNames": [ + "/home/src/myproject/src/index.ts", + "/home/src/myproject/src/old.ts" + ], + "options": { + "paths": { + "@/*": [ + "./src/*" + ] + }, + "pathsBasePath": "/home/src/myproject", + "configFilePath": "/home/src/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 2, + "path": "/home/src/myproject", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/old.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 3, + "path": "/home/src/myproject/src/old.ts" + } + } +Custom watchFile:: Added:: {"id":3,"path":"/home/src/myproject/src/old.ts"} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 4, + "path": "/a/lib/lib.d.ts" + } + } +Custom watchFile:: Added:: {"id":4,"path":"/a/lib/lib.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/myproject/node_modules/@types", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/old.ts Text-1 "export const x = 10;" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/old.ts + Imported via '@/old' from file 'src/index.ts' + Matched by default include pattern '**/*' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "6bb806941aafa001b31e4d631704de33d39b9ccdac64dcf4d86298a41f7f5e12", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 43, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 334, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/myproject/src/index.ts", + "configFile": "/home/src/myproject/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: *new* + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/old.ts: *new* + {"event":{"id":3,"path":"/home/src/myproject/src/old.ts"}} +/home/src/myproject/tsconfig.json: *new* + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: *new* + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: *new* + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/old.ts", + "projectRootPath": "/home/src/myproject" + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/myproject/src/old.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 3 + } + } +Custom watchFile:: Close:: {"id":3,"path":"/home/src/myproject/src/old.ts"} +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 2, + "success": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +PolledWatches *deleted*:: +/home/src/myproject/src/old.ts: + {"event":{"id":3,"path":"/home/src/myproject/src/old.ts"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/old.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src updated +Before request +//// [/home/src/myproject/src/new.ts] +export const x = 10; + +//// [/home/src/myproject/src/old.ts] deleted + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/home/src/myproject/src/old.ts" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 3, + "success": true + } +After request + +Timeout callback:: count: 2 +1: /home/src/myproject/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *deleted* + open: false *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/myproject/tsconfig.json *deleted* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/new.ts", + "projectRootPath": "/home/src/myproject", + "fileContent": "export const x = 10;" + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] Invoking /home/src/myproject/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myproject/src/new.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/myproject/src", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "/home/src/myproject/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/myproject/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + /home/src/myproject/src/new.ts SVC-1-0 "export const x = 10;" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/index.ts + Matched by default include pattern '**/*' + src/new.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 4, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: *new* + {"event":{"id":7,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: *new* + {"event":{"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Timeout callback:: count: 2 +1: /home/src/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +3: /home/src/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myproject/src/old.ts", + "newFilePath": "/home/src/myproject/src/new.ts" + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myproject/src/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 17 + }, + "end": { + "line": 1, + "offset": 22 + }, + "newText": "@/new" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + documentPositionMappers: 1 *changed* + /a/lib/lib.d.ts: identitySourceMapConsumer *new* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/home/src/myproject/src/new.ts" + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/new.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 8, + "path": "/home/src/myproject/src/new.ts" + } + } +Custom watchFile:: Added:: {"id":8,"path":"/home/src/myproject/src/new.ts"} +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 6, + "success": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/new.ts: *new* + {"event":{"id":8,"path":"/home/src/myproject/src/new.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: + {"event":{"id":7,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: + {"event":{"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "watchChange", + "arguments": { + "id": 2, + "deleted": [ + "/home/src/myproject/src/old.ts" + ], + "created": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 7, + "type": "request" + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +After request + +Timeout callback:: count: 2 +3: /home/src/myproject/tsconfig.json *deleted* +4: *ensureProjectForOpenFiles* *deleted* +7: /home/src/myproject/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/home/src/myproject/src/index.ts" + ] + }, + "seq": 8, + "type": "request" + } +After request + +Timeout callback:: count: 3 +7: /home/src/myproject/tsconfig.json +8: *ensureProjectForOpenFiles* +9: checkOne *new* + +Before running Timeout callback:: count: 3 +7: /home/src/myproject/tsconfig.json +8: *ensureProjectForOpenFiles* +9: checkOne + +Info seq [hh:mm:ss:mss] Running: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myproject/src/index.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myproject/src/index.ts" + ] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "syntaxDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +After running Timeout callback:: count: 0 + +Immedidate callback:: count: 1 +1: semanticCheck *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before running Immedidate callback:: count: 1 +1: semanticCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "semanticDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 16 + }, + "end": { + "line": 1, + "offset": 23 + }, + "text": "Cannot find module '@/old' or its corresponding type declarations.", + "code": 2307, + "category": "error" + } + ] + } + } +After running Immedidate callback:: count: 1 + +Immedidate callback:: count: 1 +2: suggestionCheck *new* + +Before running Immedidate callback:: count: 1 +2: suggestionCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "suggestionDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "requestCompleted", + "body": { + "request_seq": 8, + "performanceData": { + "diagnosticsDuration": [ + { + "syntaxDiag": *, + "semanticDiag": *, + "suggestionDiag": *, + "file": "/home/src/myproject/src/index.ts" + } + ] + } + } + } +After running Immedidate callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js new file mode 100644 index 00000000000..a1442f76b64 --- /dev/null +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk-with-updateOpen.js @@ -0,0 +1,738 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/home/src/myproject/src/index.ts] +import {} from '@/old'; + +//// [/home/src/myproject/src/old.ts] +export const x = 10; + +//// [/home/src/myproject/tsconfig.json] +{ + "compilerOptions": { + "paths": { + "@/*": [ + "./src/*" + ] + } + } +} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "openFiles": [ + { + "file": "/home/src/myproject/src/index.ts", + "projectRootPath": "/home/src/myproject" + }, + { + "file": "/home/src/myproject/src/old.ts", + "projectRootPath": "/home/src/myproject" + } + ] + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/tsconfig.json 2000 undefined Project: /home/src/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 1, + "path": "/home/src/myproject/tsconfig.json" + } + } +Custom watchFile:: Added:: {"id":1,"path":"/home/src/myproject/tsconfig.json"} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myproject/src/index.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/myproject/tsconfig.json : { + "rootNames": [ + "/home/src/myproject/src/index.ts", + "/home/src/myproject/src/old.ts" + ], + "options": { + "paths": { + "@/*": [ + "./src/*" + ] + }, + "pathsBasePath": "/home/src/myproject", + "configFilePath": "/home/src/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 2, + "path": "/home/src/myproject", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 3, + "path": "/a/lib/lib.d.ts" + } + } +Custom watchFile:: Added:: {"id":3,"path":"/a/lib/lib.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 4, + "path": "/home/src/myproject/node_modules/@types", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/old.ts SVC-1-0 "export const x = 10;" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/old.ts + Imported via '@/old' from file 'src/index.ts' + Matched by default include pattern '**/*' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "6bb806941aafa001b31e4d631704de33d39b9ccdac64dcf4d86298a41f7f5e12", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 43, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 334, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/myproject/src/index.ts", + "configFile": "/home/src/myproject/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: *new* + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: *new* + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: *new* + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: *new* + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/old.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src updated +Before request +//// [/home/src/myproject/src/new.ts] +export const x = 10; + +//// [/home/src/myproject/src/old.ts] deleted + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "openFiles": [ + { + "file": "/home/src/myproject/src/new.ts", + "fileContent": "export const x = 10;", + "projectRootPath": "/home/src/myproject" + } + ], + "closedFiles": [ + "/home/src/myproject/src/old.ts" + ] + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Invoking /home/src/myproject/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myproject/src/new.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/myproject/src", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/myproject/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/myproject/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + /home/src/myproject/src/new.ts SVC-1-0 "export const x = 10;" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/index.ts + Matched by default include pattern '**/*' + src/new.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: *new* + {"event":{"id":6,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: *new* + {"event":{"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Timeout callback:: count: 2 +3: /home/src/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *deleted* + open: false *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /home/src/myproject/tsconfig.json *deleted* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myproject/src/old.ts", + "newFilePath": "/home/src/myproject/src/new.ts" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myproject/src/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 17 + }, + "end": { + "line": 1, + "offset": 22 + }, + "newText": "@/new" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + documentPositionMappers: 1 *changed* + /a/lib/lib.d.ts: identitySourceMapConsumer *new* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "watchChange", + "arguments": { + "id": 2, + "deleted": [ + "/home/src/myproject/src/old.ts" + ], + "created": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +After request + +Timeout callback:: count: 2 +3: /home/src/myproject/tsconfig.json *deleted* +4: *ensureProjectForOpenFiles* *deleted* +5: /home/src/myproject/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "updateOpen", + "arguments": { + "closedFiles": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/new.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 7, + "path": "/home/src/myproject/src/new.ts" + } + } +Custom watchFile:: Added:: {"id":7,"path":"/home/src/myproject/src/new.ts"} +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "response": true, + "responseRequired": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":3,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/new.ts: *new* + {"event":{"id":7,"path":"/home/src/myproject/src/new.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: + {"event":{"id":6,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":4,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: + {"event":{"id":5,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/home/src/myproject/src/index.ts" + ] + }, + "seq": 6, + "type": "request" + } +After request + +Timeout callback:: count: 3 +5: /home/src/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +7: checkOne *new* + +Before running Timeout callback:: count: 3 +5: /home/src/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +7: checkOne + +Info seq [hh:mm:ss:mss] Running: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myproject/src/index.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myproject/src/index.ts" + ] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "syntaxDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +After running Timeout callback:: count: 0 + +Immedidate callback:: count: 1 +1: semanticCheck *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before running Immedidate callback:: count: 1 +1: semanticCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "semanticDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 16 + }, + "end": { + "line": 1, + "offset": 23 + }, + "text": "Cannot find module '@/old' or its corresponding type declarations.", + "code": 2307, + "category": "error" + } + ] + } + } +After running Immedidate callback:: count: 1 + +Immedidate callback:: count: 1 +2: suggestionCheck *new* + +Before running Immedidate callback:: count: 1 +2: suggestionCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "suggestionDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "requestCompleted", + "body": { + "request_seq": 6, + "performanceData": { + "diagnosticsDuration": [ + { + "syntaxDiag": *, + "semanticDiag": *, + "suggestionDiag": *, + "file": "/home/src/myproject/src/index.ts" + } + ] + } + } + } +After running Immedidate callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js new file mode 100644 index 00000000000..0e223c8cffc --- /dev/null +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-when-file-is-opened-before-seeing-file-existance-on-the-disk.js @@ -0,0 +1,866 @@ +currentDirectory:: / useCaseSensitiveFileNames: false +Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist +Before request +//// [/home/src/myproject/src/index.ts] +import {} from '@/old'; + +//// [/home/src/myproject/src/old.ts] +export const x = 10; + +//// [/home/src/myproject/tsconfig.json] +{ + "compilerOptions": { + "paths": { + "@/*": [ + "./src/*" + ] + } + } +} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/index.ts", + "projectRootPath": "/home/src/myproject" + }, + "seq": 1, + "type": "request" + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/tsconfig.json 2000 undefined Project: /home/src/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 1, + "path": "/home/src/myproject/tsconfig.json" + } + } +Custom watchFile:: Added:: {"id":1,"path":"/home/src/myproject/tsconfig.json"} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/myproject/tsconfig.json", + "reason": "Creating possible configured project for /home/src/myproject/src/index.ts to open" + } + } +Info seq [hh:mm:ss:mss] Config: /home/src/myproject/tsconfig.json : { + "rootNames": [ + "/home/src/myproject/src/index.ts", + "/home/src/myproject/src/old.ts" + ], + "options": { + "paths": { + "@/*": [ + "./src/*" + ] + }, + "pathsBasePath": "/home/src/myproject", + "configFilePath": "/home/src/myproject/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 2, + "path": "/home/src/myproject", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/old.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 3, + "path": "/home/src/myproject/src/old.ts" + } + } +Custom watchFile:: Added:: {"id":3,"path":"/home/src/myproject/src/old.ts"} +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 4, + "path": "/a/lib/lib.d.ts" + } + } +Custom watchFile:: Added:: {"id":4,"path":"/a/lib/lib.d.ts"} +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 5, + "path": "/home/src/myproject/node_modules/@types", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules/@types 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/old.ts Text-1 "export const x = 10;" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/old.ts + Imported via '@/old' from file 'src/index.ts' + Matched by default include pattern '**/*' + src/index.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/myproject/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "telemetry", + "body": { + "telemetryEventName": "projectInfo", + "payload": { + "projectId": "6bb806941aafa001b31e4d631704de33d39b9ccdac64dcf4d86298a41f7f5e12", + "fileStats": { + "js": 0, + "jsSize": 0, + "jsx": 0, + "jsxSize": 0, + "ts": 2, + "tsSize": 43, + "tsx": 0, + "tsxSize": 0, + "dts": 1, + "dtsSize": 334, + "deferred": 0, + "deferredSize": 0 + }, + "compilerOptions": { + "paths": "" + }, + "typeAcquisition": { + "enable": false, + "include": false, + "exclude": false + }, + "extends": false, + "files": false, + "include": false, + "exclude": false, + "compileOnSave": false, + "configFileName": "tsconfig.json", + "projectType": "configured", + "languageServiceEnabled": true, + "version": "FakeVersion" + } + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/myproject/src/index.ts", + "configFile": "/home/src/myproject/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 1, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: *new* + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/old.ts: *new* + {"event":{"id":3,"path":"/home/src/myproject/src/old.ts"}} +/home/src/myproject/tsconfig.json: *new* + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: *new* + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: *new* + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + +ScriptInfos:: +/a/lib/lib.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/old.ts", + "projectRootPath": "/home/src/myproject" + }, + "seq": 2, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/myproject/src/old.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "closeFileWatcher", + "body": { + "id": 3 + } + } +Custom watchFile:: Close:: {"id":3,"path":"/home/src/myproject/src/old.ts"} +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/old.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 2, + "success": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +PolledWatches *deleted*:: +/home/src/myproject/src/old.ts: + {"event":{"id":3,"path":"/home/src/myproject/src/old.ts"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/old.ts deleted +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts created +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src/new.ts updated +Custom watchDirectory:: Triggered Ignored:: {"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}:: /home/src/myproject/src updated +Before request +//// [/home/src/myproject/src/new.ts] +export const x = 10; + +//// [/home/src/myproject/src/old.ts] deleted + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/home/src/myproject/src/old.ts" + }, + "seq": 3, + "type": "request" + } +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 3, + "success": true + } +After request + +Timeout callback:: count: 2 +1: /home/src/myproject/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 1 + dirty: true *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/old.ts *deleted* + open: false *changed* + version: Text-1 + containingProjects: 0 *changed* + /home/src/myproject/tsconfig.json *deleted* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "open", + "arguments": { + "file": "/home/src/myproject/src/new.ts", + "projectRootPath": "/home/src/myproject", + "fileContent": "export const x = 10;" + }, + "seq": 4, + "type": "request" + } +Info seq [hh:mm:ss:mss] Invoking /home/src/myproject/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myproject/src/new.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject:: Result: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 6, + "path": "/home/src/myproject/src", + "recursive": true, + "ignoreUpdate": true + } + } +Custom watchDirectory:: Added:: {"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/src 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createDirectoryWatcher", + "body": { + "id": 7, + "path": "/home/src/myproject/node_modules", + "recursive": true + } + } +Custom watchDirectory:: Added:: {"id":7,"path":"/home/src/myproject/node_modules","recursive":true} +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myproject/node_modules 1 undefined Project: /home/src/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/myproject/src/index.ts SVC-1-0 "import {} from '@/old';" + /home/src/myproject/src/new.ts SVC-1-0 "export const x = 10;" + + + ../../../a/lib/lib.d.ts + Default library for target 'es5' + src/index.ts + Matched by default include pattern '**/*' + src/new.ts + Matched by default include pattern '**/*' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/new.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "open", + "request_seq": 4, + "success": true, + "performanceData": { + "updateGraphDurationMs": * + } + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: *new* + {"event":{"id":7,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: *new* + {"event":{"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +Timeout callback:: count: 2 +1: /home/src/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +3: /home/src/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 *changed* + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) *new* + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "getEditsForFileRename", + "arguments": { + "oldFilePath": "/home/src/myproject/src/old.ts", + "newFilePath": "/home/src/myproject/src/new.ts" + }, + "seq": 5, + "type": "request" + } +Info seq [hh:mm:ss:mss] response: + { + "response": [ + { + "fileName": "/home/src/myproject/src/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 17 + }, + "end": { + "line": 1, + "offset": 22 + }, + "newText": "@/new" + } + ] + } + ], + "responseRequired": true + } +After request + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + documentPositionMappers: 1 *changed* + /a/lib/lib.d.ts: identitySourceMapConsumer *new* + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + sourceMapFilePath: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "watchChange", + "arguments": { + "id": 2, + "deleted": [ + "/home/src/myproject/src/old.ts" + ], + "created": [ + "/home/src/myproject/src/new.ts" + ] + }, + "seq": 6, + "type": "request" + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/new.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /home/src/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myproject/src/old.ts :: WatchInfo: /home/src/myproject 1 undefined Config: /home/src/myproject/tsconfig.json WatchType: Wild card directory +After request + +Timeout callback:: count: 2 +3: /home/src/myproject/tsconfig.json *deleted* +4: *ensureProjectForOpenFiles* *deleted* +5: /home/src/myproject/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "close", + "arguments": { + "file": "/home/src/myproject/src/new.ts" + }, + "seq": 7, + "type": "request" + } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myproject/src/new.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "createFileWatcher", + "body": { + "id": 8, + "path": "/home/src/myproject/src/new.ts" + } + } +Custom watchFile:: Added:: {"id":8,"path":"/home/src/myproject/src/new.ts"} +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "close", + "request_seq": 7, + "success": true + } +After request + +PolledWatches:: +/a/lib/lib.d.ts: + {"event":{"id":4,"path":"/a/lib/lib.d.ts"}} +/home/src/myproject/src/new.ts: *new* + {"event":{"id":8,"path":"/home/src/myproject/src/new.ts"}} +/home/src/myproject/tsconfig.json: + {"event":{"id":1,"path":"/home/src/myproject/tsconfig.json"}} + +FsWatchesRecursive:: +/home/src/myproject: + {"event":{"id":2,"path":"/home/src/myproject","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/node_modules: + {"event":{"id":7,"path":"/home/src/myproject/node_modules","recursive":true}} +/home/src/myproject/node_modules/@types: + {"event":{"id":5,"path":"/home/src/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true}} +/home/src/myproject/src: + {"event":{"id":6,"path":"/home/src/myproject/src","recursive":true,"ignoreUpdate":true}} + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + open: false *changed* + version: SVC-1-0 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before request + +Info seq [hh:mm:ss:mss] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/home/src/myproject/src/index.ts" + ] + }, + "seq": 8, + "type": "request" + } +After request + +Timeout callback:: count: 3 +5: /home/src/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +7: checkOne *new* + +Before running Timeout callback:: count: 3 +5: /home/src/myproject/tsconfig.json +6: *ensureProjectForOpenFiles* +7: checkOne + +Info seq [hh:mm:ss:mss] Running: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/myproject/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (3) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /home/src/myproject/src/index.ts ProjectRootPath: /home/src/myproject +Info seq [hh:mm:ss:mss] Projects: /home/src/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myproject/src/index.ts +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectsUpdatedInBackground", + "body": { + "openFiles": [ + "/home/src/myproject/src/index.ts" + ] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "syntaxDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +After running Timeout callback:: count: 0 + +Immedidate callback:: count: 1 +1: semanticCheck *new* + +Projects:: +/home/src/myproject/tsconfig.json (Configured) *changed* + projectStateVersion: 3 + projectProgramVersion: 2 + dirty: false *changed* + +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + sourceMapFilePath: false + containingProjects: 1 + /home/src/myproject/tsconfig.json +/home/src/myproject/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /home/src/myproject/tsconfig.json *default* +/home/src/myproject/src/new.ts *changed* + version: SVC-1-0 + pendingReloadFromDisk: false *changed* + containingProjects: 1 + /home/src/myproject/tsconfig.json + +Before running Immedidate callback:: count: 1 +1: semanticCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "semanticDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 16 + }, + "end": { + "line": 1, + "offset": 23 + }, + "text": "Cannot find module '@/old' or its corresponding type declarations.", + "code": 2307, + "category": "error" + } + ] + } + } +After running Immedidate callback:: count: 1 + +Immedidate callback:: count: 1 +2: suggestionCheck *new* + +Before running Immedidate callback:: count: 1 +2: suggestionCheck + +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "suggestionDiag", + "body": { + "file": "/home/src/myproject/src/index.ts", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "requestCompleted", + "body": { + "request_seq": 8, + "performanceData": { + "diagnosticsDuration": [ + { + "syntaxDiag": *, + "semanticDiag": *, + "suggestionDiag": *, + "file": "/home/src/myproject/src/index.ts" + } + ] + } + } + } +After running Immedidate callback:: count: 0 diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js index 77ea91770e0..cbe9503a685 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js @@ -68,6 +68,9 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/d/e/file3.ts Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/node/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.cache/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) @@ -229,6 +232,12 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +/project/node_modules/.cache/package.json: *new* + {"pollingInterval":2000} +/project/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} +/project/node_modules/@types/package.json: *new* + {"pollingInterval":2000} FsWatches:: /project/a/file4.ts: *new* diff --git a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js index d2a636da061..0ee38b81a77 100644 --- a/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js +++ b/tests/baselines/reference/tsserver/importHelpers/import-helpers-successfully.js @@ -202,7 +202,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js b/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js index 3f492da9dc6..56875a8f865 100644 --- a/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js +++ b/tests/baselines/reference/tsserver/importHelpers/should-not-crash-in-tsserver.js @@ -29,6 +29,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/app.ts 500 undefine Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: p Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/node_modules/tslib/package.json 2000 undefined Project: p WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: p WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: p projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'p' (External) @@ -100,6 +101,8 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +/a/node_modules/tslib/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/app.ts: *new* diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js index 7f0c79f1084..24edc8f7fcf 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js @@ -140,7 +140,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -475,8 +474,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 3, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/jsFile2.js +Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/jsFile2.js Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/jsFile2.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -682,8 +682,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/username/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/username/projects/myproject/jsFile1.js +Info seq [hh:mm:ss:mss] Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/jsFile1.js Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/jsFile1.js ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js index c4cac17bc19..02f8b24c440 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js @@ -245,6 +245,13 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== @@ -262,6 +269,13 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-s Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -277,6 +291,13 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-e Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -301,6 +322,20 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -435,6 +470,20 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project1/node_modules: *new* {"pollingInterval":500} @@ -578,9 +627,58 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. @@ -588,7 +686,7 @@ Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Scoped package detected, looking in 'typescript__lib-dom' -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -616,6 +714,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (10) @@ -687,9 +786,25 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.dom.d.ts: *new* {} @@ -838,6 +953,27 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -1017,8 +1153,29 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -1177,6 +1334,27 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -1195,7 +1373,36 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -1263,6 +1470,48 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} +/home/src/projects/project1/node_modules: + {"pollingInterval":500} + +FsWatches:: +/home/src/lib/lib.dom.d.ts: + {} +/home/src/projects/project1/core.d.ts: + {} +/home/src/projects/project1/file.ts: + {} +/home/src/projects/project1/file2.ts: + {} +/home/src/projects/project1/tsconfig.json: + {} +/home/src/projects/project1/typeroot1/sometype/index.d.ts: + {} +/home/src/projects/project1/utils.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/node_modules: + {} +/home/src/projects/project1: + {} +/home/src/projects/project1/typeroot1: + {} + Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 5 @@ -1387,8 +1636,29 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project1/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1,/home/src/projects/project1/typeroot2'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1, /home/src/projects/project1/typeroot2'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -1397,6 +1667,13 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/in Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 6 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -1466,6 +1743,20 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} /home/src/projects/project1/typeroot2: *new* @@ -1628,8 +1919,29 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project1/tsconfig.json : { } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -1670,6 +1982,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 7 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -1761,10 +2074,24 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} /home/src/projects/project1/typeroot2: {"pollingInterval":500} @@ -1923,13 +2250,20 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Scoped package detected, looking in 'typescript__lib-webworker' -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -1958,9 +2292,24 @@ Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-webworker' was not resolved. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 8 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -2029,9 +2378,23 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} + FsWatches:: /home/src/lib/lib.dom.d.ts: {} @@ -2205,6 +2568,20 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -2220,10 +2597,32 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-w Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 9 projectProgramVersion: 7 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -2291,6 +2690,48 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-es5/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-scripthost/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} +/home/src/projects/project1/node_modules: + {"pollingInterval":500} + +FsWatches:: +/home/src/lib/lib.dom.d.ts: + {} +/home/src/lib/lib.webworker.d.ts: + {} +/home/src/projects/project1/core.d.ts: + {} +/home/src/projects/project1/file.ts: + {} +/home/src/projects/project1/file2.ts: + {} +/home/src/projects/project1/tsconfig.json: + {} +/home/src/projects/project1/typeroot1/sometype/index.d.ts: + {} +/home/src/projects/project1/utils.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/node_modules: + {} +/home/src/projects/project1: + {} +/home/src/projects/project1/typeroot1: + {} + Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 9 diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config.js b/tests/baselines/reference/tsserver/libraryResolution/with-config.js index 18f24521186..bcf9df246f1 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config.js @@ -577,8 +577,19 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (10) @@ -649,6 +660,48 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/project1/node_modules: + {"pollingInterval":500} + +FsWatches:: +/home/src/lib/lib.dom.d.ts: + {} +/home/src/lib/lib.es5.d.ts: + {} +/home/src/lib/lib.scripthost.d.ts: + {} +/home/src/lib/lib.webworker.d.ts: + {} +/home/src/projects/project1/core.d.ts: + {} +/home/src/projects/project1/file.ts: + {} +/home/src/projects/project1/file2.ts: + {} +/home/src/projects/project1/tsconfig.json: + {} +/home/src/projects/project1/typeroot1/sometype/index.d.ts: + {} +/home/src/projects/project1/utils.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/node_modules: + {} +/home/src/projects/project1: + {} +/home/src/projects/project1/typeroot1: + {} + Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -770,6 +823,13 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -949,6 +1009,13 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthos Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -1097,6 +1164,13 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -1107,7 +1181,7 @@ Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Scoped package detected, looking in 'typescript__lib-dom' -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -1134,6 +1208,10 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -1201,6 +1279,50 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/project1/node_modules: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/home/src/lib/lib.dom.d.ts: + {} +/home/src/lib/lib.es5.d.ts: + {} +/home/src/lib/lib.scripthost.d.ts: + {} +/home/src/lib/lib.webworker.d.ts: + {} +/home/src/projects/project1/core.d.ts: + {} +/home/src/projects/project1/file.ts: + {} +/home/src/projects/project1/file2.ts: + {} +/home/src/projects/project1/tsconfig.json: + {} +/home/src/projects/project1/typeroot1/sometype/index.d.ts: + {} +/home/src/projects/project1/utils.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/node_modules: + {} +/home/src/projects/project1: + {} +/home/src/projects/project1/typeroot1: + {} + Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 5 @@ -1596,6 +1718,17 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 7 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -1657,6 +1790,14 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 1 PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/package.json: *new* + {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} @@ -1828,6 +1969,13 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1843,10 +1991,25 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-w Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 8 projectProgramVersion: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -1914,6 +2077,50 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} +/home/src/projects/project1/node_modules: + {"pollingInterval":500} + +FsWatches:: +/home/src/lib/lib.dom.d.ts: + {} +/home/src/lib/lib.es5.d.ts: + {} +/home/src/lib/lib.scripthost.d.ts: + {} +/home/src/lib/lib.webworker.d.ts: + {} +/home/src/projects/project1/core.d.ts: + {} +/home/src/projects/project1/file.ts: + {} +/home/src/projects/project1/file2.ts: + {} +/home/src/projects/project1/tsconfig.json: + {} +/home/src/projects/project1/typeroot1/sometype/index.d.ts: + {} +/home/src/projects/project1/utils.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/node_modules: + {} +/home/src/projects/project1: + {} +/home/src/projects/project1/typeroot1: + {} + Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 8 @@ -2048,13 +2255,20 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Scoped package detected, looking in 'typescript__lib-webworker' -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -2085,6 +2299,14 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthos Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 9 projectProgramVersion: 7 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -2152,6 +2374,52 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules/@typescript/lib-dom/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/@typescript/package.json: + {"pollingInterval":2000} +/home/src/projects/node_modules/package.json: + {"pollingInterval":2000} +/home/src/projects/package.json: + {"pollingInterval":2000} +/home/src/projects/project1/node_modules: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/home/src/projects/node_modules/@typescript/lib-webworker/package.json: + {"pollingInterval":2000} + +FsWatches:: +/home/src/lib/lib.dom.d.ts: + {} +/home/src/lib/lib.es5.d.ts: + {} +/home/src/lib/lib.scripthost.d.ts: + {} +/home/src/lib/lib.webworker.d.ts: + {} +/home/src/projects/project1/core.d.ts: + {} +/home/src/projects/project1/file.ts: + {} +/home/src/projects/project1/file2.ts: + {} +/home/src/projects/project1/tsconfig.json: + {} +/home/src/projects/project1/typeroot1/sometype/index.d.ts: + {} +/home/src/projects/project1/utils.d.ts: + {} + +FsWatchesRecursive:: +/home/src/projects/node_modules: + {} +/home/src/projects/project1: + {} +/home/src/projects/project1/typeroot1: + {} + Projects:: /home/src/projects/project1/tsconfig.json (Configured) *changed* projectStateVersion: 9 diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js index 2ebcad95f2c..f7e179175e1 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js @@ -54,6 +54,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules/minimatch/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules/glob/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules/path/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -80,10 +87,24 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: +/user/username/projects/package.json: *new* + {"pollingInterval":2000} /user/username/projects/project1/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/project1/package.json: *new* + {"pollingInterval":2000} /user/username/projects/project1/src/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/project1/src/node_modules/glob/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/project1/src/node_modules/minimatch/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/project1/src/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/project1/src/node_modules/path/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/project1/src/package.json: *new* + {"pollingInterval":2000} /user/username/projects/project1/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/project1/tsconfig.json: *new* @@ -293,10 +314,24 @@ PolledWatches:: {"pollingInterval":500} /node_modules: *new* {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} /user/username/projects/project1/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/project1/package.json: + {"pollingInterval":2000} /user/username/projects/project1/src/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/project1/src/node_modules/glob/package.json: + {"pollingInterval":2000} +/user/username/projects/project1/src/node_modules/minimatch/package.json: + {"pollingInterval":2000} +/user/username/projects/project1/src/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/project1/src/node_modules/path/package.json: + {"pollingInterval":2000} +/user/username/projects/project1/src/package.json: + {"pollingInterval":2000} /user/username/projects/project1/src/tsconfig.json: {"pollingInterval":2000} /user/username/projects/project1/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js index 45b7b96ea73..8ea3bf24fd1 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js @@ -21,6 +21,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/file1.js ProjectR Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/test/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -38,6 +40,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: +/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/b/node_modules/test/package.json: *new* + {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -208,6 +214,10 @@ After request PolledWatches:: /a/b/bower_components: *new* {"pollingInterval":500} +/a/b/node_modules/package.json: + {"pollingInterval":2000} +/a/b/node_modules/test/package.json: + {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js index cf1bb23e794..bf823be48c4 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js @@ -967,8 +967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js index db3beade246..d2a053e5d85 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js @@ -967,8 +967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", @@ -1036,6 +1036,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "11", + "source": "./a", "insertText": "import { foo$1 } from \"./a\";", "replacementSpan": { "start": { @@ -1047,14 +1048,13 @@ Info seq [hh:mm:ss:mss] response: "offset": 7 } }, - "isSnippet": true, - "source": "./a", "sourceDisplay": [ { "text": "./a", "kind": "text" } ], + "isSnippet": true, "isImportStatementCompletion": true, "data": { "exportName": "foo", @@ -1068,6 +1068,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "11", + "source": "mobx", "insertText": "import { observable$1 } from \"mobx\";", "replacementSpan": { "start": { @@ -1079,14 +1080,13 @@ Info seq [hh:mm:ss:mss] response: "offset": 7 } }, - "isSnippet": true, - "source": "mobx", "sourceDisplay": [ { "text": "mobx", "kind": "text" } ], + "isSnippet": true, "isPackageJsonImport": true, "isImportStatementCompletion": true, "data": { diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js index c626e7d1495..8d7f7dc1c81 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js @@ -967,8 +967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js index 4109002b577..47d8e015aec 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js @@ -967,8 +967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", @@ -1036,6 +1036,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "11", + "source": "./a", "insertText": "import { foo$1 } from \"./a\";", "replacementSpan": { "start": { @@ -1047,14 +1048,13 @@ Info seq [hh:mm:ss:mss] response: "offset": 7 } }, - "isSnippet": true, - "source": "./a", "sourceDisplay": [ { "text": "./a", "kind": "text" } ], + "isSnippet": true, "isImportStatementCompletion": true, "data": { "exportName": "foo", @@ -1068,6 +1068,7 @@ Info seq [hh:mm:ss:mss] response: "kind": "function", "kindModifiers": "export,declare", "sortText": "11", + "source": "mobx", "insertText": "import { observable$1 } from \"mobx\";", "replacementSpan": { "start": { @@ -1079,14 +1080,13 @@ Info seq [hh:mm:ss:mss] response: "offset": 7 } }, - "isSnippet": true, - "source": "mobx", "sourceDisplay": [ { "text": "mobx", "kind": "text" } ], + "isSnippet": true, "isPackageJsonImport": true, "isImportStatementCompletion": true, "data": { diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js index 96951feb399..5d6a3d6fad6 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js @@ -967,8 +967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js index b4789e1c51f..aa163ee3fee 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js @@ -967,8 +967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js index ecec2a32cf1..709e45de2ae 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js @@ -967,8 +967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js index 83eaab9b596..5568dea6e21 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js @@ -967,8 +967,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", @@ -1492,8 +1492,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", @@ -2014,8 +2014,8 @@ Info seq [hh:mm:ss:mss] response: "kind": "const", "kindModifiers": "export", "sortText": "16", - "hasAction": true, "source": "/src/a", + "hasAction": true, "data": { "exportName": "foo", "exportMapKey": "3 * foo ", diff --git a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js index 1e5f3c478eb..9e47bd56560 100644 --- a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js +++ b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js @@ -214,6 +214,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /user/someuser/projects/myproject/tsconfig.json:: wildcard for open scriptInfo:: /user/someuser/projects/myproject/src/b.ts +Info seq [hh:mm:ss:mss] Scheduled: /user/someuser/projects/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/someuser/projects/myproject/src/b.ts ProjectRootPath: /user/someuser/projects/myproject:: Result: /user/someuser/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -254,6 +257,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Timeout callback:: count: 2 +1: /user/someuser/projects/myproject/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +3: /user/someuser/projects/myproject/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* + Projects:: /user/someuser/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js index dbf51b76108..561c72aa923 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/detects-new-package.json-files-that-are-added,-caches-them,-and-watches-them.js @@ -108,7 +108,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js index d09421523ae..c3f9073f3ff 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-multiple-package.json-files-when-present.js @@ -124,7 +124,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js index 4c2bb79d44c..8c5ce994d92 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/finds-package.json-on-demand,-watches-for-deletion,-and-removes-them-from-cache.js @@ -124,7 +124,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js index 6cdf2e8e5ed..d86e82430f2 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-empty-package.json.js @@ -111,7 +111,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js b/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js index ce0dab0dd9d..6d74b1ea466 100644 --- a/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js +++ b/tests/baselines/reference/tsserver/packageJsonInfo/handles-errors-in-json-parsing-of-package.json.js @@ -111,7 +111,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js index acfd71eb7d6..c6d54eab29a 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js @@ -163,7 +163,6 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -317,7 +316,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/test2.ts ProjectRootPath: undefined:: Result: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js index 4639489d9fa..1dd3dca5bc9 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js @@ -136,7 +136,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -290,7 +289,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/test2.ts ProjectRootPath: undefined:: Result: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js index 26b30111d5a..3997c0ff953 100644 --- a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js +++ b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js @@ -79,6 +79,11 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@custom/plugin/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@custom/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -184,10 +189,20 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/users/username/projects/myproject/node_modules/@custom/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/myproject/node_modules/@custom/plugin/package.json: *new* + {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js index 1383cf14357..e2f14e34bd7 100644 --- a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js +++ b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js @@ -269,92 +269,37 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /home/username/project/tsconfig.json:: wildcard for open scriptInfo:: /home/username/project/src/c.ts +Info seq [hh:mm:ss:mss] Scheduled: /home/username/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/username/project/src/c.ts ProjectRootPath: /home/username/project:: Result: /home/username/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/b.ts 500 undefined Project: /home/username/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /home/username/project/src/a.ts SVC-1-0 "export const a = 10;" + /home/username/project/src/c.ts SVC-1-0 "export const b = 10;" ../../../a/lib/lib.d.ts Default library for target 'es5' src/a.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/username/project/src/c.ts", - "configFile": "/home/username/project/tsconfig.json", - "diagnostics": [ - { - "text": "File '/home/username/project/src/b.ts' not found.\n The file is in the program because:\n Matched by include pattern 'src/**/*.ts' in '/home/username/project/tsconfig.json'", - "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 6, - "offset": 5 - }, - "end": { - "line": 6, - "offset": 18 - }, - "file": "/home/username/project/tsconfig.json" - }, - "message": "File is matched by include pattern specified here.", - "category": "message", - "code": 1408 - } - ] - } - ] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/username/project/tsconfig.json ProjectRootPath: /home/username/project:: Result: undefined -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/project/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/project/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/username/project/src/c.ts SVC-1-0 "export const b = 10;" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - c.ts - Root file specified for compilation + src/c.ts + Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -371,14 +316,10 @@ After request PolledWatches:: /home/username/project/node_modules/@types: {"pollingInterval":500} + +PolledWatches *deleted*:: /home/username/project/src/b.ts: {"pollingInterval":500} -/home/username/project/src/jsconfig.json: *new* - {"pollingInterval":2000} -/home/username/project/src/node_modules/@types: *new* - {"pollingInterval":500} -/home/username/project/src/tsconfig.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -388,21 +329,24 @@ FsWatches:: /home/username/project/tsconfig.json: {"inode":7} +Timeout callback:: count: 3 +1: /home/username/project/tsconfig.json *deleted* +2: *ensureProjectForOpenFiles* *deleted* +4: timerToUpdateChildWatches +5: /home/username/project/tsconfig.json *new* +6: *ensureProjectForOpenFiles* *new* + Projects:: -/dev/null/inferredProject1* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 /home/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* dirty: false *changed* ScriptInfos:: -/a/lib/lib.d.ts *changed* +/a/lib/lib.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 1 /home/username/project/tsconfig.json - /dev/null/inferredProject1* *new* /home/username/project/src/a.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -415,77 +359,31 @@ ScriptInfos:: /home/username/project/src/c.ts (Open) *new* version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /home/username/project/tsconfig.json *default* Before running Timeout callback:: count: 3 -1: /home/username/project/tsconfig.json -2: *ensureProjectForOpenFiles* 4: timerToUpdateChildWatches +5: /home/username/project/tsconfig.json +6: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Running: /home/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project -Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project -Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] got projects updated in background /home/username/project/src/a.ts,/home/username/project/src/c.ts -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectsUpdatedInBackground", - "body": { - "openFiles": [ - "/home/username/project/src/a.ts", - "/home/username/project/src/c.ts" - ] - } - } Info seq [hh:mm:ss:mss] sysLog:: onTimerToUpdateChildWatches:: 1 Info seq [hh:mm:ss:mss] sysLog:: invokingWatchers:: Elapsed:: *ms:: 0 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/username/project/src/b.ts 0:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Scheduled: /home/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/username/project/src/b.ts 0:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/username/project/src/c.ts 1:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /home/username/project/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/username/project/src/b.ts 0:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/username/project/src/c.ts 1:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/username/project/src/c.ts 1:: WatchInfo: /home/username/project/src 1 undefined Config: /home/username/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: 0 undefined After running Timeout callback:: count: 2 Timeout callback:: count: 2 +5: /home/username/project/tsconfig.json *deleted* +6: *ensureProjectForOpenFiles* *deleted* 7: /home/username/project/tsconfig.json *new* 8: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 /home/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 @@ -496,68 +394,24 @@ Before running Timeout callback:: count: 2 8: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /home/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/b.ts 500 undefined Project: /home/username/project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/username/project/src/a.ts SVC-1-0 "export const a = 10;" - /home/username/project/src/c.ts SVC-1-0 "export const b = 10;" - - - ../../../a/lib/lib.d.ts - Default library for target 'es5' - src/a.ts - Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' - src/c.ts - Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/username/project/tsconfig.json", - "configFile": "/home/username/project/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (0) - - - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (0) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project @@ -579,54 +433,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/home/username/project/node_modules/@types: - {"pollingInterval":500} -/home/username/project/src/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/home/username/project/src/b.ts: - {"pollingInterval":500} -/home/username/project/src/jsconfig.json: - {"pollingInterval":2000} -/home/username/project/src/tsconfig.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {"inode":10} -/home/username/project/src: - {"inode":4} -/home/username/project/tsconfig.json: - {"inode":7} - Projects:: -/dev/null/inferredProject1* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* - isOrphan: true *changed* /home/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 - projectProgramVersion: 3 *changed* + projectProgramVersion: 2 dirty: false *changed* -ScriptInfos:: -/a/lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 1 *changed* - /home/username/project/tsconfig.json - /dev/null/inferredProject1* *deleted* -/home/username/project/src/a.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /home/username/project/tsconfig.json *default* -/home/username/project/src/c.ts (Open) *changed* - version: SVC-1-0 - containingProjects: 1 *changed* - /home/username/project/tsconfig.json *default* *new* - /dev/null/inferredProject1* *deleted* - Before request Info seq [hh:mm:ss:mss] request: @@ -642,10 +454,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project Info seq [hh:mm:ss:mss] Project '/home/username/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (0) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/a.ts ProjectRootPath: /home/username/project @@ -663,8 +471,6 @@ After request PolledWatches:: /home/username/project/node_modules/@types: {"pollingInterval":500} -/home/username/project/src/node_modules/@types: - {"pollingInterval":500} FsWatches:: /a/lib/lib.d.ts: @@ -677,13 +483,9 @@ FsWatches:: {"inode":7} Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 2 - projectProgramVersion: 2 - isOrphan: true /home/username/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* - projectProgramVersion: 3 + projectProgramVersion: 2 dirty: true *changed* ScriptInfos:: diff --git a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js index 54571ebe3d4..7f7f7a0c3fe 100644 --- a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js @@ -338,17 +338,9 @@ Info seq [hh:mm:ss:mss] event: } After running Immedidate callback:: count: 0 -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/myproject/foo/foo.ts 2:: WatchInfo: /a/b/projects/myproject/foo/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2 :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2 :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/myproject/foo/foo.ts 2:: WatchInfo: /a/b/projects/myproject/foo/foo.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/myproject/foo/foo.ts 2:: WatchInfo: /a/b/projects/myproject/foo/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo/foo.ts :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one @@ -358,6 +350,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproje Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2/foo.ts :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2 :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2 :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 2 10: /a/b/projects/myproject/tsconfig.json 11: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js index 83de50078c9..f6932080cf1 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js @@ -857,6 +857,11 @@ Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jso Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@angular/core/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@angular/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -907,10 +912,20 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/user/username/projects/myproject/node_modules/@angular/core/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@angular/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js index ee95d40edd1..9c2010d1896 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js @@ -898,6 +898,11 @@ Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jso Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@angular/core/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@angular/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -948,10 +953,20 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/user/username/projects/myproject/node_modules/@angular/core/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@angular/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index 7edd67b435f..10f6019b107 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -358,7 +358,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1037,7 +1036,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (0) @@ -1289,7 +1287,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig-indirect1.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 4bd2ba24cf0..09855a69e0e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -218,7 +218,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -828,7 +827,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -1030,7 +1028,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js index 8041cae2325..9cd0c54213a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js @@ -158,7 +158,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,12 +185,22 @@ export {}; "affectsGlobalScope": true }, "../../node_modules/b/lib/index.d.ts": { + "original": { + "version": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": 1 + }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n" + "signature": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": "commonjs" }, "../../node_modules/b/lib/bar.d.ts": { + "original": { + "version": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": 1 + }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n" + "signature": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": "commonjs" }, "./src/index.ts": { "original": { @@ -220,7 +230,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 990 + "size": 1050 } diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 8d44d6349c1..d7610c731fa 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -158,7 +158,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,12 +185,22 @@ export {}; "affectsGlobalScope": true }, "../../node_modules/@issue/b/lib/index.d.ts": { + "original": { + "version": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": 1 + }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n" + "signature": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": "commonjs" }, "../../node_modules/@issue/b/lib/bar.d.ts": { + "original": { + "version": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": 1 + }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n" + "signature": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": "commonjs" }, "./src/index.ts": { "original": { @@ -220,7 +230,7 @@ export {}; }, "latestChangedDtsFile": "./lib/index.d.ts", "version": "FakeTSVersion", - "size": 1018 + "size": 1078 } diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js index 77b59efd24a..d6148cab887 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js @@ -155,7 +155,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,12 +182,22 @@ export {}; "affectsGlobalScope": true }, "../../node_modules/b/lib/foo.d.ts": { + "original": { + "version": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": 1 + }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n" + "signature": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": "commonjs" }, "../../node_modules/b/lib/bar/foo.d.ts": { + "original": { + "version": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": 1 + }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n" + "signature": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": "commonjs" }, "./src/test.ts": { "original": { @@ -217,7 +227,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1003 + "size": 1063 } diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 5350c8a3d27..e4cd3ac674b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -155,7 +155,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileIdsList":[[2,3]],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts","version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,12 +182,22 @@ export {}; "affectsGlobalScope": true }, "../../node_modules/@issue/b/lib/foo.d.ts": { + "original": { + "version": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": 1 + }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n" + "signature": "-5677608893-export declare function foo(): void;\n", + "impliedFormat": "commonjs" }, "../../node_modules/@issue/b/lib/bar/foo.d.ts": { + "original": { + "version": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": 1 + }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n" + "signature": "-2904461644-export declare function bar(): void;\n", + "impliedFormat": "commonjs" }, "./src/test.ts": { "original": { @@ -217,7 +227,7 @@ export {}; }, "latestChangedDtsFile": "./lib/test.d.ts", "version": "FakeTSVersion", - "size": 1032 + "size": 1092 } diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index fec188ffe5d..c7fa59125b0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -393,7 +393,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1157,7 +1156,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -1444,7 +1442,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index b3e51ba30d0..56add6fbef8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -250,7 +250,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -818,7 +817,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1003,7 +1001,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index 3fd8cc7a023..431b5c2dc82 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,65 +281,45 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 +Before running Timeout callback:: count: 2 1: /home/src/projects/project/app/tsconfig.json -2: /home/src/projects/project/tsconfig.json -3: *ensureProjectForOpenFiles* +2: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -572,23 +335,19 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 +Timeout callback:: count: 2 1: /home/src/projects/project/app/tsconfig.json *new* -2: /home/src/projects/project/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +2: *ensureProjectForOpenFiles* *new* Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* + noOpenRef: false *changed* Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -638,78 +397,31 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [ - { - "start": { - "line": 9, - "offset": 5 - }, - "end": { - "line": 11, - "offset": 6 - }, - "text": "Referenced project '/home/src/projects/project/app/tsconfig.json' must have setting \"composite\": true.", - "code": 6306, - "category": "error", - "fileName": "/home/src/projects/project/tsconfig.json" - } - ] - } - } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -725,23 +437,20 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* + noOpenRef: true *changed* Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -855,25 +564,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -890,11 +613,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -904,39 +635,34 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} +FsWatches *deleted*:: +/home/src/projects/project/app/Component.ts: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: *new* {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project/app: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* projectStateVersion: 2 - projectProgramVersion: 2 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -944,26 +670,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -981,25 +699,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1011,11 +721,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1025,14 +743,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -1041,25 +753,13 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 2 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1068,26 +768,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -1096,19 +783,18 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -4: /home/src/projects/project/app/tsconfig.json -5: /home/src/projects/project/tsconfig.json -6: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +3: /home/src/projects/project/app/tsconfig.json +4: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -1124,23 +810,18 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -4: /home/src/projects/project/app/tsconfig.json *new* -5: /home/src/projects/project/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +3: /home/src/projects/project/app/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 1 - dirty: true *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1154,7 +835,7 @@ Info seq [hh:mm:ss:mss] event: "event": "projectLoadingStart", "body": { "projectName": "/home/src/projects/project/app/tsconfig.json", - "reason": "Change in config file detected" + "reason": "Change in config file /home/src/projects/project/app/tsconfig.json detected, Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" } } Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { @@ -1167,12 +848,27 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : "configFilePath": "/home/src/projects/project/app/tsconfig.json" } } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + /home/src/projects/project/app/Component.ts Text-2 "export const Component = () => {}\n" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -1195,71 +891,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -1274,25 +938,82 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/home/src/projects/project/app/Component.ts: *new* + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/projects/random/random.ts: + {} +/home/src/projects/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/home/src/projects/project/app: *new* + {} +/home/src/projects/random: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 1 - dirty: false *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* +/home/src/projects/project/app/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* dirty: false *changed* + noOpenRef: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /home/src/projects/random/tsconfig.json + /home/src/projects/project/app/tsconfig.json *new* +/home/src/projects/project/app/Component-demos.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *new* + version: Text-2 + containingProjects: 1 + /home/src/projects/project/app/tsconfig.json +/home/src/projects/random/random.ts + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/random/tsconfig.json + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js index 12a99b70b99..22467f7e7f3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,65 +281,45 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 +Before running Timeout callback:: count: 2 1: /home/src/projects/project/app/tsconfig.json -2: /home/src/projects/project/tsconfig.json -3: *ensureProjectForOpenFiles* +2: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -572,23 +335,19 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 +Timeout callback:: count: 2 1: /home/src/projects/project/app/tsconfig.json *new* -2: /home/src/projects/project/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +2: *ensureProjectForOpenFiles* *new* Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* + noOpenRef: false *changed* Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -638,78 +397,31 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [ - { - "start": { - "line": 9, - "offset": 5 - }, - "end": { - "line": 11, - "offset": 6 - }, - "text": "Referenced project '/home/src/projects/project/app/tsconfig.json' must have setting \"composite\": true.", - "code": 6306, - "category": "error", - "fileName": "/home/src/projects/project/tsconfig.json" - } - ] - } - } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -725,33 +437,28 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 1 dirty: false *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* + noOpenRef: true *changed* Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/app/tsconfig.json 1:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -4: /home/src/projects/project/app/tsconfig.json -5: /home/src/projects/project/tsconfig.json -6: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 2 +3: /home/src/projects/project/app/tsconfig.json +4: *ensureProjectForOpenFiles* //// [/home/src/projects/project/app/tsconfig.json] { "compilerOptions": { @@ -767,23 +474,19 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -4: /home/src/projects/project/app/tsconfig.json *new* -5: /home/src/projects/project/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 2 +3: /home/src/projects/project/app/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 1 dirty: true *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* + noOpenRef: false *changed* Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] event: @@ -834,63 +537,31 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -906,23 +577,20 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 1 dirty: false *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* - dirty: false *changed* + noOpenRef: true *changed* Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -1036,25 +704,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -1071,11 +753,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1085,39 +775,34 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} +FsWatches *deleted*:: +/home/src/projects/project/app/Component.ts: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: *new* {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project/app: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* projectStateVersion: 3 - projectProgramVersion: 3 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1125,26 +810,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -1162,25 +839,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1192,11 +861,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1206,14 +883,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -1222,25 +893,13 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 3 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1249,26 +908,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -1277,6 +923,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index f2304f6c604..ceb05d5d0cc 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,64 +281,38 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -1: /home/src/projects/project/tsconfig.json -2: /home/src/projects/project/demos/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 0 //// [/home/src/projects/project/demos/tsconfig.json] { "compilerOptions": { @@ -575,229 +332,13 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -1: /home/src/projects/project/tsconfig.json *new* -2: /home/src/projects/project/demos/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/demos/tsconfig.json", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectsUpdatedInBackground", - "body": { - "openFiles": [ - "/home/src/projects/project/app/Component-demos.ts" - ] - } - } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* - -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -/home/src/projects/project/app/Component-demos.ts (Open) *changed* - version: SVC-1-0 - containingProjects: 1 *changed* - /home/src/projects/project/tsconfig.json *default* - /home/src/projects/project/demos/tsconfig.json *deleted* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -911,25 +452,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -950,10 +505,14 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -964,39 +523,34 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} +FsWatches *deleted*:: +/home/src/projects/project/app/Component.ts: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: *new* {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project/app: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 2 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 2 +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1004,25 +558,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 containingProjects: 1 - /home/src/projects/project/tsconfig.json *default* -/home/src/projects/project/app/Component.ts + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -1040,25 +587,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1074,10 +613,14 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1088,14 +631,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -1104,25 +641,13 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 2 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 2 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1131,25 +656,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 containingProjects: 1 - /home/src/projects/project/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -1158,18 +671,10 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -4: /home/src/projects/project/tsconfig.json -5: /home/src/projects/project/demos/tsconfig.json -6: *ensureProjectForOpenFiles* + undefined +Before running Timeout callback:: count: 0 //// [/home/src/projects/project/demos/tsconfig.json] { "compilerOptions": { @@ -1189,262 +694,10 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -4: /home/src/projects/project/tsconfig.json *new* -5: /home/src/projects/project/demos/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* -/home/src/projects/random/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/demos/tsconfig.json", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectsUpdatedInBackground", - "body": { - "openFiles": [ - "/home/src/projects/project/app/Component-demos.ts" - ] - } - } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/random/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/home/src/projects/node_modules: - {"pollingInterval":500} -/home/src/projects/project/node_modules: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} -/home/src/projects/random/random.ts: - {} -/home/src/projects/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} -/home/src/projects/random: - {} - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* - dirty: false *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* - dirty: false *changed* -/home/src/projects/random/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true - -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json - /home/src/projects/random/tsconfig.json -/home/src/projects/project/app/Component-demos.ts (Open) *changed* - version: SVC-1-0 - containingProjects: 2 *changed* - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* *new* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -/home/src/projects/random/random.ts - version: SVC-1-0 - containingProjects: 1 - /home/src/projects/random/tsconfig.json - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index bbbba535a70..2464823021e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,64 +281,38 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -1: /home/src/projects/project/tsconfig.json -2: /home/src/projects/project/demos/tsconfig.json -3: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 0 //// [/home/src/projects/project/demos/tsconfig.json] { "compilerOptions": { @@ -575,238 +332,14 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -1: /home/src/projects/project/tsconfig.json *new* -2: /home/src/projects/project/demos/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/demos/tsconfig.json", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectsUpdatedInBackground", - "body": { - "openFiles": [ - "/home/src/projects/project/app/Component-demos.ts" - ] - } - } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* - -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -/home/src/projects/project/app/Component-demos.ts (Open) *changed* - version: SVC-1-0 - containingProjects: 1 *changed* - /home/src/projects/project/tsconfig.json *default* - /home/src/projects/project/demos/tsconfig.json *deleted* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/demos/tsconfig.json 1:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 3 -4: /home/src/projects/project/tsconfig.json -5: /home/src/projects/project/demos/tsconfig.json -6: *ensureProjectForOpenFiles* + undefined +Before running Timeout callback:: count: 0 //// [/home/src/projects/project/demos/tsconfig.json] { "compilerOptions": { @@ -826,236 +359,13 @@ Before running Timeout callback:: count: 3 } -Timeout callback:: count: 3 -4: /home/src/projects/project/tsconfig.json *new* -5: /home/src/projects/project/demos/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* - -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/demos/tsconfig.json", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectsUpdatedInBackground", - "body": { - "openFiles": [ - "/home/src/projects/project/app/Component-demos.ts" - ] - } - } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/home/src/projects/node_modules: - {"pollingInterval":500} -/home/src/projects/project/node_modules: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* - dirty: false *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* - dirty: false *changed* - -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -/home/src/projects/project/app/Component-demos.ts (Open) *changed* - version: SVC-1-0 - containingProjects: 2 *changed* - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* *new* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -1169,25 +479,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -1204,11 +528,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1218,39 +550,34 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} +FsWatches *deleted*:: +/home/src/projects/project/app/Component.ts: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: *new* {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project/app: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 3 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 3 +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1258,26 +585,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -1295,25 +614,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1325,11 +636,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1339,14 +658,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -1355,25 +668,13 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 3 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 3 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1382,26 +683,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -1410,6 +698,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js index bf0cfb6e2f5..40c2fd300a8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,54 +281,36 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json Before request @@ -594,7 +359,21 @@ Info seq [hh:mm:ss:mss] event: "event": "semanticDiag", "body": { "file": "/home/src/projects/project/app/Component-demos.ts", - "diagnostics": [] + "diagnostics": [ + { + "start": { + "line": 1, + "offset": 26 + }, + "end": { + "line": 1, + "offset": 41 + }, + "text": "Cannot find module 'demos/helpers' or its corresponding type declarations.", + "code": 2307, + "category": "error" + } + ] } } After running Immedidate callback:: count: 1 @@ -638,9 +417,9 @@ After running Immedidate callback:: count: 0 Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -754,25 +533,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -789,11 +582,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -803,39 +604,34 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} +FsWatches *deleted*:: +/home/src/projects/project/app/Component.ts: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: *new* {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project/app: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -843,26 +639,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -880,25 +668,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -910,11 +690,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -924,14 +712,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -940,23 +722,11 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 /home/src/projects/random/tsconfig.json (Configured) *changed* @@ -967,26 +737,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -995,9 +752,9 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -1009,20 +766,16 @@ Info seq [hh:mm:ss:mss] request: "seq": 5, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component-demos.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- @@ -1038,60 +791,53 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} + FsWatches:: /a/lib/lib.d.ts: {} /home/src/projects/project/app/Component-demos.ts: *new* {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} /home/src/projects/random/random.ts: {} /home/src/projects/random/tsconfig.json: {} +FsWatches *deleted*:: +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) *changed* - projectStateVersion: 1 +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* projectProgramVersion: 1 - noOpenRef: true *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* + dirty: true *changed* + isOrphan: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1100,27 +846,14 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts *changed* open: false *changed* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /dev/null/inferredProject1* *deleted* /home/src/projects/random/random.ts version: SVC-1-0 containingProjects: 1 @@ -1128,7 +861,7 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + undefined findDefaultConfiguredProject: undefined Before request @@ -1145,85 +878,31 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/random/random.ts ProjectRootPath: undefined:: Result: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts - /home/src/projects/project/app/Component.ts - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - Component.ts - Matched by include pattern '**/*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts - /home/src/projects/project/demos/helpers.ts - /home/src/projects/project/app/Component-demos.ts - /home/src/projects/project/app/Component.ts - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/tsconfig.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts - /home/src/projects/project/demos/helpers.ts /home/src/projects/project/app/Component-demos.ts ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component-demos.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1248,9 +927,13 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: +/home/src/projects/node_modules: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1264,16 +947,6 @@ FsWatches:: FsWatches *deleted*:: /home/src/projects/project/app/Component-demos.ts: {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} /home/src/projects/random/random.ts: {} @@ -1281,30 +954,13 @@ FsWatchesRecursive:: /home/src/projects/random: {} -FsWatchesRecursive *deleted*:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} - Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 +/dev/null/inferredProject1* (Inferred) *deleted* + projectStateVersion: 2 projectProgramVersion: 1 + dirty: true isClosed: true *changed* - noOpenRef: true -/home/src/projects/project/demos/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true -/home/src/projects/project/tsconfig.json (Configured) *deleted* - projectStateVersion: 1 - projectProgramVersion: 1 - isClosed: true *changed* - noOpenRef: true + isOrphan: true /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1315,24 +971,10 @@ ScriptInfos:: version: Text-1 containingProjects: 1 *changed* /home/src/projects/random/tsconfig.json - /home/src/projects/project/app/tsconfig.json *deleted* - /home/src/projects/project/tsconfig.json *deleted* - /home/src/projects/project/demos/tsconfig.json *deleted* + /dev/null/inferredProject1* *deleted* /home/src/projects/project/app/Component-demos.ts *deleted* version: SVC-1-0 - containingProjects: 0 *changed* - /home/src/projects/project/tsconfig.json *deleted* - /home/src/projects/project/demos/tsconfig.json *deleted* -/home/src/projects/project/app/Component.ts *deleted* - version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/app/tsconfig.json *deleted* - /home/src/projects/project/tsconfig.json *deleted* -/home/src/projects/project/demos/helpers.ts *deleted* - version: Text-1 - containingProjects: 0 *changed* - /home/src/projects/project/tsconfig.json *deleted* - /home/src/projects/project/demos/tsconfig.json *deleted* + containingProjects: 0 /home/src/projects/random/random.ts (Open) *changed* open: true *changed* version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js index 0e721adae31..8b2c0b43226 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,54 +281,36 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json Before request @@ -557,14 +322,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] reload projects. Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/demos/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -633,214 +393,80 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "User requested reload projects: Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "User requested reload projects: Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/demos/tsconfig.json", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (0) NoProgram Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component-demos.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After reloading projects.. Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -855,19 +481,29 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} *new* /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: {"pollingInterval":500} *new* -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} *new* /home/src/projects/project/node_modules/@types: {"pollingInterval":500} PolledWatches *deleted*:: -/home/src/projects/project/app/node_modules/@types: +/home/src/projects/node_modules: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} +/home/src/projects/project/node_modules: {"pollingInterval":500} FsWatches:: @@ -877,30 +513,20 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} FsWatchesRecursive:: -/home/src/projects/project: - {} /home/src/projects/project/app: {} -/home/src/projects/project/demos: - {} Timeout callback:: count: 0 Projects:: +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 2 *changed* + projectProgramVersion: 2 *changed* /home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 2 *changed* -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 2 *changed* + noOpenRef: true diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index 7066ec1f34b..04e56877e0a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,62 +281,41 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] deleted @@ -561,53 +323,32 @@ Before running Timeout callback:: count: 1 Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* *new* -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true *changed* - deferredClose: true *changed* - +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -624,7 +365,7 @@ After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: undefined Before request @@ -740,25 +481,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -775,11 +530,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -789,41 +552,34 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} +FsWatches *deleted*:: +/home/src/projects/project/app/Component.ts: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: *new* {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project/app: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true - deferredClose: true + isClosed: true *changed* + noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -831,26 +587,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -868,25 +616,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -898,11 +638,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -912,14 +660,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -928,27 +670,13 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true - deferredClose: true /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -957,26 +685,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -985,19 +700,17 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: undefined -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Before running Timeout callback:: count: 2 -2: /home/src/projects/project/tsconfig.json +2: /home/src/projects/project/app/tsconfig.json 3: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { @@ -1016,69 +729,73 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -2: /home/src/projects/project/tsconfig.json *new* +2: /home/src/projects/project/app/tsconfig.json *new* 3: *ensureProjectForOpenFiles* *new* Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - isOrphan: false *changed* - deferredClose: undefined *changed* + projectProgramVersion: 0 + dirty: true /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Change in config file detected" + "projectName": "/home/src/projects/project/app/tsconfig.json", + "reason": "Change in config file /home/src/projects/project/tsconfig.json detected, Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" + "/home/src/projects/project/app/Component.ts" ], "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] + "composite": true, + "outDir": "/home/src/projects/project/app-dist", + "configFilePath": "/home/src/projects/project/app/tsconfig.json" + } } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Same program as before +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /home/src/projects/project/app/Component.ts Text-2 "export const Component = () => {}\n" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/projects/project/tsconfig.json" + "projectName": "/home/src/projects/project/app/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -1087,54 +804,44 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", + "triggerFile": "/home/src/projects/project/app/tsconfig.json", + "configFile": "/home/src/projects/project/app/tsconfig.json", "diagnostics": [] } } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -1149,24 +856,82 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} +/home/src/projects/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} +/home/src/projects/project/app/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: + {"pollingInterval":500} +/home/src/projects/project/node_modules/@types: + {"pollingInterval":500} +/home/src/projects/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/home/src/projects/project/app/Component.ts: *new* + {} +/home/src/projects/project/app/tsconfig.json: + {} +/home/src/projects/project/tsconfig.json: + {} +/home/src/projects/random/random.ts: + {} +/home/src/projects/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/home/src/projects/project/app: *new* + {} +/home/src/projects/random: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 + projectProgramVersion: 1 *changed* dirty: false *changed* + noOpenRef: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 3 *changed* + /dev/null/inferredProject1* + /home/src/projects/random/tsconfig.json + /home/src/projects/project/app/tsconfig.json *new* +/home/src/projects/project/app/Component-demos.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *new* + version: Text-2 + containingProjects: 1 + /home/src/projects/project/app/tsconfig.json +/home/src/projects/random/random.ts + version: SVC-1-0 + containingProjects: 1 + /home/src/projects/random/tsconfig.json + Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index ca4236e80ef..e90cac93be9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,62 +281,41 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 2:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Before running Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] deleted @@ -561,53 +323,32 @@ Before running Timeout callback:: count: 1 Timeout callback:: count: 1 1: *ensureProjectForOpenFiles* *new* -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - isOrphan: true *changed* - deferredClose: true *changed* - +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -624,20 +365,15 @@ After running Timeout callback:: count: 0 Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: undefined -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Project: /home/src/projects/project/tsconfig.json Detected file add/remove of non supported extension: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/tsconfig.json :: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Before running Timeout callback:: count: 2 -2: /home/src/projects/project/tsconfig.json -3: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 0:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before running Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -654,114 +390,35 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 -2: /home/src/projects/project/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* *new* -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - isOrphan: false *changed* - deferredClose: undefined *changed* - -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Same program as before -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -776,23 +433,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - dirty: false *changed* - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -906,25 +551,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -941,11 +600,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -955,39 +622,34 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} +FsWatches *deleted*:: +/home/src/projects/project/app/Component.ts: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: *new* {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project/app: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -995,26 +657,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -1032,25 +686,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1062,11 +708,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1076,14 +730,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -1092,25 +740,13 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 1 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1119,26 +755,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -1147,6 +770,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index dddd9bd01f3..bba710901b9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,63 +281,43 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -1: /home/src/projects/project/tsconfig.json -2: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before running Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -568,120 +331,35 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 -1: /home/src/projects/project/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* *new* -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -696,60 +374,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -864,48 +493,38 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] `remove Project:: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts - /home/src/projects/project/demos/helpers.ts - /home/src/projects/project/app/Component-demos.ts + /home/src/projects/project/app/Component.ts ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts + Component.ts Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -926,8 +545,14 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -935,52 +560,37 @@ PolledWatches:: /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -PolledWatches *deleted*:: -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} - FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} FsWatches *deleted*:: -/home/src/projects/project/demos/tsconfig.json: +/home/src/projects/project/app/Component.ts: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} /home/src/projects/random: *new* {} FsWatchesRecursive *deleted*:: -/home/src/projects/project/demos: +/home/src/projects/project/app: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *deleted* +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 isClosed: true *changed* noOpenRef: true -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 2 /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -988,26 +598,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 3 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* - /home/src/projects/project/demos/tsconfig.json *deleted* -/home/src/projects/project/app/Component-demos.ts (Open) *changed* + /home/src/projects/project/app/tsconfig.json *deleted* +/home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 1 *changed* - /home/src/projects/project/tsconfig.json *default* - /home/src/projects/project/demos/tsconfig.json *deleted* -/home/src/projects/project/app/Component.ts + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *changed* - version: Text-1 - containingProjects: 1 *changed* - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *deleted* + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -1025,21 +627,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1055,8 +653,14 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: @@ -1067,12 +671,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -1081,20 +681,13 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 2 - projectProgramVersion: 2 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1103,23 +696,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 3 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 containingProjects: 1 - /home/src/projects/project/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 1 - /home/src/projects/project/tsconfig.json + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -1128,17 +711,18 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json + undefined +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Before running Timeout callback:: count: 2 -3: /home/src/projects/project/tsconfig.json -4: *ensureProjectForOpenFiles* +2: /home/src/projects/project/app/tsconfig.json +3: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -1156,91 +740,64 @@ Before running Timeout callback:: count: 2 Timeout callback:: count: 2 -3: /home/src/projects/project/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +2: /home/src/projects/project/app/tsconfig.json *new* +3: *ensureProjectForOpenFiles* *new* Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* +/home/src/projects/project/app/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 0 + dirty: true /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 noOpenRef: true -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] event: { "seq": 0, "type": "event", "event": "projectLoadingStart", "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Change in config file detected" + "projectName": "/home/src/projects/project/app/tsconfig.json", + "reason": "Change in config file /home/src/projects/project/tsconfig.json detected, Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" } } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { +Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : { "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" + "/home/src/projects/project/app/Component.ts" ], "options": { "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" + "outDir": "/home/src/projects/project/app-dist", + "configFilePath": "/home/src/projects/project/app/tsconfig.json" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" + /home/src/projects/project/app/Component.ts Text-2 "export const Component = () => {}\n" + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -1249,7 +806,7 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "projectLoadingFinish", "body": { - "projectName": "/home/src/projects/project/tsconfig.json" + "projectName": "/home/src/projects/project/app/tsconfig.json" } } Info seq [hh:mm:ss:mss] event: @@ -1258,105 +815,44 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "configFileDiag", "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", + "triggerFile": "/home/src/projects/project/app/tsconfig.json", + "configFile": "/home/src/projects/project/app/tsconfig.json", "diagnostics": [] } } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -1372,34 +868,32 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/home/src/projects/node_modules: - {"pollingInterval":500} -/home/src/projects/project/node_modules: - {"pollingInterval":500} - FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: +/home/src/projects/project/app/Component.ts: *new* {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: @@ -1408,26 +902,20 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: *new* +/home/src/projects/project/app: *new* {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* +/home/src/projects/project/app/tsconfig.json (Configured) *changed* projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* + projectProgramVersion: 1 *changed* dirty: false *changed* + noOpenRef: true *changed* /home/src/projects/random/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 @@ -1436,26 +924,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json + containingProjects: 3 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *new* -/home/src/projects/project/app/Component-demos.ts (Open) *changed* + /home/src/projects/project/app/tsconfig.json *new* +/home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 *changed* - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* *new* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *new* + version: Text-2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *changed* - version: Text-1 - containingProjects: 2 *changed* - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *new* /home/src/projects/random/random.ts version: SVC-1-0 containingProjects: 1 @@ -1463,6 +943,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index 27fd7faaffa..02ced488513 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -203,271 +203,46 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Creating possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project 1 undefined Config: /home/src/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/helpers.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/demos/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/demos/helpers.ts", - "/home/src/projects/project/app/Component-demos.ts" - ], - "options": { - "composite": true, - "rootDir": "/home/src/projects/project", - "outDir": "/home/src/projects/project/demos-dist", - "paths": { - "demos/*": [ - "./*" - ] - }, - "pathsBasePath": "/home/src/projects/project/demos", - "configFilePath": "/home/src/projects/project/demos/tsconfig.json" - } -} -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/demos/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - demos/helpers.ts - Imported via 'demos/helpers' from file 'app/Component-demos.ts' - Matched by default include pattern '**/*' - app/Component-demos.ts - Matched by default include pattern '**/*' - app/Component.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "1097a5f82e8323ba7aba7567ec06402f7ad4ea74abce44ec5efd223ac77ff169", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 3, - "tsSize": 141, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "outDir": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": false, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] Creating configuration project /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json", - "reason": "Creating project referenced in solution /home/src/projects/project/tsconfig.json to find possible configured project for /home/src/projects/project/app/Component-demos.ts to open" - } - } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/demos/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/demos/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/demos/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" ../../../../../a/lib/lib.d.ts Default library for target 'es5' - helpers.ts - Matched by include pattern '**/*' in 'tsconfig.json' - Imported via 'demos/helpers' from file '../app/Component-demos.ts' - ../app/Component-demos.ts - Matched by include pattern '../app/**/*-demos.*' in 'tsconfig.json' + Component-demos.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/demos/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "telemetry", - "body": { - "telemetryEventName": "projectInfo", - "payload": { - "projectId": "528692a1575f61fd3bf7069493cc100a7cad975f6cd24c47b7a63b99928a8171", - "fileStats": { - "js": 0, - "jsSize": 0, - "jsx": 0, - "jsxSize": 0, - "ts": 2, - "tsSize": 107, - "tsx": 0, - "tsxSize": 0, - "dts": 1, - "dtsSize": 334, - "deferred": 0, - "deferredSize": 0 - }, - "compilerOptions": { - "composite": true, - "rootDir": "", - "outDir": "", - "paths": "" - }, - "typeAcquisition": { - "enable": false, - "include": false, - "exclude": false - }, - "extends": false, - "files": false, - "include": true, - "exclude": false, - "compileOnSave": false, - "configFileName": "tsconfig.json", - "projectType": "configured", - "languageServiceEnabled": true, - "version": "FakeVersion" - } - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/app/Component-demos.ts", - "configFile": "/home/src/projects/project/demos/tsconfig.json", - "diagnostics": [] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -482,11 +257,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: *new* + {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: *new* + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: *new* +/home/src/projects/project/jsconfig.json: *new* + {"pollingInterval":2000} +/home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} @@ -498,63 +281,43 @@ FsWatches:: {} /home/src/projects/project/app/tsconfig.json: *new* {} -/home/src/projects/project/demos/helpers.ts: *new* - {} -/home/src/projects/project/demos/tsconfig.json: *new* - {} /home/src/projects/project/tsconfig.json: *new* {} FsWatchesRecursive:: -/home/src/projects/project: *new* - {} /home/src/projects/project/app: *new* {} -/home/src/projects/project/demos: *new* - {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /home/src/projects/project/app/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *new* - projectStateVersion: 1 - projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *new* version: Text-1 - containingProjects: 3 + containingProjects: 2 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* /home/src/projects/project/app/Component-demos.ts (Open) *new* version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/project/app/Component.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -1: /home/src/projects/project/tsconfig.json -2: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before running Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -568,120 +331,35 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 -1: /home/src/projects/project/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +1: *ensureProjectForOpenFiles* *new* -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -696,68 +374,17 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 2 *changed* - dirty: false *changed* - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/tsconfig.json + undefined +Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Config file -Before running Timeout callback:: count: 2 -3: /home/src/projects/project/tsconfig.json -4: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /home/src/projects/project/tsconfig.json 1:: WatchInfo: /home/src/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before running Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* //// [/home/src/projects/project/tsconfig.json] { "compilerOptions": { @@ -774,126 +401,35 @@ Before running Timeout callback:: count: 2 } -Timeout callback:: count: 2 -3: /home/src/projects/project/tsconfig.json *new* -4: *ensureProjectForOpenFiles* *new* +Timeout callback:: count: 1 +2: *ensureProjectForOpenFiles* *new* -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: true -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* - -Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingStart", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json", - "reason": "Change in config file detected" - } - } -Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/tsconfig.json : { - "rootNames": [ - "/home/src/projects/project/app/Component-demos.ts", - "/home/src/projects/project/app/Component.ts", - "/home/src/projects/project/demos/helpers.ts" - ], - "options": { - "outDir": "/home/src/projects/project/dist", - "configFilePath": "/home/src/projects/project/tsconfig.json" - }, - "projectReferences": [ - { - "path": "/home/src/projects/project/demos/tsconfig.json", - "originalPath": "./demos/tsconfig.json" - }, - { - "path": "/home/src/projects/project/app/tsconfig.json", - "originalPath": "./app/tsconfig.json" - } - ] -} -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /home/src/projects/project/demos/helpers.ts Text-1 "export const foo = 1;\n" - /home/src/projects/project/app/Component-demos.ts SVC-1-0 "import * as helpers from 'demos/helpers';\nexport const demo = () => {\n helpers;\n}\n" - /home/src/projects/project/app/Component.ts Text-1 "export const Component = () => {}\n" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectLoadingFinish", - "body": { - "projectName": "/home/src/projects/project/tsconfig.json" - } - } -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/home/src/projects/project/tsconfig.json", - "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [] - } - } +Host is moving to new time Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/demos/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] got projects updated in background /home/src/projects/project/app/Component-demos.ts Info seq [hh:mm:ss:mss] event: { @@ -908,62 +444,11 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/home/src/projects/node_modules: - {"pollingInterval":500} -/home/src/projects/project/node_modules: - {"pollingInterval":500} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/home/src/projects/project/app/Component.ts: - {} -/home/src/projects/project/app/tsconfig.json: - {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} -/home/src/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} - -Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* -/home/src/projects/project/tsconfig.json (Configured) *changed* - projectStateVersion: 3 - projectProgramVersion: 3 *changed* - dirty: false *changed* - Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json + undefined Before request Info seq [hh:mm:ss:mss] request: @@ -1077,25 +562,39 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts + /home/src/projects/project/app/Component.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + Component.ts + Matched by include pattern '**/*' in 'tsconfig.json' + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/projects/random/random.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/random/tsconfig.json Info seq [hh:mm:ss:mss] response: @@ -1112,11 +611,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1126,39 +633,34 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/tsconfig.json: *new* {} +FsWatches *deleted*:: +/home/src/projects/project/app/Component.ts: + {} + FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: *new* {} +FsWatchesRecursive *deleted*:: +/home/src/projects/project/app: + {} + Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) +/home/src/projects/project/app/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 3 + isClosed: true *changed* + noOpenRef: true /home/src/projects/random/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -1166,26 +668,18 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 4 *changed* - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 *changed* + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json *new* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts + containingProjects: 1 + /dev/null/inferredProject1* *default* +/home/src/projects/project/app/Component.ts *deleted* version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 0 *changed* + /home/src/projects/project/app/tsconfig.json *deleted* /home/src/projects/random/random.ts (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -1203,25 +697,17 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/random.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/app/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/demos/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/home/src/projects/random/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/demos/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -1233,11 +719,19 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/home/src/projects/node_modules: + {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} +/home/src/projects/project/app/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/app/node_modules: + {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/demos/node_modules/@types: +/home/src/projects/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} @@ -1247,14 +741,8 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/home/src/projects/project/app/Component.ts: - {} /home/src/projects/project/app/tsconfig.json: {} -/home/src/projects/project/demos/helpers.ts: - {} -/home/src/projects/project/demos/tsconfig.json: - {} /home/src/projects/project/tsconfig.json: {} /home/src/projects/random/random.ts: *new* @@ -1263,25 +751,13 @@ FsWatches:: {} FsWatchesRecursive:: -/home/src/projects/project: - {} -/home/src/projects/project/app: - {} -/home/src/projects/project/demos: - {} /home/src/projects/random: {} Projects:: -/home/src/projects/project/app/tsconfig.json (Configured) +/dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/home/src/projects/project/demos/tsconfig.json (Configured) - projectStateVersion: 1 - projectProgramVersion: 1 -/home/src/projects/project/tsconfig.json (Configured) - projectStateVersion: 3 - projectProgramVersion: 3 /home/src/projects/random/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 @@ -1290,26 +766,13 @@ Projects:: ScriptInfos:: /a/lib/lib.d.ts version: Text-1 - containingProjects: 4 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 2 + /dev/null/inferredProject1* /home/src/projects/random/tsconfig.json /home/src/projects/project/app/Component-demos.ts (Open) version: SVC-1-0 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json *default* -/home/src/projects/project/app/Component.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/app/tsconfig.json - /home/src/projects/project/tsconfig.json -/home/src/projects/project/demos/helpers.ts - version: Text-1 - containingProjects: 2 - /home/src/projects/project/tsconfig.json - /home/src/projects/project/demos/tsconfig.json + containingProjects: 1 + /dev/null/inferredProject1* *default* /home/src/projects/random/random.ts *changed* open: false *changed* version: SVC-1-0 @@ -1318,6 +781,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] File: /home/src/projects/project/app/Component-demos.ts: getDefaultProjectForFile: - /home/src/projects/project/demos/tsconfig.json + /dev/null/inferredProject1* findDefaultConfiguredProject: - /home/src/projects/project/demos/tsconfig.json \ No newline at end of file + undefined \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js index 6bd86d5d804..516531c1564 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js @@ -276,7 +276,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/tsconfig.json ProjectRootPath: /home/src/projects/project:: Result: undefined Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root diff --git a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js index 172611e77eb..fef08494a21 100644 --- a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js +++ b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js @@ -52,6 +52,9 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pr Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/a/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/b/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) @@ -201,6 +204,12 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +/project/node_modules/@types/a/package.json: *new* + {"pollingInterval":2000} +/project/node_modules/@types/b/package.json: *new* + {"pollingInterval":2000} +/project/node_modules/@types/package.json: *new* + {"pollingInterval":2000} FsWatches:: /project/tsconfig.json: *new* @@ -266,6 +275,9 @@ Info seq [hh:mm:ss:mss] Config: /project/node_modules/@types/a/tsconfig.json : Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/@types/a 1 undefined Config: /project/node_modules/@types/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/@types/a 1 undefined Config: /project/node_modules/@types/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/node_modules/@types/a/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/a/package.json 2000 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/package.json 2000 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/b/package.json 2000 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/@types/a/node_modules/@types 1 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules/@types/a/node_modules/@types 1 undefined Project: /project/node_modules/@types/a/tsconfig.json WatchType: Type roots @@ -423,8 +435,14 @@ PolledWatches:: {"pollingInterval":500} /project/node_modules/@types/a/node_modules/@types: *new* {"pollingInterval":500} +/project/node_modules/@types/a/package.json: + {"pollingInterval":2000} +/project/node_modules/@types/b/package.json: + {"pollingInterval":2000} /project/node_modules/@types/node_modules/@types: *new* {"pollingInterval":500} +/project/node_modules/@types/package.json: + {"pollingInterval":2000} FsWatches:: /project/node_modules/@types/a/tsconfig.json: *new* @@ -509,8 +527,14 @@ PolledWatches:: {"pollingInterval":500} /project/node_modules/@types/a/node_modules/@types: {"pollingInterval":500} +/project/node_modules/@types/a/package.json: + {"pollingInterval":2000} +/project/node_modules/@types/b/package.json: + {"pollingInterval":2000} /project/node_modules/@types/node_modules/@types: {"pollingInterval":500} +/project/node_modules/@types/package.json: + {"pollingInterval":2000} FsWatches:: /project/node_modules/@types/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js index 51f94913c13..5c7814e75bf 100644 --- a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js @@ -417,18 +417,42 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/playground/tsconfig.json +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) + /a/lib/lib.d.ts + /user/username/projects/myproject/playground/tests.ts + /user/username/projects/myproject/playground/tsconfig-json/src/src.ts + /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + tests.ts + Matched by default include pattern '**/*' + tsconfig-json/src/src.ts + Matched by default include pattern '**/*' + tsconfig-json/tests/spec.ts + Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tests.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/playground/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -455,54 +479,58 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/user/username/projects/myproject/playground/tests.ts: - {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: {} /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json: *new* {} + +FsWatches *deleted*:: +/user/username/projects/myproject/playground/tests.ts: + {} +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts: + {} /user/username/projects/myproject/playground/tsconfig.json: {} -FsWatches *deleted*:: -/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts: +FsWatchesRecursive:: +/user/username/projects/myproject/playground/tsconfig-json/src: *new* {} -FsWatchesRecursive:: +FsWatchesRecursive *deleted*:: /user/username/projects/myproject/playground: {} -/user/username/projects/myproject/playground/tsconfig-json/src: *new* - {} Projects:: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/playground/tsconfig.json (Configured) *changed* + noOpenRef: true +/user/username/projects/myproject/playground/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: false *changed* + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /user/username/projects/myproject/playground/tsconfig.json + containingProjects: 1 *changed* /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json *new* -/user/username/projects/myproject/playground/tests.ts + /user/username/projects/myproject/playground/tsconfig.json *deleted* +/user/username/projects/myproject/playground/tests.ts *deleted* version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/playground/tsconfig.json + containingProjects: 0 *changed* + /user/username/projects/myproject/playground/tsconfig.json *deleted* /user/username/projects/myproject/playground/tsconfig-json/src/src.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /user/username/projects/myproject/playground/tsconfig.json + containingProjects: 1 *changed* /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json *new* + /user/username/projects/myproject/playground/tsconfig.json *deleted* /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts (Open) *changed* open: true *changed* version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/playground/tsconfig.json *default* + containingProjects: 0 *changed* + /user/username/projects/myproject/playground/tsconfig.json *deleted* Before request @@ -515,6 +543,57 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts Text-1 "export function bar() { }" + + + ../../../../../../../a/lib/lib.d.ts + Default library for target 'es5' + spec.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "response": [ @@ -544,6 +623,71 @@ Info seq [hh:mm:ss:mss] response: "kind": "code" } ], - "responseRequired": true + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } } After request + +PolledWatches:: +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/playground/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/playground/tsconfig-json/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts: + {} +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json: + {} +/user/username/projects/myproject/playground/tsconfig.json: *new* + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/playground/tsconfig-json/src: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* diff --git a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js index 209ff035d7f..66a2bb1f39a 100644 --- a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js +++ b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js @@ -358,6 +358,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /users/username/projects/project/tsconfig.json:: wildcard for open scriptInfo:: /users/username/projects/project/a.ts +Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: /users/username/projects/project:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -398,6 +401,12 @@ Info seq [hh:mm:ss:mss] response: } After request +Timeout callback:: count: 2 +5: /users/username/projects/project/tsconfig.json *deleted* +6: *ensureProjectForOpenFiles* *deleted* +7: /users/username/projects/project/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* + Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -419,8 +428,8 @@ ScriptInfos:: /users/username/projects/project/tsconfig.json *default* Before running Timeout callback:: count: 2 -5: /users/username/projects/project/tsconfig.json -6: *ensureProjectForOpenFiles* +7: /users/username/projects/project/tsconfig.json +8: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* @@ -460,6 +469,10 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 Before request +//// [/users/username/projects/project/sub/a.ts] +export const a = 10; + +//// [/users/username/projects/project/a.ts] deleted Info seq [hh:mm:ss:mss] request: { @@ -490,8 +503,8 @@ Info seq [hh:mm:ss:mss] response: After request Timeout callback:: count: 2 -7: /users/username/projects/project/tsconfig.json *new* -8: *ensureProjectForOpenFiles* *new* +9: /users/username/projects/project/tsconfig.json *new* +10: *ensureProjectForOpenFiles* *new* Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* @@ -526,76 +539,36 @@ Info seq [hh:mm:ss:mss] request: "seq": 6, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /users/username/projects/project/tsconfig.json:: wildcard for open scriptInfo:: /users/username/projects/project/sub/a.ts +Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/sub/a.ts ProjectRootPath: /users/username/projects/project:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/a.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (3) /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" /users/username/projects/project/b.ts SVC-1-0 "export const b = 10;" + /users/username/projects/project/sub/a.ts SVC-2-0 "export const a = 10;" ../../../../a/lib/lib.d.ts Default library for target 'es5' b.ts Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/users/username/projects/project/sub/a.ts", - "configFile": "/users/username/projects/project/tsconfig.json", - "diagnostics": [ - { - "text": "File '/users/username/projects/project/a.ts' not found.\n The file is in the program because:\n Matched by default include pattern '**/*'", - "code": 6053, - "category": "error" - } - ] - } - } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/tsconfig.json ProjectRootPath: /users/username/projects/project:: Result: undefined -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /users/username/projects/project/sub/a.ts SVC-2-0 "" - - - ../../../../../a/lib/lib.d.ts - Default library for target 'es5' - a.ts - Root file specified for compilation + sub/a.ts + Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/b.ts ProjectRootPath: /users/username/projects/project Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/sub/a.ts ProjectRootPath: /users/username/projects/project -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -609,47 +582,23 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/users/username/projects/node_modules/@types: - {"pollingInterval":500} -/users/username/projects/project/a.ts: *new* - {"pollingInterval":500} -/users/username/projects/project/jsconfig.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types: - {"pollingInterval":500} -/users/username/projects/project/sub/jsconfig.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/sub/node_modules/@types: *new* - {"pollingInterval":500} -/users/username/projects/project/sub/tsconfig.json: *new* - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/users/username/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/users/username/projects/project: - {} +Timeout callback:: count: 2 +9: /users/username/projects/project/tsconfig.json *deleted* +10: *ensureProjectForOpenFiles* *deleted* +11: /users/username/projects/project/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) *new* - projectStateVersion: 1 - projectProgramVersion: 1 /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* dirty: false *changed* ScriptInfos:: -/a/lib/lib.d.ts *changed* +/a/lib/lib.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 1 /users/username/projects/project/tsconfig.json - /dev/null/inferredProject1* *new* /users/username/projects/project/b.ts (Open) version: SVC-1-0 containingProjects: 1 @@ -657,42 +606,34 @@ ScriptInfos:: /users/username/projects/project/sub/a.ts (Open) *new* version: SVC-2-0 containingProjects: 1 - /dev/null/inferredProject1* *default* + /users/username/projects/project/tsconfig.json *default* Before running Timeout callback:: count: 2 -7: /users/username/projects/project/tsconfig.json -8: *ensureProjectForOpenFiles* +11: /users/username/projects/project/tsconfig.json +12: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/b.ts ProjectRootPath: /users/username/projects/project Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/sub/a.ts ProjectRootPath: /users/username/projects/project -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/b.ts ProjectRootPath: /users/username/projects/project Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/sub/a.ts ProjectRootPath: /users/username/projects/project -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] got projects updated in background /users/username/projects/project/b.ts,/users/username/projects/project/sub/a.ts Info seq [hh:mm:ss:mss] event: { @@ -717,23 +658,14 @@ Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.js Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/sub :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/sub/a.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/sub/a.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Before request -//// [/users/username/projects/project/sub/a.ts] -export const a = 10; - -//// [/users/username/projects/project/a.ts] deleted Timeout callback:: count: 2 -13: /users/username/projects/project/tsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* +15: /users/username/projects/project/tsconfig.json *new* +16: *ensureProjectForOpenFiles* *new* Projects:: -/dev/null/inferredProject1* (Inferred) - projectStateVersion: 1 - projectProgramVersion: 1 /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 *changed* projectProgramVersion: 3 @@ -755,48 +687,19 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 3 -13: /users/username/projects/project/tsconfig.json -14: *ensureProjectForOpenFiles* -15: checkOne *new* +15: /users/username/projects/project/tsconfig.json +16: *ensureProjectForOpenFiles* +17: checkOne *new* Before running Timeout callback:: count: 3 -13: /users/username/projects/project/tsconfig.json -14: *ensureProjectForOpenFiles* -15: checkOne +15: /users/username/projects/project/tsconfig.json +16: *ensureProjectForOpenFiles* +17: checkOne -Invoking Timeout callback:: timeoutId:: 15:: checkOne -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Invoking Timeout callback:: timeoutId:: 17:: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/a.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) - /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" - /users/username/projects/project/b.ts SVC-1-0 "export const b = 10;" - /users/username/projects/project/sub/a.ts SVC-2-0 "" - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - b.ts - Matched by default include pattern '**/*' - sub/a.ts - Matched by default include pattern '**/*' - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/users/username/projects/project/tsconfig.json", - "configFile": "/users/username/projects/project/tsconfig.json", - "diagnostics": [] - } - } +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: false structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] event: { "seq": 0, @@ -809,64 +712,15 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 2 -PolledWatches:: -/users/username/projects/node_modules/@types: - {"pollingInterval":500} -/users/username/projects/project/node_modules/@types: - {"pollingInterval":500} -/users/username/projects/project/sub/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/users/username/projects/project/a.ts: - {"pollingInterval":500} -/users/username/projects/project/jsconfig.json: - {"pollingInterval":2000} -/users/username/projects/project/sub/jsconfig.json: - {"pollingInterval":2000} -/users/username/projects/project/sub/tsconfig.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/users/username/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/users/username/projects/project: - {} - Immedidate callback:: count: 1 1: semanticCheck *new* Projects:: -/dev/null/inferredProject1* (Inferred) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - isOrphan: true *changed* /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 4 - projectProgramVersion: 4 *changed* + projectProgramVersion: 3 dirty: false *changed* -ScriptInfos:: -/a/lib/lib.d.ts - version: Text-1 - containingProjects: 2 - /users/username/projects/project/tsconfig.json - /dev/null/inferredProject1* -/users/username/projects/project/b.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /users/username/projects/project/tsconfig.json *default* -/users/username/projects/project/sub/a.ts (Open) *changed* - version: SVC-2-0 - containingProjects: 1 *changed* - /users/username/projects/project/tsconfig.json *default* *new* - /dev/null/inferredProject1* *deleted* - Before running Immedidate callback:: count: 1 1: semanticCheck @@ -901,16 +755,16 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Timeout callback:: count: 3 -13: /users/username/projects/project/tsconfig.json -14: *ensureProjectForOpenFiles* -16: checkOne *new* +15: /users/username/projects/project/tsconfig.json +16: *ensureProjectForOpenFiles* +18: checkOne *new* Before running Timeout callback:: count: 3 -13: /users/username/projects/project/tsconfig.json -14: *ensureProjectForOpenFiles* -16: checkOne +15: /users/username/projects/project/tsconfig.json +16: *ensureProjectForOpenFiles* +18: checkOne -Invoking Timeout callback:: timeoutId:: 16:: checkOne +Invoking Timeout callback:: timeoutId:: 18:: checkOne Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js index 05a8f9648a9..6da31582787 100644 --- a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js @@ -445,18 +445,296 @@ Info seq [hh:mm:ss:mss] event: ] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/apps/editor/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) + /a/lib/lib.d.ts + /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js + /user/username/projects/myproject/apps/editor/src/src.js + /user/username/projects/myproject/mocks/cssMock.js + + + ../../../../a/lib/lib.d.ts + Default library for target 'es5' + apps/editor/scripts/createConfigVariable.js + Matched by default include pattern '**/*' + apps/editor/src/src.js + Matched by default include pattern '**/*' + mocks/cssMock.js + Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/mocks/cssMock.js 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/apps/editor/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js Text-1 "function bar() { }" + + + ../../../../../../../a/lib/lib.d.ts + Default library for target 'es5' + createConfigVariable.js + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +TI:: Creating typing installer + +PolledWatches:: +/user/username/projects/myproject/apps/editor/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/apps/editor/scripts/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/scripts/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/apps/editor/scripts/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/node_modules/@types: *new* + {"pollingInterval":500} +/user/username/projects/myproject/apps/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/apps/editor/src/src.js: + {} +/user/username/projects/myproject/apps/editor/tsconfig.json: *new* + {} +/user/username/projects/myproject/tsconfig.json: + {} + +FsWatches *deleted*:: +/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js: + {} +/user/username/projects/myproject/mocks/cssMock.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/apps/editor/src: *new* + {} + +FsWatchesRecursive *deleted*:: +/user/username/projects/myproject: + {} + +Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 0 +/user/username/projects/myproject/apps/editor/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true +/user/username/projects/myproject/tsconfig.json (Configured) *deleted* + projectStateVersion: 1 + projectProgramVersion: 1 + isClosed: true *changed* + noOpenRef: true + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/apps/editor/tsconfig.json *new* + /dev/null/inferredProject1* *new* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js (Open) *changed* + open: true *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/apps/editor/src/src.js *changed* + version: Text-1 + containingProjects: 1 *changed* + /user/username/projects/myproject/apps/editor/tsconfig.json *new* + /user/username/projects/myproject/tsconfig.json *deleted* +/user/username/projects/myproject/mocks/cssMock.js *deleted* + version: SVC-1-0 + containingProjects: 0 *changed* + /user/username/projects/myproject/tsconfig.json *deleted* + +TI:: [hh:mm:ss:mss] Global cache location '/a/data', safe file path '/safeList.json', types map path /typesMap.json +TI:: [hh:mm:ss:mss] Processing cache location '/a/data' +TI:: [hh:mm:ss:mss] Trying to find '/a/data/package.json'... +TI:: [hh:mm:ss:mss] Finished processing cache location '/a/data' +TI:: [hh:mm:ss:mss] Npm config file: /a/data/package.json +TI:: [hh:mm:ss:mss] Npm config file: '/a/data/package.json' is missing, creating new one... +TI:: [hh:mm:ss:mss] Updating types-registry npm package... +TI:: [hh:mm:ss:mss] npm install --ignore-scripts types-registry@latest +TI:: [hh:mm:ss:mss] Updated types-registry npm package +TI:: typing installer creation complete +//// [/a/data/package.json] +{ "private": true } + +//// [/a/data/node_modules/types-registry/index.json] +{ + "entries": {} +} + + +TI:: [hh:mm:ss:mss] Got install request + { + "projectName": "/dev/null/inferredProject1*", + "fileNames": [ + "/a/lib/lib.d.ts", + "/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js" + ], + "compilerOptions": { + "target": 1, + "jsx": 1, + "allowNonTsExtensions": true, + "allowJs": true, + "noEmitForJsFiles": true, + "maxNodeModuleJsDepth": 2 + }, + "typeAcquisition": { + "enable": true, + "include": [], + "exclude": [] + }, + "unresolvedImports": [], + "projectRootPath": "/user/username/projects/myproject/apps/editor/scripts", + "kind": "discover" + } +TI:: [hh:mm:ss:mss] Failed to load safelist from types map file '/typesMap.json' +TI:: [hh:mm:ss:mss] Explicitly included types: [] +TI:: [hh:mm:ss:mss] Inferred typings from unresolved imports: [] +TI:: [hh:mm:ss:mss] Finished typings discovery: + { + "cachedTypingPaths": [], + "newTypingNames": [], + "filesToWatch": [ + "/user/username/projects/myproject/apps/editor/scripts/bower_components", + "/user/username/projects/myproject/apps/editor/scripts/node_modules" + ] + } +TI:: [hh:mm:ss:mss] Sending response: + { + "kind": "action::watchTypingLocations", + "projectName": "/dev/null/inferredProject1*", + "files": [ + "/user/username/projects/myproject/apps/editor/scripts/bower_components", + "/user/username/projects/myproject/apps/editor/scripts/node_modules" + ] + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/bower_components 1 undefined Project: /dev/null/inferredProject1* WatchType: Directory location for typing installer +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/bower_components 1 undefined Project: /dev/null/inferredProject1* WatchType: Directory location for typing installer +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Directory location for typing installer +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Directory location for typing installer +TI:: [hh:mm:ss:mss] Sending response: + { + "projectName": "/dev/null/inferredProject1*", + "typeAcquisition": { + "enable": true, + "include": [], + "exclude": [] + }, + "compilerOptions": { + "target": 1, + "jsx": 1, + "allowNonTsExtensions": true, + "allowJs": true, + "noEmitForJsFiles": true, + "maxNodeModuleJsDepth": 2 + }, + "typings": [], + "unresolvedImports": [], + "kind": "action::set" + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "setTypings", + "body": { + "projectName": "/dev/null/inferredProject1*", + "typeAcquisition": { + "enable": true, + "include": [], + "exclude": [] + }, + "compilerOptions": { + "target": 1, + "jsx": 1, + "allowNonTsExtensions": true, + "allowJs": true, + "noEmitForJsFiles": true, + "maxNodeModuleJsDepth": 2 + }, + "typings": [], + "unresolvedImports": [], + "kind": "action::set" + } + } +TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/apps/editor/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/apps/editor/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -471,10 +749,28 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/apps/editor/node_modules/@types: *new* +/user/username/projects/myproject/apps/editor/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/apps/node_modules/@types: *new* +/user/username/projects/myproject/apps/editor/scripts/bower_components: *new* {"pollingInterval":500} +/user/username/projects/myproject/apps/editor/scripts/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/scripts/node_modules: *new* + {"pollingInterval":500} +/user/username/projects/myproject/apps/editor/scripts/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/apps/editor/scripts/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/apps/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: @@ -485,49 +781,20 @@ FsWatches:: {} /user/username/projects/myproject/apps/editor/src/src.js: {} -/user/username/projects/myproject/apps/editor/tsconfig.json: *new* - {} -/user/username/projects/myproject/mocks/cssMock.js: +/user/username/projects/myproject/apps/editor/tsconfig.json: {} /user/username/projects/myproject/tsconfig.json: {} -FsWatches *deleted*:: -/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js: - {} - FsWatchesRecursive:: -/user/username/projects/myproject: - {} -/user/username/projects/myproject/apps/editor/src: *new* +/user/username/projects/myproject/apps/editor/src: {} Projects:: -/user/username/projects/myproject/apps/editor/tsconfig.json (Configured) *new* +/dev/null/inferredProject1* (Inferred) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 *changed* +/user/username/projects/myproject/apps/editor/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - noOpenRef: false *changed* - -ScriptInfos:: -/a/lib/lib.d.ts *changed* - version: Text-1 - containingProjects: 2 *changed* - /user/username/projects/myproject/tsconfig.json - /user/username/projects/myproject/apps/editor/tsconfig.json *new* -/user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js (Open) *changed* - open: true *changed* - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json *default* -/user/username/projects/myproject/apps/editor/src/src.js *changed* - version: Text-1 - containingProjects: 2 *changed* - /user/username/projects/myproject/tsconfig.json - /user/username/projects/myproject/apps/editor/tsconfig.json *new* -/user/username/projects/myproject/mocks/cssMock.js - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/tsconfig.json + noOpenRef: true diff --git a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js index eb310f72273..60bbca49467 100644 --- a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js +++ b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js @@ -318,8 +318,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } +Info seq [hh:mm:ss:mss] Invoking /a/tsconfig.json:: wildcard for open scriptInfo:: /a/main.js +Info seq [hh:mm:ss:mss] Project: /a/tsconfig.json Detected output file: /a/main.js Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/main.js ProjectRootPath: undefined:: Result: /a/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js index fb214b1168e..cabbdbce806 100644 --- a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js @@ -417,18 +417,42 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json ProjectRootPath: undefined:: Result: /user/username/projects/myproject/playground/tsconfig.json +Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) + /a/lib/lib.d.ts + /user/username/projects/myproject/playground/tests.ts + /user/username/projects/myproject/playground/tsconfig-json/src/src.ts + /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts + + + ../../../../../a/lib/lib.d.ts + Default library for target 'es5' + tests.ts + Matched by default include pattern '**/*' + tsconfig-json/src/src.ts + Matched by default include pattern '**/*' + tsconfig-json/tests/spec.ts + Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tests.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/playground/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -455,54 +479,58 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: {} -/user/username/projects/myproject/playground/tests.ts: - {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: {} /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json: *new* {} + +FsWatches *deleted*:: +/user/username/projects/myproject/playground/tests.ts: + {} +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts: + {} /user/username/projects/myproject/playground/tsconfig.json: {} -FsWatches *deleted*:: -/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts: +FsWatchesRecursive:: +/user/username/projects/myproject/playground/tsconfig-json/src: *new* {} -FsWatchesRecursive:: +FsWatchesRecursive *deleted*:: /user/username/projects/myproject/playground: {} -/user/username/projects/myproject/playground/tsconfig-json/src: *new* - {} Projects:: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) *new* projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/playground/tsconfig.json (Configured) *changed* + noOpenRef: true +/user/username/projects/myproject/playground/tsconfig.json (Configured) *deleted* projectStateVersion: 1 projectProgramVersion: 1 - noOpenRef: false *changed* + isClosed: true *changed* + noOpenRef: true ScriptInfos:: /a/lib/lib.d.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /user/username/projects/myproject/playground/tsconfig.json + containingProjects: 1 *changed* /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json *new* -/user/username/projects/myproject/playground/tests.ts + /user/username/projects/myproject/playground/tsconfig.json *deleted* +/user/username/projects/myproject/playground/tests.ts *deleted* version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/playground/tsconfig.json + containingProjects: 0 *changed* + /user/username/projects/myproject/playground/tsconfig.json *deleted* /user/username/projects/myproject/playground/tsconfig-json/src/src.ts *changed* version: Text-1 - containingProjects: 2 *changed* - /user/username/projects/myproject/playground/tsconfig.json + containingProjects: 1 *changed* /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json *new* + /user/username/projects/myproject/playground/tsconfig.json *deleted* /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts (Open) *changed* open: true *changed* version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/playground/tsconfig.json *default* + containingProjects: 0 *changed* + /user/username/projects/myproject/playground/tsconfig.json *deleted* Before request @@ -517,8 +545,59 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } -Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts position 16 in project /user/username/projects/myproject/playground/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Missing generated file +Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + /a/lib/lib.d.ts Text-1 "/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }" + /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts Text-1 "export function bar() { }" + + + ../../../../../../../a/lib/lib.d.ts + Default library for target 'es5' + spec.ts + Root file specified for compilation + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: +Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/playground/tsconfig-json/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) +Info seq [hh:mm:ss:mss] Files (2) + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] Open files: +Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] Finding references to /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts position 16 in project /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts 2000 undefined Project: /dev/null/inferredProject1* WatchType: Missing generated file Info seq [hh:mm:ss:mss] response: { "response": { @@ -550,46 +629,73 @@ Info seq [hh:mm:ss:mss] response: "symbolStartOffset": 17, "symbolDisplayString": "function bar(): void" }, - "responseRequired": true + "responseRequired": true, + "performanceData": { + "updateGraphDurationMs": * + } } After request PolledWatches:: +/user/username/projects/myproject/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/playground/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/playground/tsconfig-json/jsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types: *new* + {"pollingInterval":500} /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts: *new* {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} FsWatches:: /a/lib/lib.d.ts: {} -/user/username/projects/myproject/playground/tests.ts: - {} /user/username/projects/myproject/playground/tsconfig-json/src/src.ts: {} /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json: {} -/user/username/projects/myproject/playground/tsconfig.json: +/user/username/projects/myproject/playground/tsconfig.json: *new* {} FsWatchesRecursive:: -/user/username/projects/myproject/playground: - {} /user/username/projects/myproject/playground/tsconfig-json/src: {} Projects:: +/dev/null/inferredProject1* (Inferred) *new* + projectStateVersion: 1 + projectProgramVersion: 1 /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json (Configured) projectStateVersion: 1 projectProgramVersion: 1 -/user/username/projects/myproject/playground/tsconfig.json (Configured) *changed* - projectStateVersion: 1 - projectProgramVersion: 1 - documentPositionMappers: 1 *changed* - /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts: identitySourceMapConsumer *new* + noOpenRef: true + +ScriptInfos:: +/a/lib/lib.d.ts *changed* + version: Text-1 + containingProjects: 2 *changed* + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json + /dev/null/inferredProject1* *new* +/user/username/projects/myproject/playground/tsconfig-json/src/src.ts + version: Text-1 + containingProjects: 1 + /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json +/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts (Open) *changed* + version: Text-1 + containingProjects: 1 *changed* + /dev/null/inferredProject1* *default* *new* diff --git a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js index 484d48f7291..2c11118a421 100644 --- a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js +++ b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js @@ -394,7 +394,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/commonFile2.ts ProjectRootPath: undefined:: Result: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/tsconfig.json ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] event: { "seq": 0, diff --git a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js index 0248c548487..dbf4ef4921f 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js @@ -292,6 +292,10 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -373,8 +377,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: @@ -440,6 +452,10 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -469,6 +485,10 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -550,12 +570,28 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: + {"pollingInterval":2000} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -612,6 +648,10 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -644,6 +684,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -724,12 +768,28 @@ After request PolledWatches:: /user/username/projects/myproject/file2: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: + {"pollingInterval":2000} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js index 35a38edf7fd..777a67b5d3f 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js @@ -369,6 +369,10 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -451,8 +455,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: @@ -517,6 +529,10 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -546,6 +562,10 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -628,12 +648,28 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: + {"pollingInterval":2000} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -689,6 +725,10 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -721,6 +761,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -802,12 +846,28 @@ After request PolledWatches:: /user/username/projects/myproject/file2: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: + {"pollingInterval":2000} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project.js b/tests/baselines/reference/tsserver/reloadProjects/external-project.js index d7bbf697ba5..383361a063f 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project.js @@ -266,6 +266,10 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -327,8 +331,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: @@ -389,11 +401,19 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sln, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.sln Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -455,12 +475,28 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: + {"pollingInterval":2000} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -512,6 +548,10 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sln, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -521,6 +561,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Missing file Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -582,12 +626,28 @@ After request PolledWatches:: /user/username/projects/myproject/file2: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: + {"pollingInterval":2000} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js index 7723b6b7499..efea83cdac9 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js @@ -199,6 +199,10 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -253,10 +257,18 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: @@ -318,6 +330,10 @@ Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -331,6 +347,10 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts P Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -385,14 +405,30 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} *new* /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: + {"pollingInterval":2000} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -445,6 +481,10 @@ Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -462,6 +502,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -516,14 +560,30 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} *new* +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} *new* /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/package.json: + {"pollingInterval":2000} *new* PolledWatches *deleted*:: +/user/username/projects/myproject/node_modules/module1/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js index 0bab571af64..c5180ef505e 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js +++ b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js @@ -91,8 +91,23 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/mo Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -100,6 +115,13 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -209,8 +231,22 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/module2/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js index dc4920b581b..a33a6f3b9f9 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js +++ b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js @@ -58,6 +58,15 @@ Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/lib.d.ts' does not exist. Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib.d.ts' does not exist. Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib/index.d.ts' exists - use it as a name resolution result. +Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/a/cache/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -75,6 +84,12 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: +/a/cache/node_modules/@types/lib/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/package.json: *new* + {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -228,6 +243,12 @@ PolledWatches:: {"pollingInterval":500} /a/b/node_modules: *new* {"pollingInterval":500} +/a/cache/node_modules/@types/lib/package.json: + {"pollingInterval":2000} +/a/cache/node_modules/@types/package.json: + {"pollingInterval":2000} +/a/cache/node_modules/package.json: + {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js index c10b03c5457..f568e15334a 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js @@ -108,8 +108,23 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/mo Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== @@ -159,6 +174,13 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -283,8 +305,22 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/module2/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/product/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/product/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/product/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -413,8 +449,38 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js index 204c4b900c2..9f044d21538 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js @@ -96,8 +96,23 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/mo Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/src/file2.ts'. ======== @@ -111,6 +126,13 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -225,8 +247,22 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/module2/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -319,8 +355,38 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js index 68e3d8e4bc3..3232f1a7769 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js @@ -128,8 +128,23 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/feature/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/file4.ts 500 undefined WatchType: Closed Script info @@ -175,6 +190,13 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/module1/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module2/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -242,10 +264,22 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/module2/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/product/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/product/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/product/node_modules/module1/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/product/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/product/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/product/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/product/src/node_modules: *new* @@ -264,6 +298,8 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -388,6 +424,21 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module './feature/file2' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/src/feature/file2.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../test/file4' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/test/file4.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../test/src/file3' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/test/src/file3.ts'. @@ -395,6 +446,21 @@ Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/user Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. diff --git a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js index 29e2f24fc59..6ffbe7788cc 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -117,6 +117,12 @@ Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/ind Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_modules/moduleX/index.d.ts', result '/users/username/projects/node_modules/moduleX/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module '../common/moduleB' from '/users/username/projects/app/appB.ts'. ======== @@ -146,6 +152,9 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/moduleX/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/app/tsconfig.json' (Configured) @@ -306,6 +315,12 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/common/node_modules: *new* {"pollingInterval":500} +/users/username/projects/node_modules/moduleX/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /users/username/projects/app/appA.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index 75cb1464391..cd63b42dcfc 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -289,6 +289,11 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types/pad/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -313,8 +318,18 @@ After running Timeout callback:: count: 1 PolledWatches:: /a/b/projects/node_modules/@types: {"pollingInterval":500} +/a/b/projects/package.json: *new* + {"pollingInterval":2000} /a/b/projects/temp/jsconfig.json: {"pollingInterval":2000} +/a/b/projects/temp/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/b/projects/temp/node_modules/@types/pad/package.json: *new* + {"pollingInterval":2000} +/a/b/projects/temp/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/b/projects/temp/package.json: *new* + {"pollingInterval":2000} /a/b/projects/temp/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js index 0f53043137f..e0b3a4522a5 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -115,6 +115,12 @@ Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/ind Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_modules/moduleX/index.d.ts', result '/users/username/projects/node_modules/moduleX/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== +Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist. +Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module '../common/moduleB' from '/users/username/projects/app/appB.ts'. ======== @@ -137,6 +143,9 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/moduleX/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules/@types 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules/@types 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Type roots @@ -304,6 +313,12 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/node_modules/moduleX/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /users/username/projects/app/appA.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js b/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js index c90b1a22500..c130a379f89 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js +++ b/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js @@ -55,6 +55,9 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/@types/node/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/@types/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) @@ -201,6 +204,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/a/b/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} +/a/b/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js index a01160c910d..2893d57ec30 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js @@ -62,6 +62,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/somemodule/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -166,8 +170,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/somemodule/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js index 9a4b43284c6..d2d249d0e75 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js @@ -39,6 +39,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/somemodule/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -84,10 +88,18 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/somemodule/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js index 8253d4c79e7..440cc3bb020 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js @@ -53,6 +53,11 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/lib1/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -203,6 +208,16 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/@types/lib1/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/package.json: *new* + {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -280,6 +295,11 @@ Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/node_modules/@types/lib1/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/node_modules/@types/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -391,6 +411,18 @@ PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/users/username/projects/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/@types/lib1/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/@types/package.json: + {"pollingInterval":2000} +/users/username/projects/project/node_modules/package.json: + {"pollingInterval":2000} +/users/username/projects/project/package.json: + {"pollingInterval":2000} + FsWatches:: /users/username/projects/project/tsconfig.json: {} @@ -456,6 +488,11 @@ Projects:: Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/lib2/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -500,6 +537,36 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/users/username/projects/node_modules: + {"pollingInterval":500} +/users/username/projects/node_modules/@types: + {"pollingInterval":500} +/users/username/projects/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/@types/lib2/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/node_modules/package.json: *new* + {"pollingInterval":2000} +/users/username/projects/project/package.json: *new* + {"pollingInterval":2000} + +FsWatches:: +/users/username/projects/project/tsconfig.json: + {} + +FsWatchesRecursive:: +/users/username/projects/project: + {} +/users/username/projects/project/node_modules: + {} +/users/username/projects/project/node_modules/@types: + {} + Timeout callback:: count: 0 14: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js index 2048e131b2b..208e061ae43 100644 --- a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js +++ b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js @@ -86,6 +86,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -152,6 +153,8 @@ c:/temp/replay/tsconfig.json: *new* {"pollingInterval":2000} FsWatches:: +C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: *new* + {} c:/temp/replay/axios-src/package.json: *new* {} @@ -319,6 +322,8 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -384,7 +389,7 @@ c:/temp/replay/tsconfig.json: {"pollingInterval":2000} FsWatches:: -C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: *new* +C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} c:/temp/replay/axios-src/lib/core: *new* {} @@ -476,6 +481,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) diff --git a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js index 9c512b9a45f..859e78dcaae 100644 --- a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js +++ b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js @@ -59,6 +59,9 @@ Info seq [hh:mm:ss:mss] Config: /a/b/jsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/typings/node_modules/@types/bar/package.json 2000 undefined Project: /a/b/jsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/typings/node_modules/@types/package.json 2000 undefined Project: /a/b/jsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/typings/node_modules/package.json 2000 undefined Project: /a/b/jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/jsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/jsconfig.json' (Configured) @@ -78,6 +81,12 @@ TI:: Creating typing installer PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +/a/typings/node_modules/@types/bar/package.json: *new* + {"pollingInterval":2000} +/a/typings/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/typings/node_modules/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/b/jsconfig.json: *new* @@ -358,6 +367,12 @@ PolledWatches:: {"pollingInterval":500} /a/lib/lib.d.ts: {"pollingInterval":500} +/a/typings/node_modules/@types/bar/package.json: + {"pollingInterval":2000} +/a/typings/node_modules/@types/package.json: + {"pollingInterval":2000} +/a/typings/node_modules/package.json: + {"pollingInterval":2000} FsWatches:: /a/b/jsconfig.json: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js index fe0d0bf20b0..6c7823c9593 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js @@ -533,6 +533,8 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/jquery/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -674,6 +676,28 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/node_modules: + {"pollingInterval":500} +/tmp/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/tmp/node_modules/@types/package.json: *new* + {"pollingInterval":2000} + +FsWatches:: +/jsconfig.json: + {} +/tmp/package.json: + {} + +FsWatchesRecursive:: +/: + {} +/bower_components: + {} + Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js index 34e4074367c..0ac615801cc 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js @@ -482,6 +482,9 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/jquery/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -611,6 +614,30 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules: + {"pollingInterval":500} +/a/data/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/b/package.json: + {} +/a/b/tsconfig.json: + {} + +FsWatchesRecursive:: +/a/b: + {} + Projects:: /a/b/tsconfig.json (Configured) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js index 0b61e98a72f..80532f783d7 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js @@ -536,6 +536,8 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/jquery/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -677,6 +679,30 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/bower_components: + {"pollingInterval":500} +/node_modules: + {"pollingInterval":500} +/tmp/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/tmp/node_modules/@types/package.json: *new* + {"pollingInterval":2000} + +FsWatches:: +/bower.json: + {} +/jsconfig.json: + {} +/tmp/package.json: + {} + +FsWatchesRecursive:: +/: + {} + Projects:: /jsconfig.json (Configured) *changed* projectStateVersion: 3 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js index e92c2982d52..c9ea68e0b3c 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js @@ -588,6 +588,8 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/jquery/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -791,6 +793,28 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 2 +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/tmp/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/tmp/node_modules/@types/package.json: *new* + {"pollingInterval":2000} + +FsWatches:: +/jsconfig.json: + {} +/package.json: + {} +/tmp/package.json: + {} + +FsWatchesRecursive:: +/: + {} +/node_modules: + {} + Timeout callback:: count: 2 14: *ensureProjectForOpenFiles* *deleted* 15: /jsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js index e92f09c2aa2..7ef7e3b1272 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js @@ -619,6 +619,8 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/jquery/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -774,6 +776,30 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/bower_components: + {"pollingInterval":500} +/tmp/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/tmp/node_modules/@types/package.json: *new* + {"pollingInterval":2000} + +FsWatches:: +/jsconfig.json: + {} +/package.json: + {} +/tmp/package.json: + {} + +FsWatchesRecursive:: +/: + {} +/node_modules: + {} + Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js index bc060889ecf..b884038171f 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/expired-cache-entry.js @@ -350,6 +350,9 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/jquery/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -490,6 +493,28 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/data/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} +/bower_components: + {"pollingInterval":500} +/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/package.json: + {} + +FsWatchesRecursive:: +/a: + {} + Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js index bc0718258d1..1a46dd81a80 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js @@ -33,6 +33,7 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/app.js 500 undefi Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/app/test.csproj WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) @@ -52,6 +53,8 @@ TI:: Creating typing installer PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} +/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/b/app.js: *new* @@ -260,6 +263,8 @@ PolledWatches:: {"pollingInterval":500} /a/lib/lib.d.ts: {"pollingInterval":500} +/node_modules/@types/node/package.json: + {"pollingInterval":2000} FsWatches:: /a/b/app.js: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js index 093355dff1c..379cb4601b9 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js @@ -426,6 +426,10 @@ Before running Timeout callback:: count: 1 Info seq [hh:mm:ss:mss] Running: /a/app/test.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/lodash/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/react/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (4) @@ -549,6 +553,32 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 0 +PolledWatches:: +/a/app/bower_components: + {"pollingInterval":500} +/a/app/node_modules: + {"pollingInterval":500} +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules: + {"pollingInterval":500} +/a/data/node_modules/@types/lodash/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/react/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/b/file2.jsx: + {} +/a/b/file3.d.ts: + {} + Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js index 67238b2f9b7..5404c35e39b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js @@ -499,6 +499,12 @@ Before running Timeout callback:: count: 1 Info seq [hh:mm:ss:mss] Running: /a/app/test.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/commander/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/express/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/jquery/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/moment/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (5) @@ -650,6 +656,36 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 0 +PolledWatches:: +/a/app/bower_components: + {"pollingInterval":500} +/a/app/node_modules: + {"pollingInterval":500} +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules: + {"pollingInterval":500} +/a/data/node_modules/@types/commander/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/express/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/moment/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/b/file3.d.ts: + {} +/a/b/package.json: + {} + Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js index 2a57060c507..2038876a315 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/inferred-projects.js @@ -326,6 +326,9 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/jquery/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -466,6 +469,28 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/data/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} +/bower_components: + {"pollingInterval":500} +/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/package.json: + {} + +FsWatchesRecursive:: +/a: + {} + Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js index 9b8840f8e63..2c4da616dff 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js @@ -334,6 +334,11 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/ember__component/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -446,6 +451,24 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 2 +PolledWatches:: +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules: + {"pollingInterval":500} +/a/cache/node_modules/@types/commander/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/@types/ember__component/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/@types/node/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} + Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js index 5e3ba979bbd..b3d6184a358 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js @@ -25,6 +25,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/app.js ProjectRoo Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/fooo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -42,6 +44,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: +/a/b/node_modules/fooo/package.json: *new* + {"pollingInterval":2000} +/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -193,6 +199,10 @@ After request PolledWatches:: /a/b/bower_components: *new* {"pollingInterval":500} +/a/b/node_modules/fooo/package.json: + {"pollingInterval":2000} +/a/b/node_modules/package.json: + {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} @@ -336,6 +346,8 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/foo/a/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/foo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -453,6 +465,24 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 2 +PolledWatches:: +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules/fooo/package.json: + {"pollingInterval":2000} +/a/b/node_modules/package.json: + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} +/tmp/node_modules/foo/a/package.json: *new* + {"pollingInterval":2000} +/tmp/node_modules/foo/package.json: *new* + {"pollingInterval":2000} + +FsWatchesRecursive:: +/a/b/node_modules: + {} + Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js index dfd326be808..290fbb2ad87 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js @@ -21,6 +21,8 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/app.js ProjectRoo Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/fooo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -38,6 +40,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: +/a/b/node_modules/fooo/package.json: *new* + {"pollingInterval":2000} +/a/b/node_modules/package.json: *new* + {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -189,6 +195,10 @@ After request PolledWatches:: /a/b/bower_components: *new* {"pollingInterval":500} +/a/b/node_modules/fooo/package.json: + {"pollingInterval":2000} +/a/b/node_modules/package.json: + {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} @@ -323,6 +333,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/foo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) @@ -432,6 +443,22 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 2 +PolledWatches:: +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules/fooo/package.json: + {"pollingInterval":2000} +/a/b/node_modules/package.json: + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} +/tmp/node_modules/foo/package.json: *new* + {"pollingInterval":2000} + +FsWatchesRecursive:: +/a/b/node_modules: + {} + Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js index 7c21902aebe..0535eaac658 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js @@ -401,6 +401,9 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -539,6 +542,24 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules: + {"pollingInterval":500} +/a/cache/node_modules/@types/commander/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/b/package.json: + {} + Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js index fbcf9a25a99..c7267405536 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js @@ -480,6 +480,9 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /user/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/jquery/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -613,6 +616,34 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/data/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/project/bower_components: + {"pollingInterval":500} +/user/username/projects/project/node_modules: + {"pollingInterval":500} +/user/username/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/project/package.json: + {} +/user/username/projects/project/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/project: + {} + Projects:: /user/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -661,6 +692,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/a/data/node_modules/@types/jquery/package.json: + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: + {"pollingInterval":2000} +/a/data/node_modules/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} /user/username/projects/project/bower_components: @@ -932,6 +969,9 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Directory location for typing installer Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project/node_modules 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Directory location for typing installer TI:: [hh:mm:ss:mss] Closing file watchers for project '/user/username/projects/project/tsconfig.json' - done. +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/data/node_modules/@types/jquery/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /user/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/project/tsconfig.json WatchType: Type roots @@ -969,6 +1009,12 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: +/a/data/node_modules/@types/jquery/package.json: + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: + {"pollingInterval":2000} +/a/data/node_modules/package.json: + {"pollingInterval":2000} /user/username/projects/project/bower_components: {"pollingInterval":500} /user/username/projects/project/node_modules: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js index 405fcf5d0a3..d4d258c6b0e 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js @@ -316,6 +316,9 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -454,6 +457,24 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/bower_components: + {"pollingInterval":500} +/a/cache/node_modules/@types/commander/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/package.json: + {} + Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js index 4bdeb717412..ff47238ad9f 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js @@ -32,6 +32,9 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -75,6 +78,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/node_modules/commander/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatchesRecursive:: /user/username/projects/node_modules: *new* @@ -242,6 +251,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/node_modules/commander/package.json: + {"pollingInterval":2000} +/user/username/projects/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatchesRecursive:: /user/username/projects/node_modules: @@ -370,6 +385,13 @@ Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -487,6 +509,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/b/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/a/cache/node_modules/@types/commander/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/a/cache/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/a/cache/node_modules/package.json: *new* + {"pollingInterval":2000} /user/username/projects/a/jsconfig.json: {"pollingInterval":2000} /user/username/projects/a/node_modules: @@ -498,6 +526,18 @@ PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} +PolledWatches *deleted*:: +/user/username/projects/node_modules/commander/package.json: + {"pollingInterval":2000} +/user/username/projects/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/a/cache/package.json: *new* + {} + FsWatchesRecursive:: /user/username/projects/a/cache/node_modules: *new* {} diff --git a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js index e7db3b6a81b..3a004b157ee 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js @@ -285,6 +285,7 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@zkat/cacache/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -445,6 +446,8 @@ PolledWatches:: FsWatches:: /jsconfig.json: {} +/node_modules/@zkat/cacache/package.json: *new* + {} /package.json: *new* {} /tmp/package.json: @@ -614,6 +617,8 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /jsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/zkat__cacache/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/@types/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -731,6 +736,8 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /jsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tmp/node_modules/@types/zkat__cacache/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tmp/node_modules/@types/package.json 2000 undefined Project: /jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /jsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -843,6 +850,28 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 2 +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/bower_components: + {"pollingInterval":500} + +FsWatches:: +/jsconfig.json: + {} +/node_modules/@zkat/cacache/package.json: + {} +/package.json: + {} +/tmp/package.json: + {} + +FsWatchesRecursive:: +/: + {} +/node_modules: + {} + Timeout callback:: count: 2 14: *ensureProjectForOpenFiles* *deleted* 15: /jsconfig.json *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js index 5a447004162..1463caacd3f 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js @@ -332,6 +332,7 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) @@ -441,6 +442,18 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 2 +PolledWatches:: +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules: + {"pollingInterval":500} +/tmp/node_modules/node/package.json: *new* + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js index 4d2272f44d9..1a719c34f24 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js @@ -307,6 +307,9 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -445,6 +448,24 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 +PolledWatches:: +/a/bower_components: + {"pollingInterval":500} +/a/cache/node_modules/@types/commander/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/cache/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/package.json: + {} + Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js index 221b183bb4d..584f70d9340 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js @@ -806,6 +806,12 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /a/app/test1.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test1.csproj +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/commander/package.json 2000 undefined Project: /a/app/test1.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /a/app/test1.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /a/app/test1.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/cordova/package.json 2000 undefined Project: /a/app/test1.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/jquery/package.json 2000 undefined Project: /a/app/test1.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/lodash/package.json 2000 undefined Project: /a/app/test1.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test1.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test1.csproj' (External) Info seq [hh:mm:ss:mss] Files (5) @@ -948,6 +954,10 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery Info seq [hh:mm:ss:mss] Running: /a/app/test2.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test2.csproj +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/grunt/package.json 2000 undefined Project: /a/app/test2.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /a/app/test2.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /a/app/test2.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/gulp/package.json 2000 undefined Project: /a/app/test2.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test2.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test2.csproj' (External) Info seq [hh:mm:ss:mss] Files (3) @@ -1065,6 +1075,38 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 0 +PolledWatches:: +/a/app/bower_components: + {"pollingInterval":500} +/a/app/node_modules: + {"pollingInterval":500} +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules: + {"pollingInterval":500} +/a/data/node_modules/@types/commander/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/cordova/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/grunt/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/gulp/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/lodash/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/b/file3.d.ts: + {} + Projects:: /a/app/test1.csproj (External) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js index c301307bc90..53545b49f63 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js @@ -511,6 +511,13 @@ Before running Timeout callback:: count: 1 Info seq [hh:mm:ss:mss] Running: /a/app/test.csproj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/app/test.csproj +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/commander/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/express/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/jquery/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/lodash/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/data/node_modules/@types/moment/package.json 2000 undefined Project: /a/app/test.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/app/test.csproj projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/app/test.csproj' (External) Info seq [hh:mm:ss:mss] Files (6) @@ -662,6 +669,38 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 0 +PolledWatches:: +/a/app/bower_components: + {"pollingInterval":500} +/a/app/node_modules: + {"pollingInterval":500} +/a/b/bower_components: + {"pollingInterval":500} +/a/b/node_modules: + {"pollingInterval":500} +/a/data/node_modules/@types/commander/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/express/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/jquery/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/lodash/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/moment/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/a/data/node_modules/package.json: *new* + {"pollingInterval":2000} +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/b/file3.d.ts: + {} +/a/b/package.json: + {} + Projects:: /a/app/test.csproj (External) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js index efc318865ca..d51c7ddec86 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js @@ -58,6 +58,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots @@ -138,8 +142,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -208,8 +220,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/node_modules/bar/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js index a8d9f6af9bf..03e84a398b2 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js @@ -82,6 +82,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots @@ -159,8 +163,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -225,8 +237,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/bar/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js index 52a047632e8..a563808a7c2 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js @@ -57,6 +57,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots @@ -134,8 +138,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -202,8 +214,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/bar/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js index 90993629ef4..74d857be8d3 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js @@ -70,6 +70,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -118,6 +122,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* @@ -126,6 +136,8 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js index f5116549fc6..3fed3951ee1 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js @@ -94,6 +94,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -139,6 +143,12 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* @@ -147,6 +157,8 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js index 6f0313771e3..9603c70450f 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js @@ -69,6 +69,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -114,6 +118,12 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* @@ -122,6 +132,8 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js index 7ba98c5fe93..14a80c3b9f5 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js @@ -241,8 +241,11 @@ Before running Timeout callback:: count: 1 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project 1 {"synchronousWatchDirectory":true} Config: /a/username/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /a/username/project/src/file1.ts:: 1 Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project 1 {"synchronousWatchDirectory":true} Config: /a/username/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.jsonFailedLookupInvalidation @@ -250,11 +253,11 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/user After running Timeout callback:: count: 5 Timeout callback:: count: 5 -2: /a/username/project/tsconfig.json *new* -3: *ensureProjectForOpenFiles* *new* -4: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new* -5: pollLowPollingIntervalQueue *new* -6: pollPollingIntervalQueue *new* +4: /a/username/project/tsconfig.json *new* +5: *ensureProjectForOpenFiles* *new* +6: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new* +7: pollLowPollingIntervalQueue *new* +8: pollPollingIntervalQueue *new* Projects:: /a/username/project/tsconfig.json (Configured) *changed* @@ -262,6 +265,21 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* + Before request Info seq [hh:mm:ss:mss] request: @@ -338,12 +356,12 @@ FsWatches:: {"inode":7} Timeout callback:: count: 4 -3: *ensureProjectForOpenFiles* *deleted* -4: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted* -2: /a/username/project/tsconfig.json -5: pollLowPollingIntervalQueue -6: pollPollingIntervalQueue -7: *ensureProjectForOpenFiles* *new* +5: *ensureProjectForOpenFiles* *deleted* +6: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted* +4: /a/username/project/tsconfig.json +7: pollLowPollingIntervalQueue +8: pollPollingIntervalQueue +9: *ensureProjectForOpenFiles* *new* Projects:: /a/username/project/tsconfig.json (Configured) *changed* @@ -356,8 +374,9 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/username/project/tsconfig.json -/a/username/project/src/file1.ts +/a/username/project/src/file1.ts *changed* version: Text-1 + pendingReloadFromDisk: false *changed* containingProjects: 1 /a/username/project/tsconfig.json /a/username/project/src/file2.ts *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js index e67501a7672..70f2a47e414 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js @@ -240,24 +240,27 @@ Info seq [hh:mm:ss:mss] response: After request Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project 1 {"synchronousWatchDirectory":true} Config: /a/username/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /a/username/project/src/file1.ts:: 1 Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* +Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.json, Cancelled earlier one +Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project 1 {"synchronousWatchDirectory":true} Config: /a/username/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Before running Timeout callback:: count: 3 -1: /a/username/project/tsconfig.json -2: *ensureProjectForOpenFiles* -3: /a/username/project/tsconfig.jsonFailedLookupInvalidation +3: /a/username/project/tsconfig.json +4: *ensureProjectForOpenFiles* +5: /a/username/project/tsconfig.jsonFailedLookupInvalidation //// [/a/username/project/src/file2.ts] Inode:: 10 Timeout callback:: count: 3 -1: /a/username/project/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* -3: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new* +3: /a/username/project/tsconfig.json *new* +4: *ensureProjectForOpenFiles* *new* +5: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /a/username/project/tsconfig.json (Configured) *changed* @@ -265,6 +268,21 @@ Projects:: projectProgramVersion: 1 dirty: true *changed* +ScriptInfos:: +/a/lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/file1.ts *changed* + version: Text-1 + pendingReloadFromDisk: true *changed* + containingProjects: 1 + /a/username/project/tsconfig.json +/a/username/project/src/index.ts (Open) + version: SVC-1-0 + containingProjects: 1 + /a/username/project/tsconfig.json *default* + Info seq [hh:mm:ss:mss] Running: /a/username/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/file2.ts 500 undefined WatchType: Closed Script info @@ -310,9 +328,9 @@ FsWatches:: {"inode":7} Timeout callback:: count: 1 -2: *ensureProjectForOpenFiles* *deleted* -3: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted* -4: *ensureProjectForOpenFiles* *new* +4: *ensureProjectForOpenFiles* *deleted* +5: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted* +6: *ensureProjectForOpenFiles* *new* Projects:: /a/username/project/tsconfig.json (Configured) *changed* @@ -325,8 +343,9 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /a/username/project/tsconfig.json -/a/username/project/src/file1.ts +/a/username/project/src/file1.ts *changed* version: Text-1 + pendingReloadFromDisk: false *changed* containingProjects: 1 /a/username/project/tsconfig.json /a/username/project/src/file2.ts *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js index 284aa1c9ebe..9f7dae1689a 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js @@ -65,6 +65,10 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /wo Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots @@ -168,6 +172,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/workspaces/somerepo/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/@types/random-seed/package.json: *new* + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/package.json: *new* + {"pollingInterval":2000} +/workspaces/somerepo/package.json: *new* + {"pollingInterval":2000} /workspaces/somerepo/src/node_modules: *new* {"pollingInterval":500} /workspaces/somerepo/src/node_modules/@types: *new* @@ -332,6 +344,14 @@ PolledWatches:: {"pollingInterval":500} /workspaces/somerepo/node_modules/@types: *new* {"pollingInterval":500} +/workspaces/somerepo/node_modules/@types/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/@types/random-seed/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/package.json: + {"pollingInterval":2000} /workspaces/somerepo/src/node_modules: {"pollingInterval":500} /workspaces/somerepo/src/node_modules/@types: @@ -411,6 +431,10 @@ Before running Timeout callback:: count: 5 Invoking Timeout callback:: timeoutId:: 18:: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -436,6 +460,34 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 3 +PolledWatches:: +/workspaces/somerepo/node_modules: + {"pollingInterval":500} +/workspaces/somerepo/node_modules/@types: + {"pollingInterval":500} +/workspaces/somerepo/src/node_modules: + {"pollingInterval":500} +/workspaces/somerepo/src/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/workspaces/somerepo/node_modules/@types/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/@types/random-seed/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/package.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {"inode":12} +/workspaces/somerepo/src: + {"inode":3} +/workspaces/somerepo/src/tsconfig.json: + {"inode":4} + Timeout callback:: count: 3 17: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* 13: /workspaces/somerepo/src/tsconfig.json @@ -660,6 +712,10 @@ Before running Timeout callback:: count: 5 Invoking Timeout callback:: timeoutId:: 34:: checkOne Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -689,6 +745,32 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 3 +PolledWatches:: +/workspaces/somerepo/node_modules/@types/package.json: *new* + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/@types/random-seed/package.json: *new* + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/package.json: *new* + {"pollingInterval":2000} +/workspaces/somerepo/package.json: *new* + {"pollingInterval":2000} +/workspaces/somerepo/src/node_modules: + {"pollingInterval":500} +/workspaces/somerepo/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {"inode":12} +/workspaces/somerepo/node_modules: + {"inode":13} +/workspaces/somerepo/node_modules/@types: + {"inode":14} +/workspaces/somerepo/src: + {"inode":3} +/workspaces/somerepo/src/tsconfig.json: + {"inode":4} + Timeout callback:: count: 3 26: *ensureProjectForOpenFiles* *deleted* 27: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -796,6 +878,14 @@ Info seq [hh:mm:ss:mss] sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: After running Timeout callback:: count: 3 PolledWatches:: +/workspaces/somerepo/node_modules/@types/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/@types/random-seed/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/node_modules/package.json: + {"pollingInterval":2000} +/workspaces/somerepo/package.json: + {"pollingInterval":2000} /workspaces/somerepo/src/node_modules: {"pollingInterval":500} /workspaces/somerepo/src/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js index c61121c2b0c..cc4743723d4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js @@ -82,6 +82,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -186,8 +190,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js index b97277d2ffa..8765db93725 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js @@ -107,6 +107,10 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -211,8 +215,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: +/user/username/projects/myproject/node_modules/bar/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/package.json: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/package.json: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/package.json: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/typeGuardFunctionOfFormThisErrors.errors.txt b/tests/baselines/reference/typeGuardFunctionOfFormThisErrors.errors.txt index bb8daf5500d..8c8da810d47 100644 --- a/tests/baselines/reference/typeGuardFunctionOfFormThisErrors.errors.txt +++ b/tests/baselines/reference/typeGuardFunctionOfFormThisErrors.errors.txt @@ -10,12 +10,11 @@ typeGuardFunctionOfFormThisErrors.ts(26,1): error TS2322: Type '() => this is Le typeGuardFunctionOfFormThisErrors.ts(27,1): error TS2322: Type '() => this is FollowerGuard' is not assignable to type '() => this is LeadGuard'. Type predicate 'this is FollowerGuard' is not assignable to 'this is LeadGuard'. Property 'lead' is missing in type 'FollowerGuard' but required in type 'LeadGuard'. -typeGuardFunctionOfFormThisErrors.ts(29,32): error TS2526: A 'this' type is available only in a non-static member of a class or interface. typeGuardFunctionOfFormThisErrors.ts(55,7): error TS2339: Property 'follow' does not exist on type 'RoyalGuard'. typeGuardFunctionOfFormThisErrors.ts(58,7): error TS2339: Property 'lead' does not exist on type 'RoyalGuard'. -==== typeGuardFunctionOfFormThisErrors.ts (7 errors) ==== +==== typeGuardFunctionOfFormThisErrors.ts (6 errors) ==== class RoyalGuard { isLeader(): this is LeadGuard { return this instanceof LeadGuard; @@ -65,8 +64,6 @@ typeGuardFunctionOfFormThisErrors.ts(58,7): error TS2339: Property 'lead' does n !!! related TS2728 typeGuardFunctionOfFormThisErrors.ts:11:5: 'lead' is declared here. function invalidGuard(c: any): this is number { - ~~~~ -!!! error TS2526: A 'this' type is available only in a non-static member of a class or interface. return false; } diff --git a/tests/baselines/reference/typeReferenceDirectiveScopedPackageCustomTypeRoot.trace.json b/tests/baselines/reference/typeReferenceDirectiveScopedPackageCustomTypeRoot.trace.json index 47435970cf8..364124e8139 100644 --- a/tests/baselines/reference/typeReferenceDirectiveScopedPackageCustomTypeRoot.trace.json +++ b/tests/baselines/reference/typeReferenceDirectiveScopedPackageCustomTypeRoot.trace.json @@ -42,6 +42,14 @@ "File '/node_modules/@types/mangled__attypescache/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/mangled__attypescache/index.d.ts', result '/node_modules/@types/mangled__attypescache/index.d.ts'.", "======== Type reference directive '@mangled/attypescache' was successfully resolved to '/node_modules/@types/mangled__attypescache/index.d.ts', primary: true. ========", + "File '/node_modules/@scoped/nodemodulescache/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@scoped/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", + "File '/node_modules/@types/mangled__attypescache/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typeReferenceDirectiveWithTypeAsFile.trace.json b/tests/baselines/reference/typeReferenceDirectiveWithTypeAsFile.trace.json index 85b39822233..046a01119f8 100644 --- a/tests/baselines/reference/typeReferenceDirectiveWithTypeAsFile.trace.json +++ b/tests/baselines/reference/typeReferenceDirectiveWithTypeAsFile.trace.json @@ -5,6 +5,10 @@ "File '/node_modules/phaser/package.json' does not exist.", "Resolving real path for '/node_modules/phaser/types/phaser.d.ts', result '/node_modules/phaser/types/phaser.d.ts'.", "======== Type reference directive 'phaser' was successfully resolved to '/node_modules/phaser/types/phaser.d.ts', primary: true. ========", + "File '/node_modules/phaser/types/package.json' does not exist.", + "File '/node_modules/phaser/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json index f620afce87e..c83d07a5795 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json @@ -83,6 +83,20 @@ "File '/node_modules/@types/dopey/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/dopey/index.d.ts', result '/node_modules/@types/dopey/index.d.ts'.", "======== Type reference directive 'dopey' was successfully resolved to '/node_modules/@types/dopey/index.d.ts', primary: true. ========", + "File '/foo/node_modules/@types/grumpy/package.json' does not exist according to earlier cached lookups.", + "File '/foo/node_modules/@types/package.json' does not exist.", + "File '/foo/node_modules/package.json' does not exist.", + "File '/foo/package.json' does not exist.", + "File '/package.json' does not exist.", + "File '/foo/node_modules/@types/sneezy/package.json' does not exist according to earlier cached lookups.", + "File '/foo/node_modules/@types/package.json' does not exist according to earlier cached lookups.", + "File '/foo/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/foo/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/dopey/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/foo/bar/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json index 5d97aa0870b..092fc728335 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json @@ -21,6 +21,10 @@ "File '/node_modules/@types/foo/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/foo/index.d.ts', result '/node_modules/@types/foo/index.d.ts'.", "======== Type reference directive 'foo' was successfully resolved to '/node_modules/@types/foo/index.d.ts', primary: true. ========", + "File '/node_modules/@types/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/types.asyncGenerators.es2018.1.types b/tests/baselines/reference/types.asyncGenerators.es2018.1.types index 2d2f8df98e4..1cb91c6012c 100644 --- a/tests/baselines/reference/types.asyncGenerators.es2018.1.types +++ b/tests/baselines/reference/types.asyncGenerators.es2018.1.types @@ -61,8 +61,8 @@ async function * inferReturnType5() { > : ^ } async function * inferReturnType6() { ->inferReturnType6 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>inferReturnType6 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [1, 2]; >yield* [1, 2] : any @@ -74,8 +74,8 @@ async function * inferReturnType6() { > : ^ } async function * inferReturnType7() { ->inferReturnType7 : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>inferReturnType7 : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [Promise.resolve(1)]; >yield* [Promise.resolve(1)] : any @@ -144,8 +144,8 @@ const assignability2: () => AsyncIterableIterator = async function * () const assignability3: () => AsyncIterableIterator = async function * () { >assignability3 : () => AsyncIterableIterator > : ^^^^^^ ->async function * () { yield* [1, 2];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* [1, 2];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [1, 2]; >yield* [1, 2] : any @@ -160,8 +160,8 @@ const assignability3: () => AsyncIterableIterator = async function * () const assignability4: () => AsyncIterableIterator = async function * () { >assignability4 : () => AsyncIterableIterator > : ^^^^^^ ->async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [Promise.resolve(1)]; >yield* [Promise.resolve(1)] : any @@ -234,8 +234,8 @@ const assignability7: () => AsyncIterable = async function * () { const assignability8: () => AsyncIterable = async function * () { >assignability8 : () => AsyncIterable > : ^^^^^^ ->async function * () { yield* [1, 2];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* [1, 2];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [1, 2]; >yield* [1, 2] : any @@ -250,8 +250,8 @@ const assignability8: () => AsyncIterable = async function * () { const assignability9: () => AsyncIterable = async function * () { >assignability9 : () => AsyncIterable > : ^^^^^^ ->async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [Promise.resolve(1)]; >yield* [Promise.resolve(1)] : any @@ -324,8 +324,8 @@ const assignability12: () => AsyncIterator = async function * () { const assignability13: () => AsyncIterator = async function * () { >assignability13 : () => AsyncIterator > : ^^^^^^ ->async function * () { yield* [1, 2];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* [1, 2];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [1, 2]; >yield* [1, 2] : any @@ -340,8 +340,8 @@ const assignability13: () => AsyncIterator = async function * () { const assignability14: () => AsyncIterator = async function * () { >assignability14 : () => AsyncIterator > : ^^^^^^ ->async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* [Promise.resolve(1)];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* [Promise.resolve(1)]; >yield* [Promise.resolve(1)] : any diff --git a/tests/baselines/reference/types.asyncGenerators.es2018.2.errors.txt b/tests/baselines/reference/types.asyncGenerators.es2018.2.errors.txt index 4aa4491e423..130ef20c6f1 100644 --- a/tests/baselines/reference/types.asyncGenerators.es2018.2.errors.txt +++ b/tests/baselines/reference/types.asyncGenerators.es2018.2.errors.txt @@ -8,8 +8,8 @@ types.asyncGenerators.es2018.2.ts(10,7): error TS2322: Type '() => AsyncGenerato Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. Type 'string' is not assignable to type 'number'. -types.asyncGenerators.es2018.2.ts(13,7): error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterableIterator'. - Call signature return types 'AsyncGenerator' and 'AsyncIterableIterator' are incompatible. +types.asyncGenerators.es2018.2.ts(13,7): error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterableIterator'. + Call signature return types 'AsyncGenerator' and 'AsyncIterableIterator' are incompatible. The types returned by 'next(...)' are incompatible between these types. Type 'Promise>' is not assignable to type 'Promise>'. Type 'IteratorResult' is not assignable to type 'IteratorResult'. @@ -32,8 +32,8 @@ types.asyncGenerators.es2018.2.ts(19,7): error TS2322: Type '() => AsyncGenerato Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. Type 'string' is not assignable to type 'number'. -types.asyncGenerators.es2018.2.ts(22,7): error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterable'. - Call signature return types 'AsyncGenerator' and 'AsyncIterable' are incompatible. +types.asyncGenerators.es2018.2.ts(22,7): error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterable'. + Call signature return types 'AsyncGenerator' and 'AsyncIterable' are incompatible. The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible between these types. Type 'Promise>' is not assignable to type 'Promise>'. Type 'IteratorResult' is not assignable to type 'IteratorResult'. @@ -56,8 +56,8 @@ types.asyncGenerators.es2018.2.ts(28,7): error TS2322: Type '() => AsyncGenerato Type 'IteratorYieldResult' is not assignable to type 'IteratorResult'. Type 'IteratorYieldResult' is not assignable to type 'IteratorYieldResult'. Type 'string' is not assignable to type 'number'. -types.asyncGenerators.es2018.2.ts(31,7): error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterator'. - Call signature return types 'AsyncGenerator' and 'AsyncIterator' are incompatible. +types.asyncGenerators.es2018.2.ts(31,7): error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterator'. + Call signature return types 'AsyncGenerator' and 'AsyncIterator' are incompatible. The types returned by 'next(...)' are incompatible between these types. Type 'Promise>' is not assignable to type 'Promise>'. Type 'IteratorResult' is not assignable to type 'IteratorResult'. @@ -118,8 +118,8 @@ types.asyncGenerators.es2018.2.ts(74,12): error TS2504: Type '{}' must have a '[ }; const assignability2: () => AsyncIterableIterator = async function * () { ~~~~~~~~~~~~~~ -!!! error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterableIterator'. -!!! error TS2322: Call signature return types 'AsyncGenerator' and 'AsyncIterableIterator' are incompatible. +!!! error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterableIterator'. +!!! error TS2322: Call signature return types 'AsyncGenerator' and 'AsyncIterableIterator' are incompatible. !!! error TS2322: The types returned by 'next(...)' are incompatible between these types. !!! error TS2322: Type 'Promise>' is not assignable to type 'Promise>'. !!! error TS2322: Type 'IteratorResult' is not assignable to type 'IteratorResult'. @@ -154,8 +154,8 @@ types.asyncGenerators.es2018.2.ts(74,12): error TS2504: Type '{}' must have a '[ }; const assignability5: () => AsyncIterable = async function * () { ~~~~~~~~~~~~~~ -!!! error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterable'. -!!! error TS2322: Call signature return types 'AsyncGenerator' and 'AsyncIterable' are incompatible. +!!! error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterable'. +!!! error TS2322: Call signature return types 'AsyncGenerator' and 'AsyncIterable' are incompatible. !!! error TS2322: The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible between these types. !!! error TS2322: Type 'Promise>' is not assignable to type 'Promise>'. !!! error TS2322: Type 'IteratorResult' is not assignable to type 'IteratorResult'. @@ -190,8 +190,8 @@ types.asyncGenerators.es2018.2.ts(74,12): error TS2504: Type '{}' must have a '[ }; const assignability8: () => AsyncIterator = async function * () { ~~~~~~~~~~~~~~ -!!! error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterator'. -!!! error TS2322: Call signature return types 'AsyncGenerator' and 'AsyncIterator' are incompatible. +!!! error TS2322: Type '() => AsyncGenerator' is not assignable to type '() => AsyncIterator'. +!!! error TS2322: Call signature return types 'AsyncGenerator' and 'AsyncIterator' are incompatible. !!! error TS2322: The types returned by 'next(...)' are incompatible between these types. !!! error TS2322: Type 'Promise>' is not assignable to type 'Promise>'. !!! error TS2322: Type 'IteratorResult' is not assignable to type 'IteratorResult'. diff --git a/tests/baselines/reference/types.asyncGenerators.es2018.2.types b/tests/baselines/reference/types.asyncGenerators.es2018.2.types index 1f65af986e9..466a9ef6e70 100644 --- a/tests/baselines/reference/types.asyncGenerators.es2018.2.types +++ b/tests/baselines/reference/types.asyncGenerators.es2018.2.types @@ -61,8 +61,8 @@ const assignability1: () => AsyncIterableIterator = async function * () const assignability2: () => AsyncIterableIterator = async function * () { >assignability2 : () => AsyncIterableIterator > : ^^^^^^ ->async function * () { yield* ["a", "b"];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* ["a", "b"];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* ["a", "b"]; >yield* ["a", "b"] : any @@ -112,8 +112,8 @@ const assignability4: () => AsyncIterable = async function * () { const assignability5: () => AsyncIterable = async function * () { >assignability5 : () => AsyncIterable > : ^^^^^^ ->async function * () { yield* ["a", "b"];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* ["a", "b"];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* ["a", "b"]; >yield* ["a", "b"] : any @@ -163,8 +163,8 @@ const assignability7: () => AsyncIterator = async function * () { const assignability8: () => AsyncIterator = async function * () { >assignability8 : () => AsyncIterator > : ^^^^^^ ->async function * () { yield* ["a", "b"];} : () => AsyncGenerator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>async function * () { yield* ["a", "b"];} : () => AsyncGenerator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ yield* ["a", "b"]; >yield* ["a", "b"] : any diff --git a/tests/baselines/reference/typesVersions.ambientModules.trace.json b/tests/baselines/reference/typesVersions.ambientModules.trace.json index 440bf144cd7..b8742699cad 100644 --- a/tests/baselines/reference/typesVersions.ambientModules.trace.json +++ b/tests/baselines/reference/typesVersions.ambientModules.trace.json @@ -72,6 +72,8 @@ "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'ext/other' was not resolved. ========", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typesVersions.multiFile.trace.json b/tests/baselines/reference/typesVersions.multiFile.trace.json index 5e4f850fef1..40696cafdc9 100644 --- a/tests/baselines/reference/typesVersions.multiFile.trace.json +++ b/tests/baselines/reference/typesVersions.multiFile.trace.json @@ -33,6 +33,10 @@ "File '/.src/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/.src/node_modules/ext/ts3.1/other.d.ts', result '/.src/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to '/.src/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist according to earlier cached lookups.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json index 440bf144cd7..b8742699cad 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json @@ -72,6 +72,8 @@ "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'ext/other' was not resolved. ========", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json index 5e4f850fef1..40696cafdc9 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json @@ -33,6 +33,10 @@ "File '/.src/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/.src/node_modules/ext/ts3.1/other.d.ts', result '/.src/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to '/.src/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist according to earlier cached lookups.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json index a788ea8099e..1e62dcae8e8 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json @@ -33,6 +33,8 @@ "File '/.src/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/.src/node_modules/ext/ts3.1/other.d.ts', result '/.src/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to '/.src/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../' from '/.src/node_modules/ext/ts3.1/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/', target file types: TypeScript, Declaration.", @@ -47,6 +49,8 @@ "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "======== Module name '../' was successfully resolved to '/.src/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/s3.1/index.d.ts@1.0.0'. ========", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist according to earlier cached lookups.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../other' from '/.src/node_modules/ext/ts3.1/other.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/other', target file types: TypeScript, Declaration.", @@ -55,6 +59,7 @@ "File '/.src/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Module name '../other' was successfully resolved to '/.src/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json index 328752d50a8..95548f967e8 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json @@ -31,6 +31,8 @@ "File '/.src/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/.src/node_modules/ext/other.d.ts', result '/.src/node_modules/ext/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to '/.src/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========", + "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../other' from '/.src/node_modules/ext/ts3.1/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/other', target file types: TypeScript, Declaration.", @@ -39,6 +41,7 @@ "File '/.src/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Module name '../other' was successfully resolved to '/.src/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========", + "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typingsLookup1.trace.json b/tests/baselines/reference/typingsLookup1.trace.json index ca050949801..4c5d4b31b9f 100644 --- a/tests/baselines/reference/typingsLookup1.trace.json +++ b/tests/baselines/reference/typingsLookup1.trace.json @@ -5,6 +5,10 @@ "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", + "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'jquery' was found in cache from location '/'.", "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", diff --git a/tests/baselines/reference/typingsLookup3.trace.json b/tests/baselines/reference/typingsLookup3.trace.json index 794dbee4123..f915fd25843 100644 --- a/tests/baselines/reference/typingsLookup3.trace.json +++ b/tests/baselines/reference/typingsLookup3.trace.json @@ -12,6 +12,10 @@ "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", + "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", diff --git a/tests/baselines/reference/typingsLookup4.trace.json b/tests/baselines/reference/typingsLookup4.trace.json index 746760f576f..46540025b1d 100644 --- a/tests/baselines/reference/typingsLookup4.trace.json +++ b/tests/baselines/reference/typingsLookup4.trace.json @@ -64,6 +64,11 @@ "File '/node_modules/@types/mquery/mquery/index.tsx' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/mquery/mquery/index.tsx', result '/node_modules/@types/mquery/mquery/index.tsx'.", "======== Module name 'mquery' was successfully resolved to '/node_modules/@types/mquery/mquery/index.tsx'. ========", + "File '/node_modules/@types/jquery/package.json' exists according to earlier cached lookups.", + "File '/node_modules/@types/kquery/package.json' exists according to earlier cached lookups.", + "File '/node_modules/@types/lquery/package.json' exists according to earlier cached lookups.", + "File '/node_modules/@types/mquery/mquery/package.json' does not exist.", + "File '/node_modules/@types/mquery/package.json' exists according to earlier cached lookups.", "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/jquery/package.json' exists according to earlier cached lookups.", diff --git a/tests/baselines/reference/typingsLookupAmd.trace.json b/tests/baselines/reference/typingsLookupAmd.trace.json index a60e37c92be..016121c112b 100644 --- a/tests/baselines/reference/typingsLookupAmd.trace.json +++ b/tests/baselines/reference/typingsLookupAmd.trace.json @@ -17,6 +17,11 @@ "File '/x/node_modules/@types/b/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/x/node_modules/@types/b/index.d.ts', result '/x/node_modules/@types/b/index.d.ts'.", "======== Module name 'b' was successfully resolved to '/x/node_modules/@types/b/index.d.ts'. ========", + "File '/x/node_modules/@types/b/package.json' does not exist according to earlier cached lookups.", + "File '/x/node_modules/@types/package.json' does not exist.", + "File '/x/node_modules/package.json' does not exist.", + "File '/x/package.json' does not exist.", + "File '/package.json' does not exist.", "======== Resolving module 'a' from '/x/node_modules/@types/b/index.d.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "File '/x/node_modules/@types/b/a.ts' does not exist.", @@ -43,6 +48,10 @@ "File '/node_modules/@types/a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/a/index.d.ts', result '/node_modules/@types/a/index.d.ts'.", "======== Module name 'a' was successfully resolved to '/node_modules/@types/a/index.d.ts'. ========", + "File '/node_modules/@types/a/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'a', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/a/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/umd-augmentation-1.types b/tests/baselines/reference/umd-augmentation-1.types index c7f9c95e8f0..4bf383a94ae 100644 --- a/tests/baselines/reference/umd-augmentation-1.types +++ b/tests/baselines/reference/umd-augmentation-1.types @@ -61,12 +61,12 @@ p = v.reverse(); > : ^^^^^^^ >v.reverse() : m.Point > : ^^^^^^^ ->v.reverse : () => m.Point -> : ^^^^^^^^^^^^^ +>v.reverse : () => Math2d.Point +> : ^^^^^^ >v : m.Vector > : ^^^^^^^^ ->reverse : () => m.Point -> : ^^^^^^^^^^^^^ +>reverse : () => Math2d.Point +> : ^^^^^^ var t = p.x; >t : number diff --git a/tests/baselines/reference/umd-augmentation-2.types b/tests/baselines/reference/umd-augmentation-2.types index 6d5c3dde26b..526d70a16a7 100644 --- a/tests/baselines/reference/umd-augmentation-2.types +++ b/tests/baselines/reference/umd-augmentation-2.types @@ -59,11 +59,11 @@ p = v.reverse(); >v.reverse() : Math2d.Point > : ^^^^^^^^^^^^ >v.reverse : () => Math2d.Point -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >v : Math2d.Vector > : ^^^^^^^^^^^^^ >reverse : () => Math2d.Point -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ var t = p.x; >t : number diff --git a/tests/baselines/reference/umd-augmentation-3.types b/tests/baselines/reference/umd-augmentation-3.types index 2a8dbeeb746..2e538ad4bd9 100644 --- a/tests/baselines/reference/umd-augmentation-3.types +++ b/tests/baselines/reference/umd-augmentation-3.types @@ -61,12 +61,12 @@ p = v.reverse(); > : ^^^^^^^ >v.reverse() : m.Point > : ^^^^^^^ ->v.reverse : () => m.Point -> : ^^^^^^^^^^^^^ +>v.reverse : () => Math2d.Point +> : ^^^^^^ >v : m.Vector > : ^^^^^^^^ ->reverse : () => m.Point -> : ^^^^^^^^^^^^^ +>reverse : () => Math2d.Point +> : ^^^^^^ var t = p.x; >t : number diff --git a/tests/baselines/reference/umd-augmentation-4.types b/tests/baselines/reference/umd-augmentation-4.types index 5d1217759b6..2c930c86d2a 100644 --- a/tests/baselines/reference/umd-augmentation-4.types +++ b/tests/baselines/reference/umd-augmentation-4.types @@ -59,11 +59,11 @@ p = v.reverse(); >v.reverse() : Math2d.Point > : ^^^^^^^^^^^^ >v.reverse : () => Math2d.Point -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ >v : Math2d.Vector > : ^^^^^^^^^^^^^ >reverse : () => Math2d.Point -> : ^^^^^^^^^^^^^^^^^^ +> : ^^^^^^ var t = p.x; >t : number diff --git a/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).errors.txt b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).errors.txt new file mode 100644 index 00000000000..fd7f5d66b9f --- /dev/null +++ b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).errors.txt @@ -0,0 +1,137 @@ +unreachableDeclarations.ts(4,17): error TS2450: Enum 'EnumA' used before its declaration. +unreachableDeclarations.ts(14,5): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(21,17): error TS2450: Enum 'EnumA' used before its declaration. +unreachableDeclarations.ts(29,5): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(49,17): error TS2449: Class 'ClassA' used before its declaration. +unreachableDeclarations.ts(57,5): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(63,14): error TS2450: Enum 'Bar' used before its declaration. +unreachableDeclarations.ts(64,14): error TS2448: Block-scoped variable 'blah' used before its declaration. +unreachableDeclarations.ts(64,14): error TS2454: Variable 'blah' is used before being assigned. +unreachableDeclarations.ts(65,18): error TS2449: Class 'Foo' used before its declaration. +unreachableDeclarations.ts(78,2): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(84,2): error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. + + +==== unreachableDeclarations.ts (12 errors) ==== + function func1() { + aFunc(); + + console.log(EnumA.Value); + ~~~~~ +!!! error TS2450: Enum 'EnumA' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:14:10: 'EnumA' is declared here. + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumA.Value); + console.log(EnumB.Value); + } + + enum EnumA { Value } + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + const enum EnumB { Value } + } + + function func2() { + aFunc(); + + console.log(EnumA.Value); + ~~~~~ +!!! error TS2450: Enum 'EnumA' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:29:10: 'EnumA' is declared here. + + return; + + function aFunc() { + console.log(EnumA.Value); + } + + enum EnumA { Value } + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + } + + function func3() { + aFunc(); + + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumB.Value); + } + + const enum EnumB { Value } + } + + function func4() { + aFunc(); + + console.log(ClassA.Value); + ~~~~~~ +!!! error TS2449: Class 'ClassA' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:57:11: 'ClassA' is declared here. + + return; + + function aFunc() { + console.log(ClassA.Value); + } + + class ClassA { static Value = 1234; } + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + } + + function func5() { + aFunc(); + + console.log(Bar.A); + ~~~ +!!! error TS2450: Enum 'Bar' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:80:7: 'Bar' is declared here. + console.log(blah.prop); + ~~~~ +!!! error TS2448: Block-scoped variable 'blah' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:78:8: 'blah' is declared here. + ~~~~ +!!! error TS2454: Variable 'blah' is used before being assigned. + console.log(new Foo()) + ~~~ +!!! error TS2449: Class 'Foo' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:82:8: 'Foo' is declared here. + console.log(Baz.value); + + + return; + + function aFunc() { + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()) + console.log(Baz.value); + } + + const blah = { prop: 1234 }; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + + enum Bar { A } + ~~~~~~~~~~~~~~~ + + + class Foo { x = 1234 } + ~~~~~~~~~~~~~~~~~~~~~~~ + + + namespace Baz { export const value = 1234 } + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + ~~~~~~~~~ +!!! error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. + } + \ No newline at end of file diff --git a/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).js b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).js new file mode 100644 index 00000000000..945f427dae8 --- /dev/null +++ b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).js @@ -0,0 +1,169 @@ +//// [tests/cases/compiler/unreachableDeclarations.ts] //// + +//// [unreachableDeclarations.ts] +function func1() { + aFunc(); + + console.log(EnumA.Value); + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumA.Value); + console.log(EnumB.Value); + } + + enum EnumA { Value } + const enum EnumB { Value } +} + +function func2() { + aFunc(); + + console.log(EnumA.Value); + + return; + + function aFunc() { + console.log(EnumA.Value); + } + + enum EnumA { Value } +} + +function func3() { + aFunc(); + + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumB.Value); + } + + const enum EnumB { Value } +} + +function func4() { + aFunc(); + + console.log(ClassA.Value); + + return; + + function aFunc() { + console.log(ClassA.Value); + } + + class ClassA { static Value = 1234; } +} + +function func5() { + aFunc(); + + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()) + console.log(Baz.value); + + + return; + + function aFunc() { + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()) + console.log(Baz.value); + } + + const blah = { prop: 1234 }; + + enum Bar { A } + + class Foo { x = 1234 } + + namespace Baz { export const value = 1234 } +} + + +//// [unreachableDeclarations.js] +"use strict"; +function func1() { + aFunc(); + console.log(EnumA.Value); + console.log(0 /* EnumB.Value */); + return; + function aFunc() { + console.log(EnumA.Value); + console.log(0 /* EnumB.Value */); + } + var EnumA; + (function (EnumA) { + EnumA[EnumA["Value"] = 0] = "Value"; + })(EnumA || (EnumA = {})); +} +function func2() { + aFunc(); + console.log(EnumA.Value); + return; + function aFunc() { + console.log(EnumA.Value); + } + var EnumA; + (function (EnumA) { + EnumA[EnumA["Value"] = 0] = "Value"; + })(EnumA || (EnumA = {})); +} +function func3() { + aFunc(); + console.log(0 /* EnumB.Value */); + return; + function aFunc() { + console.log(0 /* EnumB.Value */); + } +} +function func4() { + aFunc(); + console.log(ClassA.Value); + return; + function aFunc() { + console.log(ClassA.Value); + } + var ClassA = /** @class */ (function () { + function ClassA() { + } + ClassA.Value = 1234; + return ClassA; + }()); +} +function func5() { + aFunc(); + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()); + console.log(Baz.value); + return; + function aFunc() { + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()); + console.log(Baz.value); + } + var blah = { prop: 1234 }; + var Bar; + (function (Bar) { + Bar[Bar["A"] = 0] = "A"; + })(Bar || (Bar = {})); + var Foo = /** @class */ (function () { + function Foo() { + this.x = 1234; + } + return Foo; + }()); + var Baz; + (function (Baz) { + Baz.value = 1234; + })(Baz || (Baz = {})); +} diff --git a/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).symbols b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).symbols new file mode 100644 index 00000000000..20cadc7d774 --- /dev/null +++ b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).symbols @@ -0,0 +1,245 @@ +//// [tests/cases/compiler/unreachableDeclarations.ts] //// + +=== unreachableDeclarations.ts === +function func1() { +>func1 : Symbol(func1, Decl(unreachableDeclarations.ts, 0, 0)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 6, 11)) + + console.log(EnumA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumA.Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 11, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) + + console.log(EnumB.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumB.Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 13, 24)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 6, 11)) + + console.log(EnumA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumA.Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 11, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) + + console.log(EnumB.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumB.Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 13, 24)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) + } + + enum EnumA { Value } +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 11, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) + + const enum EnumB { Value } +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 13, 24)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) +} + +function func2() { +>func2 : Symbol(func2, Decl(unreachableDeclarations.ts, 15, 1)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 22, 11)) + + console.log(EnumA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumA.Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 26, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 22, 11)) + + console.log(EnumA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumA.Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 26, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) + } + + enum EnumA { Value } +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 26, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) +} + +function func3() { +>func3 : Symbol(func3, Decl(unreachableDeclarations.ts, 29, 1)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 36, 11)) + + console.log(EnumB.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumB.Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 40, 5)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 36, 11)) + + console.log(EnumB.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumB.Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 40, 5)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) + } + + const enum EnumB { Value } +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 40, 5)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) +} + +function func4() { +>func4 : Symbol(func4, Decl(unreachableDeclarations.ts, 43, 1)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 50, 11)) + + console.log(ClassA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>ClassA.Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) +>ClassA : Symbol(ClassA, Decl(unreachableDeclarations.ts, 54, 5)) +>Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 50, 11)) + + console.log(ClassA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>ClassA.Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) +>ClassA : Symbol(ClassA, Decl(unreachableDeclarations.ts, 54, 5)) +>Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) + } + + class ClassA { static Value = 1234; } +>ClassA : Symbol(ClassA, Decl(unreachableDeclarations.ts, 54, 5)) +>Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) +} + +function func5() { +>func5 : Symbol(func5, Decl(unreachableDeclarations.ts, 57, 1)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 68, 8)) + + console.log(Bar.A); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Bar.A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) +>Bar : Symbol(Bar, Decl(unreachableDeclarations.ts, 77, 29)) +>A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) + + console.log(blah.prop); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>blah.prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) +>blah : Symbol(blah, Decl(unreachableDeclarations.ts, 77, 6)) +>prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) + + console.log(new Foo()) +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Foo : Symbol(Foo, Decl(unreachableDeclarations.ts, 79, 15)) + + console.log(Baz.value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Baz.value : Symbol(Baz.value, Decl(unreachableDeclarations.ts, 83, 29)) +>Baz : Symbol(Baz, Decl(unreachableDeclarations.ts, 81, 23)) +>value : Symbol(Baz.value, Decl(unreachableDeclarations.ts, 83, 29)) + + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 68, 8)) + + console.log(Bar.A); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Bar.A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) +>Bar : Symbol(Bar, Decl(unreachableDeclarations.ts, 77, 29)) +>A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) + + console.log(blah.prop); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>blah.prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) +>blah : Symbol(blah, Decl(unreachableDeclarations.ts, 77, 6)) +>prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) + + console.log(new Foo()) +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Foo : Symbol(Foo, Decl(unreachableDeclarations.ts, 79, 15)) + + console.log(Baz.value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Baz.value : Symbol(Baz.value, Decl(unreachableDeclarations.ts, 83, 29)) +>Baz : Symbol(Baz, Decl(unreachableDeclarations.ts, 81, 23)) +>value : Symbol(Baz.value, Decl(unreachableDeclarations.ts, 83, 29)) + } + + const blah = { prop: 1234 }; +>blah : Symbol(blah, Decl(unreachableDeclarations.ts, 77, 6)) +>prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) + + enum Bar { A } +>Bar : Symbol(Bar, Decl(unreachableDeclarations.ts, 77, 29)) +>A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) + + class Foo { x = 1234 } +>Foo : Symbol(Foo, Decl(unreachableDeclarations.ts, 79, 15)) +>x : Symbol(Foo.x, Decl(unreachableDeclarations.ts, 81, 12)) + + namespace Baz { export const value = 1234 } +>Baz : Symbol(Baz, Decl(unreachableDeclarations.ts, 81, 23)) +>value : Symbol(value, Decl(unreachableDeclarations.ts, 83, 29)) +} + diff --git a/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).types b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).types new file mode 100644 index 00000000000..9a54857c8d2 --- /dev/null +++ b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=false).types @@ -0,0 +1,442 @@ +//// [tests/cases/compiler/unreachableDeclarations.ts] //// + +=== unreachableDeclarations.ts === +function func1() { +>func1 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumA.Value); +>console.log(EnumA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumA.Value : EnumA +> : ^^^^^ +>EnumA : typeof EnumA +> : ^^^^^^^^^^^^ +>Value : EnumA +> : ^^^^^ + + console.log(EnumB.Value); +>console.log(EnumB.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumB.Value : EnumB +> : ^^^^^ +>EnumB : typeof EnumB +> : ^^^^^^^^^^^^ +>Value : EnumB +> : ^^^^^ + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumA.Value); +>console.log(EnumA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumA.Value : EnumA +> : ^^^^^ +>EnumA : typeof EnumA +> : ^^^^^^^^^^^^ +>Value : EnumA +> : ^^^^^ + + console.log(EnumB.Value); +>console.log(EnumB.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumB.Value : EnumB +> : ^^^^^ +>EnumB : typeof EnumB +> : ^^^^^^^^^^^^ +>Value : EnumB +> : ^^^^^ + } + + enum EnumA { Value } +>EnumA : EnumA +> : ^^^^^ +>Value : EnumA.Value +> : ^^^^^^^^^^^ + + const enum EnumB { Value } +>EnumB : EnumB +> : ^^^^^ +>Value : EnumB.Value +> : ^^^^^^^^^^^ +} + +function func2() { +>func2 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumA.Value); +>console.log(EnumA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumA.Value : EnumA +> : ^^^^^ +>EnumA : typeof EnumA +> : ^^^^^^^^^^^^ +>Value : EnumA +> : ^^^^^ + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumA.Value); +>console.log(EnumA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumA.Value : EnumA +> : ^^^^^ +>EnumA : typeof EnumA +> : ^^^^^^^^^^^^ +>Value : EnumA +> : ^^^^^ + } + + enum EnumA { Value } +>EnumA : EnumA +> : ^^^^^ +>Value : EnumA.Value +> : ^^^^^^^^^^^ +} + +function func3() { +>func3 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumB.Value); +>console.log(EnumB.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumB.Value : EnumB +> : ^^^^^ +>EnumB : typeof EnumB +> : ^^^^^^^^^^^^ +>Value : EnumB +> : ^^^^^ + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumB.Value); +>console.log(EnumB.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumB.Value : EnumB +> : ^^^^^ +>EnumB : typeof EnumB +> : ^^^^^^^^^^^^ +>Value : EnumB +> : ^^^^^ + } + + const enum EnumB { Value } +>EnumB : EnumB +> : ^^^^^ +>Value : EnumB.Value +> : ^^^^^^^^^^^ +} + +function func4() { +>func4 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(ClassA.Value); +>console.log(ClassA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>ClassA.Value : number +> : ^^^^^^ +>ClassA : typeof ClassA +> : ^^^^^^^^^^^^^ +>Value : number +> : ^^^^^^ + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(ClassA.Value); +>console.log(ClassA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>ClassA.Value : number +> : ^^^^^^ +>ClassA : typeof ClassA +> : ^^^^^^^^^^^^^ +>Value : number +> : ^^^^^^ + } + + class ClassA { static Value = 1234; } +>ClassA : ClassA +> : ^^^^^^ +>Value : number +> : ^^^^^^ +>1234 : 1234 +> : ^^^^ +} + +function func5() { +>func5 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(Bar.A); +>console.log(Bar.A) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>Bar.A : Bar +> : ^^^ +>Bar : typeof Bar +> : ^^^^^^^^^^ +>A : Bar +> : ^^^ + + console.log(blah.prop); +>console.log(blah.prop) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>blah.prop : number +> : ^^^^^^ +>blah : { prop: number; } +> : ^^^^^^^^^^^^^^^^^ +>prop : number +> : ^^^^^^ + + console.log(new Foo()) +>console.log(new Foo()) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>new Foo() : Foo +> : ^^^ +>Foo : typeof Foo +> : ^^^^^^^^^^ + + console.log(Baz.value); +>console.log(Baz.value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>Baz.value : 1234 +> : ^^^^ +>Baz : typeof Baz +> : ^^^^^^^^^^ +>value : 1234 +> : ^^^^ + + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(Bar.A); +>console.log(Bar.A) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>Bar.A : Bar +> : ^^^ +>Bar : typeof Bar +> : ^^^^^^^^^^ +>A : Bar +> : ^^^ + + console.log(blah.prop); +>console.log(blah.prop) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>blah.prop : number +> : ^^^^^^ +>blah : { prop: number; } +> : ^^^^^^^^^^^^^^^^^ +>prop : number +> : ^^^^^^ + + console.log(new Foo()) +>console.log(new Foo()) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>new Foo() : Foo +> : ^^^ +>Foo : typeof Foo +> : ^^^^^^^^^^ + + console.log(Baz.value); +>console.log(Baz.value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>Baz.value : 1234 +> : ^^^^ +>Baz : typeof Baz +> : ^^^^^^^^^^ +>value : 1234 +> : ^^^^ + } + + const blah = { prop: 1234 }; +>blah : { prop: number; } +> : ^^^^^^^^^^^^^^^^^ +>{ prop: 1234 } : { prop: number; } +> : ^^^^^^^^^^^^^^^^^ +>prop : number +> : ^^^^^^ +>1234 : 1234 +> : ^^^^ + + enum Bar { A } +>Bar : Bar +> : ^^^ +>A : Bar.A +> : ^^^^^ + + class Foo { x = 1234 } +>Foo : Foo +> : ^^^ +>x : number +> : ^^^^^^ +>1234 : 1234 +> : ^^^^ + + namespace Baz { export const value = 1234 } +>Baz : typeof Baz +> : ^^^^^^^^^^ +>value : 1234 +> : ^^^^ +>1234 : 1234 +> : ^^^^ +} + diff --git a/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).errors.txt b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).errors.txt new file mode 100644 index 00000000000..a648a0d7665 --- /dev/null +++ b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).errors.txt @@ -0,0 +1,141 @@ +unreachableDeclarations.ts(4,17): error TS2450: Enum 'EnumA' used before its declaration. +unreachableDeclarations.ts(14,5): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(21,17): error TS2450: Enum 'EnumA' used before its declaration. +unreachableDeclarations.ts(29,5): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(43,5): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(49,17): error TS2449: Class 'ClassA' used before its declaration. +unreachableDeclarations.ts(57,5): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(63,14): error TS2450: Enum 'Bar' used before its declaration. +unreachableDeclarations.ts(64,14): error TS2448: Block-scoped variable 'blah' used before its declaration. +unreachableDeclarations.ts(64,14): error TS2454: Variable 'blah' is used before being assigned. +unreachableDeclarations.ts(65,18): error TS2449: Class 'Foo' used before its declaration. +unreachableDeclarations.ts(78,2): error TS7027: Unreachable code detected. +unreachableDeclarations.ts(84,2): error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. + + +==== unreachableDeclarations.ts (13 errors) ==== + function func1() { + aFunc(); + + console.log(EnumA.Value); + ~~~~~ +!!! error TS2450: Enum 'EnumA' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:14:10: 'EnumA' is declared here. + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumA.Value); + console.log(EnumB.Value); + } + + enum EnumA { Value } + ~~~~~~~~~~~~~~~~~~~~ + const enum EnumB { Value } + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + } + + function func2() { + aFunc(); + + console.log(EnumA.Value); + ~~~~~ +!!! error TS2450: Enum 'EnumA' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:29:10: 'EnumA' is declared here. + + return; + + function aFunc() { + console.log(EnumA.Value); + } + + enum EnumA { Value } + ~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + } + + function func3() { + aFunc(); + + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumB.Value); + } + + const enum EnumB { Value } + ~~~~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + } + + function func4() { + aFunc(); + + console.log(ClassA.Value); + ~~~~~~ +!!! error TS2449: Class 'ClassA' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:57:11: 'ClassA' is declared here. + + return; + + function aFunc() { + console.log(ClassA.Value); + } + + class ClassA { static Value = 1234; } + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + } + + function func5() { + aFunc(); + + console.log(Bar.A); + ~~~ +!!! error TS2450: Enum 'Bar' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:80:7: 'Bar' is declared here. + console.log(blah.prop); + ~~~~ +!!! error TS2448: Block-scoped variable 'blah' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:78:8: 'blah' is declared here. + ~~~~ +!!! error TS2454: Variable 'blah' is used before being assigned. + console.log(new Foo()) + ~~~ +!!! error TS2449: Class 'Foo' used before its declaration. +!!! related TS2728 unreachableDeclarations.ts:82:8: 'Foo' is declared here. + console.log(Baz.value); + + + return; + + function aFunc() { + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()) + console.log(Baz.value); + } + + const blah = { prop: 1234 }; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + + enum Bar { A } + ~~~~~~~~~~~~~~~ + + + class Foo { x = 1234 } + ~~~~~~~~~~~~~~~~~~~~~~~ + + + namespace Baz { export const value = 1234 } + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +!!! error TS7027: Unreachable code detected. + ~~~~~~~~~ +!!! error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. + } + \ No newline at end of file diff --git a/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).js b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).js new file mode 100644 index 00000000000..1433be8a790 --- /dev/null +++ b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).js @@ -0,0 +1,177 @@ +//// [tests/cases/compiler/unreachableDeclarations.ts] //// + +//// [unreachableDeclarations.ts] +function func1() { + aFunc(); + + console.log(EnumA.Value); + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumA.Value); + console.log(EnumB.Value); + } + + enum EnumA { Value } + const enum EnumB { Value } +} + +function func2() { + aFunc(); + + console.log(EnumA.Value); + + return; + + function aFunc() { + console.log(EnumA.Value); + } + + enum EnumA { Value } +} + +function func3() { + aFunc(); + + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumB.Value); + } + + const enum EnumB { Value } +} + +function func4() { + aFunc(); + + console.log(ClassA.Value); + + return; + + function aFunc() { + console.log(ClassA.Value); + } + + class ClassA { static Value = 1234; } +} + +function func5() { + aFunc(); + + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()) + console.log(Baz.value); + + + return; + + function aFunc() { + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()) + console.log(Baz.value); + } + + const blah = { prop: 1234 }; + + enum Bar { A } + + class Foo { x = 1234 } + + namespace Baz { export const value = 1234 } +} + + +//// [unreachableDeclarations.js] +"use strict"; +function func1() { + aFunc(); + console.log(EnumA.Value); + console.log(0 /* EnumB.Value */); + return; + function aFunc() { + console.log(EnumA.Value); + console.log(0 /* EnumB.Value */); + } + var EnumA; + (function (EnumA) { + EnumA[EnumA["Value"] = 0] = "Value"; + })(EnumA || (EnumA = {})); + var EnumB; + (function (EnumB) { + EnumB[EnumB["Value"] = 0] = "Value"; + })(EnumB || (EnumB = {})); +} +function func2() { + aFunc(); + console.log(EnumA.Value); + return; + function aFunc() { + console.log(EnumA.Value); + } + var EnumA; + (function (EnumA) { + EnumA[EnumA["Value"] = 0] = "Value"; + })(EnumA || (EnumA = {})); +} +function func3() { + aFunc(); + console.log(0 /* EnumB.Value */); + return; + function aFunc() { + console.log(0 /* EnumB.Value */); + } + var EnumB; + (function (EnumB) { + EnumB[EnumB["Value"] = 0] = "Value"; + })(EnumB || (EnumB = {})); +} +function func4() { + aFunc(); + console.log(ClassA.Value); + return; + function aFunc() { + console.log(ClassA.Value); + } + var ClassA = /** @class */ (function () { + function ClassA() { + } + ClassA.Value = 1234; + return ClassA; + }()); +} +function func5() { + aFunc(); + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()); + console.log(Baz.value); + return; + function aFunc() { + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()); + console.log(Baz.value); + } + var blah = { prop: 1234 }; + var Bar; + (function (Bar) { + Bar[Bar["A"] = 0] = "A"; + })(Bar || (Bar = {})); + var Foo = /** @class */ (function () { + function Foo() { + this.x = 1234; + } + return Foo; + }()); + var Baz; + (function (Baz) { + Baz.value = 1234; + })(Baz || (Baz = {})); +} diff --git a/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).symbols b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).symbols new file mode 100644 index 00000000000..20cadc7d774 --- /dev/null +++ b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).symbols @@ -0,0 +1,245 @@ +//// [tests/cases/compiler/unreachableDeclarations.ts] //// + +=== unreachableDeclarations.ts === +function func1() { +>func1 : Symbol(func1, Decl(unreachableDeclarations.ts, 0, 0)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 6, 11)) + + console.log(EnumA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumA.Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 11, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) + + console.log(EnumB.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumB.Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 13, 24)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 6, 11)) + + console.log(EnumA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumA.Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 11, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) + + console.log(EnumB.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumB.Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 13, 24)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) + } + + enum EnumA { Value } +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 11, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 13, 16)) + + const enum EnumB { Value } +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 13, 24)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 14, 22)) +} + +function func2() { +>func2 : Symbol(func2, Decl(unreachableDeclarations.ts, 15, 1)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 22, 11)) + + console.log(EnumA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumA.Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 26, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 22, 11)) + + console.log(EnumA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumA.Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 26, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) + } + + enum EnumA { Value } +>EnumA : Symbol(EnumA, Decl(unreachableDeclarations.ts, 26, 5)) +>Value : Symbol(EnumA.Value, Decl(unreachableDeclarations.ts, 28, 16)) +} + +function func3() { +>func3 : Symbol(func3, Decl(unreachableDeclarations.ts, 29, 1)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 36, 11)) + + console.log(EnumB.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumB.Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 40, 5)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 36, 11)) + + console.log(EnumB.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>EnumB.Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 40, 5)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) + } + + const enum EnumB { Value } +>EnumB : Symbol(EnumB, Decl(unreachableDeclarations.ts, 40, 5)) +>Value : Symbol(EnumB.Value, Decl(unreachableDeclarations.ts, 42, 22)) +} + +function func4() { +>func4 : Symbol(func4, Decl(unreachableDeclarations.ts, 43, 1)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 50, 11)) + + console.log(ClassA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>ClassA.Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) +>ClassA : Symbol(ClassA, Decl(unreachableDeclarations.ts, 54, 5)) +>Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 50, 11)) + + console.log(ClassA.Value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>ClassA.Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) +>ClassA : Symbol(ClassA, Decl(unreachableDeclarations.ts, 54, 5)) +>Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) + } + + class ClassA { static Value = 1234; } +>ClassA : Symbol(ClassA, Decl(unreachableDeclarations.ts, 54, 5)) +>Value : Symbol(ClassA.Value, Decl(unreachableDeclarations.ts, 56, 18)) +} + +function func5() { +>func5 : Symbol(func5, Decl(unreachableDeclarations.ts, 57, 1)) + + aFunc(); +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 68, 8)) + + console.log(Bar.A); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Bar.A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) +>Bar : Symbol(Bar, Decl(unreachableDeclarations.ts, 77, 29)) +>A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) + + console.log(blah.prop); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>blah.prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) +>blah : Symbol(blah, Decl(unreachableDeclarations.ts, 77, 6)) +>prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) + + console.log(new Foo()) +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Foo : Symbol(Foo, Decl(unreachableDeclarations.ts, 79, 15)) + + console.log(Baz.value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Baz.value : Symbol(Baz.value, Decl(unreachableDeclarations.ts, 83, 29)) +>Baz : Symbol(Baz, Decl(unreachableDeclarations.ts, 81, 23)) +>value : Symbol(Baz.value, Decl(unreachableDeclarations.ts, 83, 29)) + + + return; + + function aFunc() { +>aFunc : Symbol(aFunc, Decl(unreachableDeclarations.ts, 68, 8)) + + console.log(Bar.A); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Bar.A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) +>Bar : Symbol(Bar, Decl(unreachableDeclarations.ts, 77, 29)) +>A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) + + console.log(blah.prop); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>blah.prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) +>blah : Symbol(blah, Decl(unreachableDeclarations.ts, 77, 6)) +>prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) + + console.log(new Foo()) +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Foo : Symbol(Foo, Decl(unreachableDeclarations.ts, 79, 15)) + + console.log(Baz.value); +>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>console : Symbol(console, Decl(lib.dom.d.ts, --, --)) +>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) +>Baz.value : Symbol(Baz.value, Decl(unreachableDeclarations.ts, 83, 29)) +>Baz : Symbol(Baz, Decl(unreachableDeclarations.ts, 81, 23)) +>value : Symbol(Baz.value, Decl(unreachableDeclarations.ts, 83, 29)) + } + + const blah = { prop: 1234 }; +>blah : Symbol(blah, Decl(unreachableDeclarations.ts, 77, 6)) +>prop : Symbol(prop, Decl(unreachableDeclarations.ts, 77, 15)) + + enum Bar { A } +>Bar : Symbol(Bar, Decl(unreachableDeclarations.ts, 77, 29)) +>A : Symbol(Bar.A, Decl(unreachableDeclarations.ts, 79, 11)) + + class Foo { x = 1234 } +>Foo : Symbol(Foo, Decl(unreachableDeclarations.ts, 79, 15)) +>x : Symbol(Foo.x, Decl(unreachableDeclarations.ts, 81, 12)) + + namespace Baz { export const value = 1234 } +>Baz : Symbol(Baz, Decl(unreachableDeclarations.ts, 81, 23)) +>value : Symbol(value, Decl(unreachableDeclarations.ts, 83, 29)) +} + diff --git a/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).types b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).types new file mode 100644 index 00000000000..9a54857c8d2 --- /dev/null +++ b/tests/baselines/reference/unreachableDeclarations(preserveconstenums=true).types @@ -0,0 +1,442 @@ +//// [tests/cases/compiler/unreachableDeclarations.ts] //// + +=== unreachableDeclarations.ts === +function func1() { +>func1 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumA.Value); +>console.log(EnumA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumA.Value : EnumA +> : ^^^^^ +>EnumA : typeof EnumA +> : ^^^^^^^^^^^^ +>Value : EnumA +> : ^^^^^ + + console.log(EnumB.Value); +>console.log(EnumB.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumB.Value : EnumB +> : ^^^^^ +>EnumB : typeof EnumB +> : ^^^^^^^^^^^^ +>Value : EnumB +> : ^^^^^ + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumA.Value); +>console.log(EnumA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumA.Value : EnumA +> : ^^^^^ +>EnumA : typeof EnumA +> : ^^^^^^^^^^^^ +>Value : EnumA +> : ^^^^^ + + console.log(EnumB.Value); +>console.log(EnumB.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumB.Value : EnumB +> : ^^^^^ +>EnumB : typeof EnumB +> : ^^^^^^^^^^^^ +>Value : EnumB +> : ^^^^^ + } + + enum EnumA { Value } +>EnumA : EnumA +> : ^^^^^ +>Value : EnumA.Value +> : ^^^^^^^^^^^ + + const enum EnumB { Value } +>EnumB : EnumB +> : ^^^^^ +>Value : EnumB.Value +> : ^^^^^^^^^^^ +} + +function func2() { +>func2 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumA.Value); +>console.log(EnumA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumA.Value : EnumA +> : ^^^^^ +>EnumA : typeof EnumA +> : ^^^^^^^^^^^^ +>Value : EnumA +> : ^^^^^ + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumA.Value); +>console.log(EnumA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumA.Value : EnumA +> : ^^^^^ +>EnumA : typeof EnumA +> : ^^^^^^^^^^^^ +>Value : EnumA +> : ^^^^^ + } + + enum EnumA { Value } +>EnumA : EnumA +> : ^^^^^ +>Value : EnumA.Value +> : ^^^^^^^^^^^ +} + +function func3() { +>func3 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumB.Value); +>console.log(EnumB.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumB.Value : EnumB +> : ^^^^^ +>EnumB : typeof EnumB +> : ^^^^^^^^^^^^ +>Value : EnumB +> : ^^^^^ + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(EnumB.Value); +>console.log(EnumB.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>EnumB.Value : EnumB +> : ^^^^^ +>EnumB : typeof EnumB +> : ^^^^^^^^^^^^ +>Value : EnumB +> : ^^^^^ + } + + const enum EnumB { Value } +>EnumB : EnumB +> : ^^^^^ +>Value : EnumB.Value +> : ^^^^^^^^^^^ +} + +function func4() { +>func4 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(ClassA.Value); +>console.log(ClassA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>ClassA.Value : number +> : ^^^^^^ +>ClassA : typeof ClassA +> : ^^^^^^^^^^^^^ +>Value : number +> : ^^^^^^ + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(ClassA.Value); +>console.log(ClassA.Value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>ClassA.Value : number +> : ^^^^^^ +>ClassA : typeof ClassA +> : ^^^^^^^^^^^^^ +>Value : number +> : ^^^^^^ + } + + class ClassA { static Value = 1234; } +>ClassA : ClassA +> : ^^^^^^ +>Value : number +> : ^^^^^^ +>1234 : 1234 +> : ^^^^ +} + +function func5() { +>func5 : () => void +> : ^^^^^^^^^^ + + aFunc(); +>aFunc() : void +> : ^^^^ +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(Bar.A); +>console.log(Bar.A) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>Bar.A : Bar +> : ^^^ +>Bar : typeof Bar +> : ^^^^^^^^^^ +>A : Bar +> : ^^^ + + console.log(blah.prop); +>console.log(blah.prop) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>blah.prop : number +> : ^^^^^^ +>blah : { prop: number; } +> : ^^^^^^^^^^^^^^^^^ +>prop : number +> : ^^^^^^ + + console.log(new Foo()) +>console.log(new Foo()) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>new Foo() : Foo +> : ^^^ +>Foo : typeof Foo +> : ^^^^^^^^^^ + + console.log(Baz.value); +>console.log(Baz.value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>Baz.value : 1234 +> : ^^^^ +>Baz : typeof Baz +> : ^^^^^^^^^^ +>value : 1234 +> : ^^^^ + + + return; + + function aFunc() { +>aFunc : () => void +> : ^^^^^^^^^^ + + console.log(Bar.A); +>console.log(Bar.A) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>Bar.A : Bar +> : ^^^ +>Bar : typeof Bar +> : ^^^^^^^^^^ +>A : Bar +> : ^^^ + + console.log(blah.prop); +>console.log(blah.prop) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>blah.prop : number +> : ^^^^^^ +>blah : { prop: number; } +> : ^^^^^^^^^^^^^^^^^ +>prop : number +> : ^^^^^^ + + console.log(new Foo()) +>console.log(new Foo()) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>new Foo() : Foo +> : ^^^ +>Foo : typeof Foo +> : ^^^^^^^^^^ + + console.log(Baz.value); +>console.log(Baz.value) : void +> : ^^^^ +>console.log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>console : Console +> : ^^^^^^^ +>log : (...data: any[]) => void +> : ^^^^ ^^ ^^^^^ +>Baz.value : 1234 +> : ^^^^ +>Baz : typeof Baz +> : ^^^^^^^^^^ +>value : 1234 +> : ^^^^ + } + + const blah = { prop: 1234 }; +>blah : { prop: number; } +> : ^^^^^^^^^^^^^^^^^ +>{ prop: 1234 } : { prop: number; } +> : ^^^^^^^^^^^^^^^^^ +>prop : number +> : ^^^^^^ +>1234 : 1234 +> : ^^^^ + + enum Bar { A } +>Bar : Bar +> : ^^^ +>A : Bar.A +> : ^^^^^ + + class Foo { x = 1234 } +>Foo : Foo +> : ^^^ +>x : number +> : ^^^^^^ +>1234 : 1234 +> : ^^^^ + + namespace Baz { export const value = 1234 } +>Baz : typeof Baz +> : ^^^^^^^^^^ +>value : 1234 +> : ^^^^ +>1234 : 1234 +> : ^^^^ +} + diff --git a/tests/baselines/reference/usingDeclarations.1(target=es2015).js b/tests/baselines/reference/usingDeclarations.1(target=es2015).js index a32dd5c254f..e0070924784 100644 --- a/tests/baselines/reference/usingDeclarations.1(target=es2015).js +++ b/tests/baselines/reference/usingDeclarations.1(target=es2015).js @@ -219,7 +219,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/usingDeclarations.1(target=es2017).js b/tests/baselines/reference/usingDeclarations.1(target=es2017).js index afc9c8a3d9d..6759e29ae45 100644 --- a/tests/baselines/reference/usingDeclarations.1(target=es2017).js +++ b/tests/baselines/reference/usingDeclarations.1(target=es2017).js @@ -210,7 +210,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/usingDeclarations.1(target=es5).js b/tests/baselines/reference/usingDeclarations.1(target=es5).js index 96d3e7e0311..d9a8c2e561e 100644 --- a/tests/baselines/reference/usingDeclarations.1(target=es5).js +++ b/tests/baselines/reference/usingDeclarations.1(target=es5).js @@ -179,8 +179,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); @@ -261,7 +261,7 @@ var __await = (this && this.__await) || function (v) { return this instanceof __ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } diff --git a/tests/baselines/reference/usingDeclarationsInForAwaitOf(target=es5).js b/tests/baselines/reference/usingDeclarationsInForAwaitOf(target=es5).js index 73e60e29886..31d3c5ab036 100644 --- a/tests/baselines/reference/usingDeclarationsInForAwaitOf(target=es5).js +++ b/tests/baselines/reference/usingDeclarationsInForAwaitOf(target=es5).js @@ -18,8 +18,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/baselines/reference/usingDeclarationsWithIteratorObject.errors.txt b/tests/baselines/reference/usingDeclarationsWithIteratorObject.errors.txt new file mode 100644 index 00000000000..3737d17d3f3 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithIteratorObject.errors.txt @@ -0,0 +1,31 @@ +usingDeclarationsWithIteratorObject.ts(20,17): error TS2850: The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'. + Property '[Symbol.dispose]' is missing in type 'Iterator' but required in type 'Disposable'. + + +==== usingDeclarationsWithIteratorObject.ts (1 errors) ==== + declare const i: Iterator; + declare const io: IteratorObject; + declare const g: Generator; + + class MyIterator extends Iterator { + next() { return { done: true, value: undefined }; } + } + + function f() { + // should pass + using it0 = io; + using it1 = g; + using it2 = Iterator.from(i) + using it3 = new MyIterator(); + using it4 = [].values(); + using it5 = new Map().entries(); + using it6 = new Set().keys(); + + // should fail + using it7 = i; + ~ +!!! error TS2850: The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'. +!!! error TS2850: Property '[Symbol.dispose]' is missing in type 'Iterator' but required in type 'Disposable'. +!!! related TS2728 lib.esnext.disposable.d.ts:--:--: '[Symbol.dispose]' is declared here. + } + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithIteratorObject.symbols b/tests/baselines/reference/usingDeclarationsWithIteratorObject.symbols new file mode 100644 index 00000000000..caf73d6c9ba --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithIteratorObject.symbols @@ -0,0 +1,72 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithIteratorObject.ts] //// + +=== usingDeclarationsWithIteratorObject.ts === +declare const i: Iterator; +>i : Symbol(i, Decl(usingDeclarationsWithIteratorObject.ts, 0, 13)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) + +declare const io: IteratorObject; +>io : Symbol(io, Decl(usingDeclarationsWithIteratorObject.ts, 1, 13)) +>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) + +declare const g: Generator; +>g : Symbol(g, Decl(usingDeclarationsWithIteratorObject.ts, 2, 13)) +>Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --)) + +class MyIterator extends Iterator { +>MyIterator : Symbol(MyIterator, Decl(usingDeclarationsWithIteratorObject.ts, 2, 41)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) + + next() { return { done: true, value: undefined }; } +>next : Symbol(MyIterator.next, Decl(usingDeclarationsWithIteratorObject.ts, 4, 43)) +>done : Symbol(done, Decl(usingDeclarationsWithIteratorObject.ts, 5, 21)) +>value : Symbol(value, Decl(usingDeclarationsWithIteratorObject.ts, 5, 33)) +>undefined : Symbol(undefined) +} + +function f() { +>f : Symbol(f, Decl(usingDeclarationsWithIteratorObject.ts, 6, 1)) + + // should pass + using it0 = io; +>it0 : Symbol(it0, Decl(usingDeclarationsWithIteratorObject.ts, 10, 9)) +>io : Symbol(io, Decl(usingDeclarationsWithIteratorObject.ts, 1, 13)) + + using it1 = g; +>it1 : Symbol(it1, Decl(usingDeclarationsWithIteratorObject.ts, 11, 9)) +>g : Symbol(g, Decl(usingDeclarationsWithIteratorObject.ts, 2, 13)) + + using it2 = Iterator.from(i) +>it2 : Symbol(it2, Decl(usingDeclarationsWithIteratorObject.ts, 12, 9)) +>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --)) +>from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --)) +>i : Symbol(i, Decl(usingDeclarationsWithIteratorObject.ts, 0, 13)) + + using it3 = new MyIterator(); +>it3 : Symbol(it3, Decl(usingDeclarationsWithIteratorObject.ts, 13, 9)) +>MyIterator : Symbol(MyIterator, Decl(usingDeclarationsWithIteratorObject.ts, 2, 41)) + + using it4 = [].values(); +>it4 : Symbol(it4, Decl(usingDeclarationsWithIteratorObject.ts, 14, 9)) +>[].values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) +>values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --)) + + using it5 = new Map().entries(); +>it5 : Symbol(it5, Decl(usingDeclarationsWithIteratorObject.ts, 15, 9)) +>new Map().entries : Symbol(Map.entries, Decl(lib.es2015.iterable.d.ts, --, --)) +>Map : Symbol(Map, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>entries : Symbol(Map.entries, Decl(lib.es2015.iterable.d.ts, --, --)) + + using it6 = new Set().keys(); +>it6 : Symbol(it6, Decl(usingDeclarationsWithIteratorObject.ts, 16, 9)) +>new Set().keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --)) +>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --)) +>keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --)) + + // should fail + using it7 = i; +>it7 : Symbol(it7, Decl(usingDeclarationsWithIteratorObject.ts, 19, 9)) +>i : Symbol(i, Decl(usingDeclarationsWithIteratorObject.ts, 0, 13)) +} + diff --git a/tests/baselines/reference/usingDeclarationsWithIteratorObject.types b/tests/baselines/reference/usingDeclarationsWithIteratorObject.types new file mode 100644 index 00000000000..ae0dcfe5b55 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithIteratorObject.types @@ -0,0 +1,123 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithIteratorObject.ts] //// + +=== usingDeclarationsWithIteratorObject.ts === +declare const i: Iterator; +>i : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +declare const io: IteratorObject; +>io : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +declare const g: Generator; +>g : Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +class MyIterator extends Iterator { +>MyIterator : MyIterator +> : ^^^^^^^^^^ +>Iterator : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + next() { return { done: true, value: undefined }; } +>next : () => { done: boolean; value: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ done: true, value: undefined } : { done: boolean; value: undefined; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>done : boolean +> : ^^^^^^^ +>true : true +> : ^^^^ +>value : undefined +> : ^^^^^^^^^ +>undefined : undefined +> : ^^^^^^^^^ +} + +function f() { +>f : () => void +> : ^^^^^^^^^^ + + // should pass + using it0 = io; +>it0 : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>io : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + using it1 = g; +>it1 : Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>g : Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + using it2 = Iterator.from(i) +>it2 : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from(i) : IteratorObject +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>Iterator.from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ +>Iterator : IteratorConstructor +> : ^^^^^^^^^^^^^^^^^^^ +>from : (value: Iterator | Iterable) => IteratorObject +> : ^ ^^ ^^ ^^^^^ +>i : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + using it3 = new MyIterator(); +>it3 : MyIterator +> : ^^^^^^^^^^ +>new MyIterator() : MyIterator +> : ^^^^^^^^^^ +>MyIterator : typeof MyIterator +> : ^^^^^^^^^^^^^^^^^ + + using it4 = [].values(); +>it4 : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^ +>[].values() : ArrayIterator +> : ^^^^^^^^^^^^^^^^^^ +>[].values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^ +>[] : undefined[] +> : ^^^^^^^^^^^ +>values : () => ArrayIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^ + + using it5 = new Map().entries(); +>it5 : MapIterator<[string, string]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Map().entries() : MapIterator<[string, string]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Map().entries : () => MapIterator<[string, string]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Map() : Map +> : ^^^^^^^^^^^^^^^^^^^ +>Map : MapConstructor +> : ^^^^^^^^^^^^^^ +>entries : () => MapIterator<[string, string]> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + using it6 = new Set().keys(); +>it6 : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>new Set().keys() : SetIterator +> : ^^^^^^^^^^^^^^^^^^^ +>new Set().keys : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ +>new Set() : Set +> : ^^^^^^^^^^^ +>Set : SetConstructor +> : ^^^^^^^^^^^^^^ +>keys : () => SetIterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^ + + // should fail + using it7 = i; +>it7 : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>i : Iterator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +} + diff --git a/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.errors.txt b/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.errors.txt new file mode 100644 index 00000000000..6cbff0d5a3d --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.errors.txt @@ -0,0 +1,51 @@ +usingDeclarationsWithObjectLiterals1.ts(15,62): error TS2353: Object literal may only specify known properties, and 'extra' does not exist in type 'MyDisposable'. +usingDeclarationsWithObjectLiterals1.ts(36,7): error TS2353: Object literal may only specify known properties, and 'extra' does not exist in type 'MyAsyncDisposable'. + + +==== usingDeclarationsWithObjectLiterals1.ts (2 errors) ==== + interface MyDisposable { + value: number; + [Symbol.dispose](): void; + } + + { + using _ = { [Symbol.dispose]() {} }; + } + + { + using _ = { [Symbol.dispose]() {}, value: 1 }; + } + + { + using _: MyDisposable = { [Symbol.dispose]() {}, value: 1, extra: "foo" }; + ~~~~~ +!!! error TS2353: Object literal may only specify known properties, and 'extra' does not exist in type 'MyDisposable'. + } + + interface MyAsyncDisposable { + value: number; + [Symbol.asyncDispose](): Promise; + } + + async function f() { + { + await using _ = { async [Symbol.asyncDispose]() {} }; + } + + { + await using _ = { async [Symbol.asyncDispose]() {}, value: 1 }; + } + + { + await using _: MyAsyncDisposable = { + async [Symbol.asyncDispose]() {}, + value: 1, + extra: "foo", + ~~~~~ +!!! error TS2353: Object literal may only specify known properties, and 'extra' does not exist in type 'MyAsyncDisposable'. + }; + } + } + + export {}; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.symbols b/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.symbols new file mode 100644 index 00000000000..9b4fa4afbda --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.symbols @@ -0,0 +1,105 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals1.ts] //// + +=== usingDeclarationsWithObjectLiterals1.ts === +interface MyDisposable { +>MyDisposable : Symbol(MyDisposable, Decl(usingDeclarationsWithObjectLiterals1.ts, 0, 0)) + + value: number; +>value : Symbol(MyDisposable.value, Decl(usingDeclarationsWithObjectLiterals1.ts, 0, 24)) + + [Symbol.dispose](): void; +>[Symbol.dispose] : Symbol(MyDisposable[Symbol.dispose], Decl(usingDeclarationsWithObjectLiterals1.ts, 1, 16)) +>Symbol.dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +} + +{ + using _ = { [Symbol.dispose]() {} }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals1.ts, 6, 7)) +>[Symbol.dispose] : Symbol([Symbol.dispose], Decl(usingDeclarationsWithObjectLiterals1.ts, 6, 13)) +>Symbol.dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +} + +{ + using _ = { [Symbol.dispose]() {}, value: 1 }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals1.ts, 10, 7)) +>[Symbol.dispose] : Symbol([Symbol.dispose], Decl(usingDeclarationsWithObjectLiterals1.ts, 10, 13)) +>Symbol.dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>value : Symbol(value, Decl(usingDeclarationsWithObjectLiterals1.ts, 10, 36)) +} + +{ + using _: MyDisposable = { [Symbol.dispose]() {}, value: 1, extra: "foo" }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals1.ts, 14, 7)) +>MyDisposable : Symbol(MyDisposable, Decl(usingDeclarationsWithObjectLiterals1.ts, 0, 0)) +>[Symbol.dispose] : Symbol([Symbol.dispose], Decl(usingDeclarationsWithObjectLiterals1.ts, 14, 27)) +>Symbol.dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>value : Symbol(value, Decl(usingDeclarationsWithObjectLiterals1.ts, 14, 50)) +>extra : Symbol(extra, Decl(usingDeclarationsWithObjectLiterals1.ts, 14, 60)) +} + +interface MyAsyncDisposable { +>MyAsyncDisposable : Symbol(MyAsyncDisposable, Decl(usingDeclarationsWithObjectLiterals1.ts, 15, 1)) + + value: number; +>value : Symbol(MyAsyncDisposable.value, Decl(usingDeclarationsWithObjectLiterals1.ts, 17, 29)) + + [Symbol.asyncDispose](): Promise; +>[Symbol.asyncDispose] : Symbol(MyAsyncDisposable[Symbol.asyncDispose], Decl(usingDeclarationsWithObjectLiterals1.ts, 18, 16)) +>Symbol.asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --)) +} + +async function f() { +>f : Symbol(f, Decl(usingDeclarationsWithObjectLiterals1.ts, 20, 1)) + { + await using _ = { async [Symbol.asyncDispose]() {} }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals1.ts, 24, 15)) +>[Symbol.asyncDispose] : Symbol([Symbol.asyncDispose], Decl(usingDeclarationsWithObjectLiterals1.ts, 24, 21)) +>Symbol.asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) + } + + { + await using _ = { async [Symbol.asyncDispose]() {}, value: 1 }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals1.ts, 28, 15)) +>[Symbol.asyncDispose] : Symbol([Symbol.asyncDispose], Decl(usingDeclarationsWithObjectLiterals1.ts, 28, 21)) +>Symbol.asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>value : Symbol(value, Decl(usingDeclarationsWithObjectLiterals1.ts, 28, 55)) + } + + { + await using _: MyAsyncDisposable = { +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals1.ts, 32, 15)) +>MyAsyncDisposable : Symbol(MyAsyncDisposable, Decl(usingDeclarationsWithObjectLiterals1.ts, 15, 1)) + + async [Symbol.asyncDispose]() {}, +>[Symbol.asyncDispose] : Symbol([Symbol.asyncDispose], Decl(usingDeclarationsWithObjectLiterals1.ts, 32, 40)) +>Symbol.asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) + + value: 1, +>value : Symbol(value, Decl(usingDeclarationsWithObjectLiterals1.ts, 33, 39)) + + extra: "foo", +>extra : Symbol(extra, Decl(usingDeclarationsWithObjectLiterals1.ts, 34, 15)) + + }; + } +} + +export {}; + diff --git a/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.types b/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.types new file mode 100644 index 00000000000..84f6f09b8de --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithObjectLiterals1.types @@ -0,0 +1,169 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals1.ts] //// + +=== usingDeclarationsWithObjectLiterals1.ts === +interface MyDisposable { + value: number; +>value : number +> : ^^^^^^ + + [Symbol.dispose](): void; +>[Symbol.dispose] : () => void +> : ^^^^^^ +>Symbol.dispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>dispose : unique symbol +> : ^^^^^^^^^^^^^ +} + +{ + using _ = { [Symbol.dispose]() {} }; +>_ : { [Symbol.dispose](): void; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ [Symbol.dispose]() {} } : { [Symbol.dispose](): void; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.dispose] : () => void +> : ^^^^^^^^^^ +>Symbol.dispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>dispose : unique symbol +> : ^^^^^^^^^^^^^ +} + +{ + using _ = { [Symbol.dispose]() {}, value: 1 }; +>_ : { [Symbol.dispose](): void; value: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ [Symbol.dispose]() {}, value: 1 } : { [Symbol.dispose](): void; value: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.dispose] : () => void +> : ^^^^^^^^^^ +>Symbol.dispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>dispose : unique symbol +> : ^^^^^^^^^^^^^ +>value : number +> : ^^^^^^ +>1 : 1 +> : ^ +} + +{ + using _: MyDisposable = { [Symbol.dispose]() {}, value: 1, extra: "foo" }; +>_ : MyDisposable +> : ^^^^^^^^^^^^ +>{ [Symbol.dispose]() {}, value: 1, extra: "foo" } : { [Symbol.dispose](): void; value: number; extra: string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.dispose] : () => void +> : ^^^^^^^^^^ +>Symbol.dispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>dispose : unique symbol +> : ^^^^^^^^^^^^^ +>value : number +> : ^^^^^^ +>1 : 1 +> : ^ +>extra : string +> : ^^^^^^ +>"foo" : "foo" +> : ^^^^^ +} + +interface MyAsyncDisposable { + value: number; +>value : number +> : ^^^^^^ + + [Symbol.asyncDispose](): Promise; +>[Symbol.asyncDispose] : () => Promise +> : ^^^^^^ +>Symbol.asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +} + +async function f() { +>f : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ + { + await using _ = { async [Symbol.asyncDispose]() {} }; +>_ : { [Symbol.asyncDispose](): Promise; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async [Symbol.asyncDispose]() {} } : { [Symbol.asyncDispose](): Promise; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.asyncDispose] : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ +>Symbol.asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ + } + + { + await using _ = { async [Symbol.asyncDispose]() {}, value: 1 }; +>_ : { [Symbol.asyncDispose](): Promise; value: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async [Symbol.asyncDispose]() {}, value: 1 } : { [Symbol.asyncDispose](): Promise; value: number; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.asyncDispose] : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ +>Symbol.asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>value : number +> : ^^^^^^ +>1 : 1 +> : ^ + } + + { + await using _: MyAsyncDisposable = { +>_ : MyAsyncDisposable +> : ^^^^^^^^^^^^^^^^^ +>{ async [Symbol.asyncDispose]() {}, value: 1, extra: "foo", } : { [Symbol.asyncDispose](): Promise; value: number; extra: string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + async [Symbol.asyncDispose]() {}, +>[Symbol.asyncDispose] : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ +>Symbol.asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ + + value: 1, +>value : number +> : ^^^^^^ +>1 : 1 +> : ^ + + extra: "foo", +>extra : string +> : ^^^^^^ +>"foo" : "foo" +> : ^^^^^ + + }; + } +} + +export {}; + diff --git a/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=false).symbols b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=false).symbols new file mode 100644 index 00000000000..94cce9ea0ae --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=false).symbols @@ -0,0 +1,28 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals2.ts] //// + +=== usingDeclarationsWithObjectLiterals2.ts === +{ + using _ = { [Symbol.dispose]() {}, value: null }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals2.ts, 1, 7)) +>[Symbol.dispose] : Symbol([Symbol.dispose], Decl(usingDeclarationsWithObjectLiterals2.ts, 1, 13)) +>Symbol.dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>value : Symbol(value, Decl(usingDeclarationsWithObjectLiterals2.ts, 1, 36)) +} + +async function f() { +>f : Symbol(f, Decl(usingDeclarationsWithObjectLiterals2.ts, 2, 1)) + { + await using _ = { async [Symbol.asyncDispose]() {}, value: null }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals2.ts, 6, 15)) +>[Symbol.asyncDispose] : Symbol([Symbol.asyncDispose], Decl(usingDeclarationsWithObjectLiterals2.ts, 6, 21)) +>Symbol.asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>value : Symbol(value, Decl(usingDeclarationsWithObjectLiterals2.ts, 6, 55)) + } +} + +export {}; + diff --git a/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=false).types b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=false).types new file mode 100644 index 00000000000..b643e48b884 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=false).types @@ -0,0 +1,45 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals2.ts] //// + +=== usingDeclarationsWithObjectLiterals2.ts === +{ + using _ = { [Symbol.dispose]() {}, value: null }; +>_ : { [Symbol.dispose](): void; value: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ [Symbol.dispose]() {}, value: null } : { [Symbol.dispose](): void; value: null; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.dispose] : () => void +> : ^^^^^^^^^^ +>Symbol.dispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>dispose : unique symbol +> : ^^^^^^^^^^^^^ +>value : null +> : ^^^^ +} + +async function f() { +>f : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ + { + await using _ = { async [Symbol.asyncDispose]() {}, value: null }; +>_ : { [Symbol.asyncDispose](): Promise; value: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async [Symbol.asyncDispose]() {}, value: null } : { [Symbol.asyncDispose](): Promise; value: null; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.asyncDispose] : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ +>Symbol.asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>value : null +> : ^^^^ + } +} + +export {}; + diff --git a/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).errors.txt b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).errors.txt new file mode 100644 index 00000000000..4a5ac8af46b --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).errors.txt @@ -0,0 +1,21 @@ +usingDeclarationsWithObjectLiterals2.ts(2,38): error TS7018: Object literal's property 'value' implicitly has an 'any' type. +usingDeclarationsWithObjectLiterals2.ts(7,57): error TS7018: Object literal's property 'value' implicitly has an 'any' type. + + +==== usingDeclarationsWithObjectLiterals2.ts (2 errors) ==== + { + using _ = { [Symbol.dispose]() {}, value: null }; + ~~~~~~~~~~~ +!!! error TS7018: Object literal's property 'value' implicitly has an 'any' type. + } + + async function f() { + { + await using _ = { async [Symbol.asyncDispose]() {}, value: null }; + ~~~~~~~~~~~ +!!! error TS7018: Object literal's property 'value' implicitly has an 'any' type. + } + } + + export {}; + \ No newline at end of file diff --git a/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).symbols b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).symbols new file mode 100644 index 00000000000..94cce9ea0ae --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).symbols @@ -0,0 +1,28 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals2.ts] //// + +=== usingDeclarationsWithObjectLiterals2.ts === +{ + using _ = { [Symbol.dispose]() {}, value: null }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals2.ts, 1, 7)) +>[Symbol.dispose] : Symbol([Symbol.dispose], Decl(usingDeclarationsWithObjectLiterals2.ts, 1, 13)) +>Symbol.dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>dispose : Symbol(SymbolConstructor.dispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>value : Symbol(value, Decl(usingDeclarationsWithObjectLiterals2.ts, 1, 36)) +} + +async function f() { +>f : Symbol(f, Decl(usingDeclarationsWithObjectLiterals2.ts, 2, 1)) + { + await using _ = { async [Symbol.asyncDispose]() {}, value: null }; +>_ : Symbol(_, Decl(usingDeclarationsWithObjectLiterals2.ts, 6, 15)) +>[Symbol.asyncDispose] : Symbol([Symbol.asyncDispose], Decl(usingDeclarationsWithObjectLiterals2.ts, 6, 21)) +>Symbol.asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --)) +>asyncDispose : Symbol(SymbolConstructor.asyncDispose, Decl(lib.esnext.disposable.d.ts, --, --)) +>value : Symbol(value, Decl(usingDeclarationsWithObjectLiterals2.ts, 6, 55)) + } +} + +export {}; + diff --git a/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).types b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).types new file mode 100644 index 00000000000..b643e48b884 --- /dev/null +++ b/tests/baselines/reference/usingDeclarationsWithObjectLiterals2(noimplicitany=true).types @@ -0,0 +1,45 @@ +//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals2.ts] //// + +=== usingDeclarationsWithObjectLiterals2.ts === +{ + using _ = { [Symbol.dispose]() {}, value: null }; +>_ : { [Symbol.dispose](): void; value: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ [Symbol.dispose]() {}, value: null } : { [Symbol.dispose](): void; value: null; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.dispose] : () => void +> : ^^^^^^^^^^ +>Symbol.dispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>dispose : unique symbol +> : ^^^^^^^^^^^^^ +>value : null +> : ^^^^ +} + +async function f() { +>f : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ + { + await using _ = { async [Symbol.asyncDispose]() {}, value: null }; +>_ : { [Symbol.asyncDispose](): Promise; value: any; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>{ async [Symbol.asyncDispose]() {}, value: null } : { [Symbol.asyncDispose](): Promise; value: null; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>[Symbol.asyncDispose] : () => Promise +> : ^^^^^^^^^^^^^^^^^^^ +>Symbol.asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>Symbol : SymbolConstructor +> : ^^^^^^^^^^^^^^^^^ +>asyncDispose : unique symbol +> : ^^^^^^^^^^^^^ +>value : null +> : ^^^^ + } +} + +export {}; + diff --git a/tests/baselines/reference/verbatimModuleSyntaxAmbientConstEnum.errors.txt b/tests/baselines/reference/verbatimModuleSyntaxAmbientConstEnum.errors.txt new file mode 100644 index 00000000000..e405f0bed9c --- /dev/null +++ b/tests/baselines/reference/verbatimModuleSyntaxAmbientConstEnum.errors.txt @@ -0,0 +1,27 @@ +/a.ts(1,10): error TS2748: Cannot access ambient const enums when 'verbatimModuleSyntax' is enabled. +/a.ts(4,1): error TS2748: Cannot access ambient const enums when 'verbatimModuleSyntax' is enabled. +/b.ts(1,10): error TS2748: Cannot access ambient const enums when 'verbatimModuleSyntax' is enabled. + + +==== /node_modules/pkg/index.d.ts (0 errors) ==== + export declare const enum E { A, B, C } + declare global { + const enum F { A, B, C } + } + +==== /a.ts (2 errors) ==== + import { E } from "pkg"; // Error + ~ +!!! error TS2748: Cannot access ambient const enums when 'verbatimModuleSyntax' is enabled. + import type { E as _E } from "pkg"; // Ok + console.log(E.A); // Ok + F.A; // Error + ~ +!!! error TS2748: Cannot access ambient const enums when 'verbatimModuleSyntax' is enabled. + +==== /b.ts (1 errors) ==== + export { E } from "pkg"; // Error + ~ +!!! error TS2748: Cannot access ambient const enums when 'verbatimModuleSyntax' is enabled. + export type { E as _E } from "pkg"; // Ok + \ No newline at end of file diff --git a/tests/baselines/reference/yieldExpressionInnerCommentEmit.types b/tests/baselines/reference/yieldExpressionInnerCommentEmit.types index bba612bd5c7..58f588f237f 100644 --- a/tests/baselines/reference/yieldExpressionInnerCommentEmit.types +++ b/tests/baselines/reference/yieldExpressionInnerCommentEmit.types @@ -2,8 +2,8 @@ === yieldExpressionInnerCommentEmit.ts === function * foo2() { ->foo2 : () => Generator -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>foo2 : () => Generator +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /*comment1*/ yield 1; >yield 1 : any diff --git a/tests/baselines/reference/yieldInForInInDownlevelGenerator.js b/tests/baselines/reference/yieldInForInInDownlevelGenerator.js index 205d535ba85..db5011137f0 100644 --- a/tests/baselines/reference/yieldInForInInDownlevelGenerator.js +++ b/tests/baselines/reference/yieldInForInInDownlevelGenerator.js @@ -12,8 +12,8 @@ function* gen() { //// [yieldInForInInDownlevelGenerator.js] var __generator = (this && this.__generator) || function (thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); diff --git a/tests/cases/compiler/assignmentToInstantiationExpression.ts b/tests/cases/compiler/assignmentToInstantiationExpression.ts new file mode 100644 index 00000000000..1ebf1f4fbce --- /dev/null +++ b/tests/cases/compiler/assignmentToInstantiationExpression.ts @@ -0,0 +1,12 @@ +// @strict: true + +let obj: { fn?: () => T } = {}; +obj.fn = () => 1234; + + +let getValue: () => T; +getValue = () => 1234; + + +let getValue2!: () => T; +getValue2 = () => 1234; diff --git a/tests/cases/compiler/builtinIterator.ts b/tests/cases/compiler/builtinIterator.ts index 3b20d9fe53d..e80bda3e44a 100644 --- a/tests/cases/compiler/builtinIterator.ts +++ b/tests/cases/compiler/builtinIterator.ts @@ -72,5 +72,5 @@ class BadIterator3 extends Iterator { declare const g1: Generator; const iter1 = Iterator.from(g1); -declare const iter2: BuiltinIterator; +declare const iter2: IteratorObject; const iter3 = iter2.flatMap(() => g1); \ No newline at end of file diff --git a/tests/cases/compiler/capturedLetConstInLoop14.ts b/tests/cases/compiler/capturedLetConstInLoop14.ts new file mode 100644 index 00000000000..9c4d94def6c --- /dev/null +++ b/tests/cases/compiler/capturedLetConstInLoop14.ts @@ -0,0 +1,17 @@ +// @strict: true +// @target: es5 +// @noTypesAndSymbols: true + +function use(v: number) {} + +function foo(x: number) { + var v = 1; + do { + let x = v; + var v; + var v = 2; + () => x + v; + } while (false); + + use(v); +} diff --git a/tests/cases/compiler/constructorOverloads9.ts b/tests/cases/compiler/constructorOverloads9.ts new file mode 100644 index 00000000000..3ac84ad8964 --- /dev/null +++ b/tests/cases/compiler/constructorOverloads9.ts @@ -0,0 +1,8 @@ +// @target: esnext +export class C { + a; + constructor(); + constructor(x = '') { + this.a = x; + } +} diff --git a/tests/cases/compiler/contextualOuterTypeParameters.ts b/tests/cases/compiler/contextualOuterTypeParameters.ts new file mode 100644 index 00000000000..3ed24f2a3c7 --- /dev/null +++ b/tests/cases/compiler/contextualOuterTypeParameters.ts @@ -0,0 +1,28 @@ +// @strict: true +// @noemit: true + +// https://github.com/microsoft/TypeScript/issues/59450 + +declare function f(fun: (t: T) => void): void + +f(t => { + type isArray = (typeof t)[] extends string[] ? true : false; + type IsObject = { x: typeof t } extends { x: string } ? true : false; +}); + +const fn1: (x: T) => void = t => { + type isArray = (typeof t)[] extends string[] ? true : false; + type IsObject = { x: typeof t } extends { x: string } ? true : false; +}; + +const fn2: (x: T) => void = function test(t) { + type isArray = (typeof t)[] extends string[] ? true : false; + type IsObject = { x: typeof t } extends { x: string } ? true : false; +}; + +const obj: { f: (x: T) => void } = { + f(t) { + type isArray = (typeof t)[] extends string[] ? true : false; + type IsObject = { x: typeof t } extends { x: string } ? true : false; + } +}; diff --git a/tests/cases/compiler/contextualPropertyOfGenericFilteringMappedType.ts b/tests/cases/compiler/contextualPropertyOfGenericFilteringMappedType.ts new file mode 100644 index 00000000000..824a6d55434 --- /dev/null +++ b/tests/cases/compiler/contextualPropertyOfGenericFilteringMappedType.ts @@ -0,0 +1,33 @@ +// @strict: true +// @noEmit: true + +declare function f1( + data: T, + handlers: { [P in keyof T as P]: (value: T[P], prop: P) => void }, +): void; + +f1( + { + foo: 0, + bar: "", + }, + { + foo: (value, key) => {}, + bar: (value, key) => {}, + }, +); + +declare function f2( + data: T, + handlers: { [P in keyof T as T[P] extends string ? P : never]: (value: T[P], prop: P) => void }, +): void; + +f2( + { + foo: 0, + bar: "", + }, + { + bar: (value, key) => {}, + }, +); diff --git a/tests/cases/compiler/controlFlowUnionContainingTypeParameter1.ts b/tests/cases/compiler/controlFlowUnionContainingTypeParameter1.ts new file mode 100644 index 00000000000..3880157f136 --- /dev/null +++ b/tests/cases/compiler/controlFlowUnionContainingTypeParameter1.ts @@ -0,0 +1,35 @@ +// @strict: true +// @noEmit: true + +// https://github.com/microsoft/TypeScript/issues/44814 + +class TestClass { + typeguard(val: unknown): val is T { + return true; + } + f(v: number): void {} + h(v: T): void {} + func(val: T | number): void { + if (this.typeguard(val)) { + this.h(val); + return; + } + this.f(val); + } +} + +class TestClass2 { + typeguard(val: unknown): val is T { + return true; + } + f(v: number): void {} + h(v: T): void {} + func(val: T | number): void { + if (this.typeguard(val)) { + this.h(val); + return; + } + val; + this.f(val); + } +} diff --git a/tests/cases/compiler/crossFileOverloadModifierConsistency.ts b/tests/cases/compiler/crossFileOverloadModifierConsistency.ts new file mode 100644 index 00000000000..83ef887c86d --- /dev/null +++ b/tests/cases/compiler/crossFileOverloadModifierConsistency.ts @@ -0,0 +1,23 @@ +// @strict: true +// @module: preserve +// @noEmit: true +// @noTypesAndSymbols: true + +// @Filename: node_modules/library/index.d.ts +declare function get(): string; + +export { get }; + +// @Filename: node_modules/non-ambient/index.ts +export function real(arg?: string): any {} + +// @Filename: augmentations.d.ts +export {}; + +declare module "library" { + export function get(): string | null; +} + +declare module "non-ambient" { + export function real(arg: string): string; +} diff --git a/tests/cases/compiler/declarationEmitEnumReferenceViaImportEquals.ts b/tests/cases/compiler/declarationEmitEnumReferenceViaImportEquals.ts new file mode 100644 index 00000000000..1d368e4bcd1 --- /dev/null +++ b/tests/cases/compiler/declarationEmitEnumReferenceViaImportEquals.ts @@ -0,0 +1,31 @@ +// @strict: true +// @declaration: true + +// @filename: translation.ts +export interface Translation { + translationKey: Translation.TranslationKeyEnum; +} + +export namespace Translation { + export type TranslationKeyEnum = 'translation1' | 'translation2'; + export const TranslationKeyEnum = { + Translation1: 'translation1' as TranslationKeyEnum, + Translation2: 'translation2' as TranslationKeyEnum, + } +} + + +// @filename: test.ts +import { Translation } from "./translation"; +import TranslationKeyEnum = Translation.TranslationKeyEnum; + +export class Test { + TranslationKeyEnum = TranslationKeyEnum; + print() { + console.log(TranslationKeyEnum.Translation1); + } +} + +// @filename: index.ts +import { Test } from "./test"; +new Test().print(); \ No newline at end of file diff --git a/tests/cases/compiler/discriminateWithOptionalProperty2.ts b/tests/cases/compiler/discriminateWithOptionalProperty2.ts index a8b36cb4974..3cf706f3b95 100644 --- a/tests/cases/compiler/discriminateWithOptionalProperty2.ts +++ b/tests/cases/compiler/discriminateWithOptionalProperty2.ts @@ -36,9 +36,9 @@ function mapAsyncIterable( async next() { return mapResult(await iterator.next()); }, - async return(): Promise> { + async return(value: R): Promise> { return typeof iterator.return === "function" - ? mapResult(await iterator.return()) + ? mapResult(await iterator.return(value)) : { value: undefined as any, done: true }; }, async throw(error?: unknown) { @@ -50,6 +50,9 @@ function mapAsyncIterable( [Symbol.asyncIterator]() { return this; }, + async [Symbol.asyncDispose]() { + await this.return(undefined!); + } }; } diff --git a/tests/cases/compiler/genericCallInferenceConditionalType2.ts b/tests/cases/compiler/genericCallInferenceConditionalType2.ts new file mode 100644 index 00000000000..38afcf985ef --- /dev/null +++ b/tests/cases/compiler/genericCallInferenceConditionalType2.ts @@ -0,0 +1,29 @@ +// @strict: true +// @noEmit: true + +// https://github.com/microsoft/TypeScript/issues/59490 + +type ComponentProps = T extends (props: infer P) => unknown ? P : never; + +declare function wrapComponent

( + component: (props: P) => unknown, +): (props: P) => unknown; + +const WrappedComponent = wrapComponent( + (props: { + as?: T | undefined; + className?: string; + }) => { + return null; + }, +); + +type RetrievedProps = ComponentProps; + +declare const f: (f: (x: T) => unknown) => (x: T) => unknown +declare const g: (x: { foo: T }) => unknown + +const h = f(g) + +type FirstParameter = T extends (x: infer P) => unknown ? P : unknown +type X = FirstParameter['foo'] diff --git a/tests/cases/compiler/importAliasInModuleAugmentation.ts b/tests/cases/compiler/importAliasInModuleAugmentation.ts new file mode 100644 index 00000000000..99ec85396ea --- /dev/null +++ b/tests/cases/compiler/importAliasInModuleAugmentation.ts @@ -0,0 +1,17 @@ +export { } + +namespace A { + export const y = 34; + export interface y { s: string } +} + +declare global { + export import x = A.y; + + // Should still error + import f = require("fs"); +} + +const m: number = x; +let s: x = { s: "" }; +void s.s; \ No newline at end of file diff --git a/tests/cases/compiler/iterableTReturnTNext.ts b/tests/cases/compiler/iterableTReturnTNext.ts index f51ecdbf019..f17276e4c67 100644 --- a/tests/cases/compiler/iterableTReturnTNext.ts +++ b/tests/cases/compiler/iterableTReturnTNext.ts @@ -38,9 +38,9 @@ class MyMap implements Map { get(key: string): number | undefined { return undefined; } has(key: string): boolean { return false; } set(key: string, value: number): this { return this; } - entries(): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } - keys(): BuiltinIterator { throw new Error("Method not implemented."); } - [Symbol.iterator](): BuiltinIterator<[string, number], BuiltinIteratorReturn> { throw new Error("Method not implemented."); } + entries(): MapIterator<[string, number]> { throw new Error("Method not implemented."); } + keys(): MapIterator { throw new Error("Method not implemented."); } + [Symbol.iterator](): MapIterator<[string, number]> { throw new Error("Method not implemented."); } // error when strictBuiltinIteratorReturn is true because values() has implicit `void` return, which isn't assignable to `undefined` * values() { diff --git a/tests/cases/compiler/jsxRuntimePragma.ts b/tests/cases/compiler/jsxRuntimePragma.ts new file mode 100644 index 00000000000..c3d1829b386 --- /dev/null +++ b/tests/cases/compiler/jsxRuntimePragma.ts @@ -0,0 +1,34 @@ +// @jsx: react,react-jsx,react-jsxdev +// @filename: one.tsx +/// +/* @jsxRuntime classic */ +import * as React from "react"; +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +// @filename: two.tsx +/// +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +// @filename: three.tsx +/// +/* @jsxRuntime classic */ +/* @jsxRuntime automatic */ +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +// @filename: four.tsx +/// +/* @jsxRuntime automatic */ +/* @jsxRuntime classic */ +import * as React from "react"; +export const HelloWorld = () =>

Hello world

; +export const frag = <>
; +export const selfClosing = ; +// @filename: index.ts +export * as one from "./one.js"; +export * as two from "./two.js"; +export * as three from "./three.js"; +export * as four from "./four.js"; \ No newline at end of file diff --git a/tests/cases/compiler/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts b/tests/cases/compiler/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts new file mode 100644 index 00000000000..d20c1c1160f --- /dev/null +++ b/tests/cases/compiler/narrowSwitchOptionalChainContainmentEvolvingArrayNoCrash1.ts @@ -0,0 +1,18 @@ +// @strict: true +// @noEmit: true + +let foo = []; + +switch (foo?.length) { + case 1: + foo[0]; +} + +let bar = []; + +switch (bar?.length) { + case 1: { + bar.push("baz"); + const arr: string[] = bar; + } +} diff --git a/tests/cases/compiler/narrowingPlainJsNoCrash1.ts b/tests/cases/compiler/narrowingPlainJsNoCrash1.ts new file mode 100644 index 00000000000..260d04188ed --- /dev/null +++ b/tests/cases/compiler/narrowingPlainJsNoCrash1.ts @@ -0,0 +1,13 @@ +// @allowJs: true +// @checkJs: false +// @outDir: true + +// @filename: index.js + +// https://github.com/microsoft/TypeScript/issues/59594 + +var a$b = {}; +var c, d; +d = a$b; +while (d !== a$b); +while ((c = a$b != a$b)) c.e; diff --git a/tests/cases/compiler/overshifts.ts b/tests/cases/compiler/overshifts.ts new file mode 100644 index 00000000000..fdb22abb1f9 --- /dev/null +++ b/tests/cases/compiler/overshifts.ts @@ -0,0 +1,89 @@ +// @captureSuggestions: true + +1 << 1; // ok +1 << 32; // overshift +1 << 123; +1 << 1024; +1 << -1; // OK-ish +1 << -32; // backwards overshift +1 << -123; +1 << -1024; + +0xFF_FF_FF_FF >> 1; // ok +0xFF_FF_FF_FF >> 32; // overshift +0xFF_FF_FF_FF >> 123; +0xFF_FF_FF_FF >> 1024; +0xFF_FF_FF_FF >> -1; // OK-ish +0xFF_FF_FF_FF >> -32; // backwards overshift +0xFF_FF_FF_FF >> -123; +0xFF_FF_FF_FF >> -1024; + +0xFF_FF_FF_FF >>> 1; // ok +0xFF_FF_FF_FF >>> 32; // overshift +0xFF_FF_FF_FF >>> 123; +0xFF_FF_FF_FF >>> 1024; +0xFF_FF_FF_FF >>> -1; // OK-ish +0xFF_FF_FF_FF >>> -32; // backwards overshift +0xFF_FF_FF_FF >>> -123; +0xFF_FF_FF_FF >>> -1024; + +let x = 1; +x <<= 1; // ok +x <<= 32; // overshift +x <<= 123; +x <<= 1024; +x <<= -1; // OK-ish +x <<= -32; // backwards overshift +x <<= -123; +x <<= -1024; + +x >>= 1; // ok +x >>= 32; // overshift +x >>= 123; +x >>= 1024; +x >>= -1; // OK-ish +x >>= -32; // backwards overshift +x >>= -123; +x >>= -1024; + +x >>>= 1; // ok +x >>>= 32; // overshift +x >>>= 123; +x >>>= 1024; +x >>>= -1; // OK-ish +x >>>= -32; // backwards overshift +x >>>= -123; +x >>>= -1024; + +enum One { + A = 1 << 1, // ok + B = 1 << 32, // overshift + C = 1 << 123, + D = 1 << 1024, + E = 1 << -1, // OK-ish + F = 1 << -32, // backwards overshift + G = 1 << -123, + H = 1 << -1024, +} + +enum Two { + A = 0xFF_FF_FF_FF >> 1, // ok + B = 0xFF_FF_FF_FF >> 32, // overshift + C = 0xFF_FF_FF_FF >> 123, + D = 0xFF_FF_FF_FF >> 1024, + E = 0xFF_FF_FF_FF >> -1, // OK-ish + F = 0xFF_FF_FF_FF >> -32, // backwards overshift + G = 0xFF_FF_FF_FF >> -123, + H = 0xFF_FF_FF_FF >> -1024, +} + +enum Three { + A = 0xFF_FF_FF_FF >>> 1, // ok + B = 0xFF_FF_FF_FF >>> 32, // overshift + C = 0xFF_FF_FF_FF >>> 123, + D = 0xFF_FF_FF_FF >>> 1024, + E = 0xFF_FF_FF_FF >>> -1, // OK-ish + F = 0xFF_FF_FF_FF >>> -32, // backwards overshift + G = 0xFF_FF_FF_FF >>> -123, + H = 0xFF_FF_FF_FF >>> -1024, +} diff --git a/tests/cases/compiler/parameterPropertyInConstructor4.ts b/tests/cases/compiler/parameterPropertyInConstructor4.ts new file mode 100644 index 00000000000..8787f7ecf42 --- /dev/null +++ b/tests/cases/compiler/parameterPropertyInConstructor4.ts @@ -0,0 +1,7 @@ +// @declaration: true +// @strict: true + +export class C { + constructor(public a: number[] = [], b: number) { + } +} diff --git a/tests/cases/compiler/parametersSyntaxErrorNoCrash1.ts b/tests/cases/compiler/parametersSyntaxErrorNoCrash1.ts new file mode 100644 index 00000000000..6c2e86ea475 --- /dev/null +++ b/tests/cases/compiler/parametersSyntaxErrorNoCrash1.ts @@ -0,0 +1,9 @@ +// @strict: true +// @noEmit: true +// @noTypesAndSymbols: true + +// https://github.com/microsoft/TypeScript/issues/59422 + +function identity(arg: T: T { + return arg; +} \ No newline at end of file diff --git a/tests/cases/compiler/parametersSyntaxErrorNoCrash2.ts b/tests/cases/compiler/parametersSyntaxErrorNoCrash2.ts new file mode 100644 index 00000000000..353b2f3eaf8 --- /dev/null +++ b/tests/cases/compiler/parametersSyntaxErrorNoCrash2.ts @@ -0,0 +1,7 @@ +// @strict: true +// @noEmit: true +// @noTypesAndSymbols: true + +// https://github.com/microsoft/TypeScript/issues/59353 + +export default function getThing( { return 'thing'; } \ No newline at end of file diff --git a/tests/cases/compiler/parametersSyntaxErrorNoCrash3.ts b/tests/cases/compiler/parametersSyntaxErrorNoCrash3.ts new file mode 100644 index 00000000000..5575d753f5d --- /dev/null +++ b/tests/cases/compiler/parametersSyntaxErrorNoCrash3.ts @@ -0,0 +1,9 @@ +// @strict: true +// @noEmit: true +// @noTypesAndSymbols: true + +// https://github.com/microsoft/TypeScript/issues/59449 + +export function getHtml({ + return " string" // a long string; +} \ No newline at end of file diff --git a/tests/cases/compiler/pickOfLargeObjectUnionWorks.ts b/tests/cases/compiler/pickOfLargeObjectUnionWorks.ts new file mode 100644 index 00000000000..b416fac1ed6 --- /dev/null +++ b/tests/cases/compiler/pickOfLargeObjectUnionWorks.ts @@ -0,0 +1,79 @@ +interface HTMLDataAttributes { + [data: `data-${string}`]: unknown +} + +interface Base { + id: string; + prop01: string; + prop02: string; + prop03: string; + prop04: string; + prop05: string; + prop06: string; + prop07: string; + prop08: string; + prop09: string; + prop10: string; + prop11: string; + prop12: string; + prop13: string; + prop14: string; + prop15: string; + prop16: string; + prop17: string; + prop18: string; + prop19: string; + prop20: string; + prop21: string; + prop22: string; + prop23: string; + prop24: string; + prop25: string; + prop26: string; + prop27: string; + prop28: string; + prop29: string; + prop30: string; + prop31: string; + prop32: string; + prop33: string; + prop34: string; + prop35: string; + prop36: string; + prop37: string; + } + + interface A extends Base, HTMLDataAttributes { + a1: string; + a2: string; + a3: string; + a4: string; + a5: string; + a6: string; + a7: string; + a8: string; + } + + interface B extends Base, HTMLDataAttributes { + b1: string; + b2: string; + b3: string; + b4: string; + b5: string; + b6: string; + b7: string; + b8: string; + } + + interface C extends Base, HTMLDataAttributes { + c1: string; + c2: string; + c3: string; + c4: string; + c5: string; + c6: string; + c7: string; + c8: string; + } + + const xyz: Pick
= {id: 'id'} \ No newline at end of file diff --git a/tests/cases/compiler/predicateSemantics.ts b/tests/cases/compiler/predicateSemantics.ts index 4211a43ca58..4069c1da6ee 100644 --- a/tests/cases/compiler/predicateSemantics.ts +++ b/tests/cases/compiler/predicateSemantics.ts @@ -34,3 +34,6 @@ while ({} as any) { } while ({} satisfies unknown) { } while ((({}))) { } while ((({}))) { } + +// Should be OK +console.log((cond || undefined) && 1 / cond); diff --git a/tests/cases/compiler/protectedAccessThroughContextualThis.ts b/tests/cases/compiler/protectedAccessThroughContextualThis.ts new file mode 100644 index 00000000000..0d846627e6d --- /dev/null +++ b/tests/cases/compiler/protectedAccessThroughContextualThis.ts @@ -0,0 +1,23 @@ +// @strict: true + +class Foo { + protected protec = 'bar'; + private privat = ''; + copy!: string + constructor() { + bindCopy.call(this) + bindCopy2.call(this) + } +} + +function bindCopy(this: Foo) { + this.copy = this.protec; // Should OK + console.log(this.privat); // Should error +} + +type BindingFunction = (this: Foo) => void; + +const bindCopy2: BindingFunction = function () { + this.copy = this.protec; // Should OK + console.log(this.privat); // Should error +} \ No newline at end of file diff --git a/tests/cases/compiler/thisPredicateInObjectLiteral.ts b/tests/cases/compiler/thisPredicateInObjectLiteral.ts new file mode 100644 index 00000000000..54c5ce2f974 --- /dev/null +++ b/tests/cases/compiler/thisPredicateInObjectLiteral.ts @@ -0,0 +1,15 @@ +// @strict: true + +// Should be OK +const foo2 = { + isNumber(): this is { b: string } { + return true; + }, +}; + +// Still an error +const foo3 = { + isNumber(x: any): x is this { + return true; + }, +}; diff --git a/tests/cases/compiler/unreachableDeclarations.ts b/tests/cases/compiler/unreachableDeclarations.ts new file mode 100644 index 00000000000..71c30e8995c --- /dev/null +++ b/tests/cases/compiler/unreachableDeclarations.ts @@ -0,0 +1,89 @@ +// @strict: true +// @preserveConstEnums: true, false +// @allowUnreachableCode: false + +function func1() { + aFunc(); + + console.log(EnumA.Value); + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumA.Value); + console.log(EnumB.Value); + } + + enum EnumA { Value } + const enum EnumB { Value } +} + +function func2() { + aFunc(); + + console.log(EnumA.Value); + + return; + + function aFunc() { + console.log(EnumA.Value); + } + + enum EnumA { Value } +} + +function func3() { + aFunc(); + + console.log(EnumB.Value); + + return; + + function aFunc() { + console.log(EnumB.Value); + } + + const enum EnumB { Value } +} + +function func4() { + aFunc(); + + console.log(ClassA.Value); + + return; + + function aFunc() { + console.log(ClassA.Value); + } + + class ClassA { static Value = 1234; } +} + +function func5() { + aFunc(); + + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()) + console.log(Baz.value); + + + return; + + function aFunc() { + console.log(Bar.A); + console.log(blah.prop); + console.log(new Foo()) + console.log(Baz.value); + } + + const blah = { prop: 1234 }; + + enum Bar { A } + + class Foo { x = 1234 } + + namespace Baz { export const value = 1234 } +} diff --git a/tests/cases/conformance/asyncGenerators/asyncGeneratorPromiseNextType.ts b/tests/cases/conformance/asyncGenerators/asyncGeneratorPromiseNextType.ts new file mode 100644 index 00000000000..dba96834a10 --- /dev/null +++ b/tests/cases/conformance/asyncGenerators/asyncGeneratorPromiseNextType.ts @@ -0,0 +1,42 @@ +// @target: esnext +// @strict: true +// @noEmit: true + +// https://github.com/microsoft/TypeScript/issues/44808 + +type Result = {message: string} + +async function *saverGen(): AsyncGenerator | undefined> { + let pending: Promise[] = []; + while (true) { + const p: Promise | undefined = yield; + if (p != null) + pending.push(p); + else { + const results = await Promise.all(pending); + pending = []; + console.log('Storing...'); + await storeResults(results); + } + } +} + +function storeResults(results: Result[]) { + console.log(results); + return Promise.resolve(); +} + +async function *saverGen2() { + let pending: Promise[] = []; + while (true) { + const p: Promise | undefined = yield; + if (p != null) + pending.push(p); + else { + const results = await Promise.all(pending); + pending = []; + console.log('Storing...'); + await storeResults(results); + } + } +} diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of14.ts b/tests/cases/conformance/es6/for-ofStatements/for-of14.ts index f79794d59d5..a20b564163c 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of14.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of14.ts @@ -1,9 +1,9 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { next() { return ""; } } var v: string; -for (v of new StringIterator) { } // Should fail because the iterator is not iterable \ No newline at end of file +for (v of new MyStringIterator) { } // Should fail because the iterator is not iterable \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of15.ts b/tests/cases/conformance/es6/for-ofStatements/for-of15.ts index b2e788bdef2..7c30b32593b 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of15.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of15.ts @@ -1,5 +1,5 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { next() { return ""; } @@ -9,4 +9,4 @@ class StringIterator { } var v: string; -for (v of new StringIterator) { } // Should fail \ No newline at end of file +for (v of new MyStringIterator) { } // Should fail \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of16.ts b/tests/cases/conformance/es6/for-ofStatements/for-of16.ts index b63e061425e..a5918dd9406 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of16.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of16.ts @@ -1,11 +1,11 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return this; } } var v: string; -for (v of new StringIterator) { } // Should fail +for (v of new MyStringIterator) { } // Should fail -for (v of new StringIterator) { } // Should still fail (related errors should still be shown even though type is cached). \ No newline at end of file +for (v of new MyStringIterator) { } // Should still fail (related errors should still be shown even though type is cached). \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of18.ts b/tests/cases/conformance/es6/for-ofStatements/for-of18.ts index 647ae314b4d..88f18cc88c3 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of18.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of18.ts @@ -1,5 +1,5 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { next() { return { value: "", @@ -12,4 +12,4 @@ class StringIterator { } var v: string; -for (v of new StringIterator) { } // Should succeed \ No newline at end of file +for (v of new MyStringIterator) { } // Should succeed \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of25.ts b/tests/cases/conformance/es6/for-ofStatements/for-of25.ts index 61e6a58ce30..f63137c6cfc 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of25.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of25.ts @@ -1,9 +1,9 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return x; } } var x: any; -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of26.ts b/tests/cases/conformance/es6/for-ofStatements/for-of26.ts index 4414fdc1592..8dd94be9901 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of26.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of26.ts @@ -1,5 +1,5 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { next() { return x; } @@ -9,4 +9,4 @@ class StringIterator { } var x: any; -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of27.ts b/tests/cases/conformance/es6/for-ofStatements/for-of27.ts index f7244eed34c..a87960cd441 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of27.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of27.ts @@ -1,6 +1,6 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { [Symbol.iterator]: any; } -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of28.ts b/tests/cases/conformance/es6/for-ofStatements/for-of28.ts index e1b86f6135f..bb241e389ac 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of28.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of28.ts @@ -1,9 +1,9 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { next: any; [Symbol.iterator]() { return this; } } -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of30.ts b/tests/cases/conformance/es6/for-ofStatements/for-of30.ts index 3d8ac3a93af..019f71a0f4c 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of30.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of30.ts @@ -1,5 +1,5 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { next() { return { done: false, @@ -14,4 +14,4 @@ class StringIterator { } } -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of31.ts b/tests/cases/conformance/es6/for-ofStatements/for-of31.ts index 1e8d7e10630..847d7d0dd7c 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of31.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of31.ts @@ -1,5 +1,5 @@ //@target: ES6 -class StringIterator { +class MyStringIterator { next() { return { // no done property @@ -12,4 +12,4 @@ class StringIterator { } } -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of33.ts b/tests/cases/conformance/es6/for-ofStatements/for-of33.ts index f0af5c4a408..f952c23e09c 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of33.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of33.ts @@ -1,9 +1,9 @@ //@target: ES6 //@noImplicitAny: true -class StringIterator { +class MyStringIterator { [Symbol.iterator]() { return v; } } -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of34.ts b/tests/cases/conformance/es6/for-ofStatements/for-of34.ts index b38a6a68bf6..d7cecf6a40f 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of34.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of34.ts @@ -1,6 +1,6 @@ //@target: ES6 //@noImplicitAny: true -class StringIterator { +class MyStringIterator { next() { return v; } @@ -10,4 +10,4 @@ class StringIterator { } } -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/es6/for-ofStatements/for-of35.ts b/tests/cases/conformance/es6/for-ofStatements/for-of35.ts index 041f611699e..148260323f6 100644 --- a/tests/cases/conformance/es6/for-ofStatements/for-of35.ts +++ b/tests/cases/conformance/es6/for-ofStatements/for-of35.ts @@ -1,6 +1,6 @@ //@target: ES6 //@noImplicitAny: true -class StringIterator { +class MyStringIterator { next() { return { done: true, @@ -13,4 +13,4 @@ class StringIterator { } } -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/externalModules/verbatimModuleSyntaxAmbientConstEnum.ts b/tests/cases/conformance/externalModules/verbatimModuleSyntaxAmbientConstEnum.ts new file mode 100644 index 00000000000..d59dbadf5d6 --- /dev/null +++ b/tests/cases/conformance/externalModules/verbatimModuleSyntaxAmbientConstEnum.ts @@ -0,0 +1,21 @@ +// @verbatimModuleSyntax: true +// @target: esnext +// @module: preserve +// @noEmit: true +// @noTypesAndSymbols: true + +// @Filename: /node_modules/pkg/index.d.ts +export declare const enum E { A, B, C } +declare global { + const enum F { A, B, C } +} + +// @Filename: /a.ts +import { E } from "pkg"; // Error +import type { E as _E } from "pkg"; // Ok +console.log(E.A); // Ok +F.A; // Error + +// @Filename: /b.ts +export { E } from "pkg"; // Error +export type { E as _E } from "pkg"; // Ok diff --git a/tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithAsyncIteratorObject.ts b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithAsyncIteratorObject.ts new file mode 100644 index 00000000000..f20f51eb46a --- /dev/null +++ b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithAsyncIteratorObject.ts @@ -0,0 +1,17 @@ +// @target: esnext +// @module: esnext +// @lib: esnext +// @noEmit: true + +declare const ai: AsyncIterator; +declare const aio: AsyncIteratorObject; +declare const ag: AsyncGenerator; + +async function f() { + // should pass + await using it0 = aio; + await using it1 = ag; + + // should fail + await using it2 = ai; +} diff --git a/tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithIteratorObject.ts b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithIteratorObject.ts new file mode 100644 index 00000000000..de8fdd378da --- /dev/null +++ b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithIteratorObject.ts @@ -0,0 +1,26 @@ +// @target: esnext +// @module: esnext +// @lib: esnext +// @noEmit: true + +declare const i: Iterator; +declare const io: IteratorObject; +declare const g: Generator; + +class MyIterator extends Iterator { + next() { return { done: true, value: undefined }; } +} + +async function f() { + // should pass + await using it0 = io; + await using it1 = g; + await using it2 = Iterator.from(i) + await using it3 = new MyIterator(); + await using it4 = [].values(); + await using it5 = new Map().entries(); + await using it6 = new Set().keys(); + + // should fail + await using it7 = i; +} diff --git a/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithIteratorObject.ts b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithIteratorObject.ts new file mode 100644 index 00000000000..59ba2516fea --- /dev/null +++ b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithIteratorObject.ts @@ -0,0 +1,26 @@ +// @target: esnext +// @module: esnext +// @lib: esnext +// @noEmit: true + +declare const i: Iterator; +declare const io: IteratorObject; +declare const g: Generator; + +class MyIterator extends Iterator { + next() { return { done: true, value: undefined }; } +} + +function f() { + // should pass + using it0 = io; + using it1 = g; + using it2 = Iterator.from(i) + using it3 = new MyIterator(); + using it4 = [].values(); + using it5 = new Map().entries(); + using it6 = new Set().keys(); + + // should fail + using it7 = i; +} diff --git a/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals1.ts b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals1.ts new file mode 100644 index 00000000000..4665bd0010b --- /dev/null +++ b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals1.ts @@ -0,0 +1,47 @@ +// @strict: true +// @target: esnext +// @module: esnext +// @lib: esnext +// @noEmit: true + +interface MyDisposable { + value: number; + [Symbol.dispose](): void; +} + +{ + using _ = { [Symbol.dispose]() {} }; +} + +{ + using _ = { [Symbol.dispose]() {}, value: 1 }; +} + +{ + using _: MyDisposable = { [Symbol.dispose]() {}, value: 1, extra: "foo" }; +} + +interface MyAsyncDisposable { + value: number; + [Symbol.asyncDispose](): Promise; +} + +async function f() { + { + await using _ = { async [Symbol.asyncDispose]() {} }; + } + + { + await using _ = { async [Symbol.asyncDispose]() {}, value: 1 }; + } + + { + await using _: MyAsyncDisposable = { + async [Symbol.asyncDispose]() {}, + value: 1, + extra: "foo", + }; + } +} + +export {}; diff --git a/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals2.ts b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals2.ts new file mode 100644 index 00000000000..d38baca72e7 --- /dev/null +++ b/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals2.ts @@ -0,0 +1,18 @@ +// @strictNullChecks: false +// @noImplicitAny: true, false +// @target: esnext +// @module: esnext +// @lib: esnext +// @noEmit: true + +{ + using _ = { [Symbol.dispose]() {}, value: null }; +} + +async function f() { + { + await using _ = { async [Symbol.asyncDispose]() {}, value: null }; + } +} + +export {}; diff --git a/tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck10.ts b/tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck10.ts index b832d57855e..f5f96e5c44a 100644 --- a/tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck10.ts +++ b/tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck10.ts @@ -1,7 +1,7 @@ //@target: ES5 // In ES3/5, you cannot for...of over an arbitrary iterable. -class StringIterator { +class MyStringIterator { next() { return { done: true, @@ -13,4 +13,4 @@ class StringIterator { } } -for (var v of new StringIterator) { } \ No newline at end of file +for (var v of new MyStringIterator) { } \ No newline at end of file diff --git a/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash1.ts b/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash1.ts new file mode 100644 index 00000000000..74265116f75 --- /dev/null +++ b/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash1.ts @@ -0,0 +1,9 @@ +// @strict: true +// @target: es5 +// @noTypesAndSymbols: true + +for (let x of []) { + var v0 = x; + foo: var; + (function() { return x + v0}); +} diff --git a/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash2.ts b/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash2.ts new file mode 100644 index 00000000000..048775ea293 --- /dev/null +++ b/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash2.ts @@ -0,0 +1,9 @@ +// @strict: true +// @target: es5 +// @noTypesAndSymbols: true + +for (let x of []) { + var v0 = x; + foo: var y; + (function() { return x + v0}); +} diff --git a/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash3.ts b/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash3.ts new file mode 100644 index 00000000000..0fc7d951d2c --- /dev/null +++ b/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash3.ts @@ -0,0 +1,25 @@ +// @strict: true +// @target: es5 +// @noTypesAndSymbols: true + +// https://github.com/microsoft/TypeScript/issues/59345 + +export class ParseThemeData { + parseButton(button: any) { + const {type, size} = button; + for (let item of type) { + const fontType = item.type; + const style = (state: string) => `color: var(--button-${fontType}-${state}-font-color)`; + this.classFormat(`${style('active')}); + } + for (let item of size) { + const fontType = item.type; + this.classFormat( + [ + `font-size: var(--button-size-${fontType}-fontSize)`, + `height: var(--button-size-${fontType}-height)`, + ].join(';') + ); + } + } +} diff --git a/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash4.ts b/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash4.ts new file mode 100644 index 00000000000..53d7e6d263f --- /dev/null +++ b/tests/cases/conformance/statements/labeledStatements/labeledStatementDeclarationListInLoopNoCrash4.ts @@ -0,0 +1,23 @@ +// @strict: true +// @target: es5 +// @noTypesAndSymbols: true + +export class ParseThemeData { + parseButton(button: any) { + const {type, size} = button; + for (let item of type) { + const fontType = item.type; + const style = (state: string) => `color: var(--button-${fontType}-${state}-font-color)`; + this.classFormat(`${style('active')}); + } + for (let item of size) { + const fontType = item.type; + this.classFormat( + [ + `font-size: var(--button-size-${fontType}-fontSize)`, + `height: var foo`, + ].join(';') + ); + } + } +} diff --git a/tests/cases/fourslash/autoImportAllowImportingTsExtensionsPackageJsonImports1.ts b/tests/cases/fourslash/autoImportAllowImportingTsExtensionsPackageJsonImports1.ts new file mode 100644 index 00000000000..8db0bdb37d5 --- /dev/null +++ b/tests/cases/fourslash/autoImportAllowImportingTsExtensionsPackageJsonImports1.ts @@ -0,0 +1,41 @@ +/// + +// @module: nodenext +// @allowImportingTsExtensions: true + +// @Filename: /node_modules/pkg/package.json +//// { +//// "name": "pkg", +//// "type": "module", +//// "exports": { +//// "./*": { +//// "types": "./types/*", +//// "default": "./dist/*" +//// } +//// } +//// } + +// @Filename: /node_modules/pkg/types/external.d.ts +//// export declare function external(name: string): any; + +// @Filename: /package.json +//// { +//// "name": "self", +//// "type": "module", +//// "imports": { +//// "#*": "./src/*" +//// }, +//// "dependencies": { +//// "pkg": "*" +//// } +//// } + +// @Filename: /src/add.ts +//// export function add(a: number, b: number) {} + +// @Filename: /src/index.ts +//// add/*imports*/; +//// external/*exports*/; + +verify.importFixModuleSpecifiers("imports", ["#add.ts"]); +verify.importFixModuleSpecifiers("exports", ["pkg/external.js"]); diff --git a/tests/cases/fourslash/autoImportAllowImportingTsExtensionsPackageJsonImports2.ts b/tests/cases/fourslash/autoImportAllowImportingTsExtensionsPackageJsonImports2.ts new file mode 100644 index 00000000000..c5e99387477 --- /dev/null +++ b/tests/cases/fourslash/autoImportAllowImportingTsExtensionsPackageJsonImports2.ts @@ -0,0 +1,34 @@ +/// + +// @Filename: /tsconfig.json +//// { +//// "compilerOptions": { +//// "module": "nodenext", +//// "allowImportingTsExtensions": true, +//// "rootDir": "src", +//// "outDir": "dist", +//// "declarationDir": "types", +//// "declaration": true +//// } +//// } + +// @Filename: /package.json +//// { +//// "name": "self", +//// "type": "module", +//// "imports": { +//// "#*": { +//// "types": "./types/*", +//// "default": "./dist/*" +//// } +//// } +//// } + +// @Filename: /src/add.ts +//// export function add(a: number, b: number) {} + +// @Filename: /src/index.ts +//// add/*imports*/; +//// external/*exports*/; + +verify.importFixModuleSpecifiers("imports", ["#add.js"]); diff --git a/tests/cases/fourslash/autoImportCompletionExportListAugmentation1.ts b/tests/cases/fourslash/autoImportCompletionExportListAugmentation1.ts new file mode 100644 index 00000000000..8556ac9c40f --- /dev/null +++ b/tests/cases/fourslash/autoImportCompletionExportListAugmentation1.ts @@ -0,0 +1,58 @@ +/// +// @module: nodenext + +// @Filename: /node_modules/@sapphire/pieces/index.d.ts +//// interface Container { +//// stores: unknown; +//// } +//// +//// declare class Piece { +//// container: Container; +//// } +//// +//// export { Piece, type Container }; + +// @FileName: /augmentation.ts +//// declare module "@sapphire/pieces" { +//// interface Container { +//// client: unknown; +//// } +//// export { Container }; +//// } + +// @Filename: /index.ts +//// import { Piece } from "@sapphire/pieces"; +//// class FullPiece extends Piece { +//// /*1*/ +//// } + +const preferences = { + includeCompletionsWithClassMemberSnippets: true, + includeCompletionsWithInsertText: true, +}; + +verify.completions({ + marker: "1", + includes: [ + { + name: "container", + insertText: "container: Container;", + filterText: "container", + hasAction: true, + source: "ClassMemberSnippet/", + }, + ], + preferences, + isNewIdentifierLocation: true, +}); + +verify.applyCodeActionFromCompletion("1", { + name: "container", + source: "ClassMemberSnippet/", + description: `Includes imports of types referenced by 'container'`, + newFileContent: `import { Container, Piece } from "@sapphire/pieces"; +class FullPiece extends Piece { + +}`, + preferences, +}); diff --git a/tests/cases/fourslash/autoImportCompletionExportListAugmentation2.ts b/tests/cases/fourslash/autoImportCompletionExportListAugmentation2.ts new file mode 100644 index 00000000000..bf984311cfb --- /dev/null +++ b/tests/cases/fourslash/autoImportCompletionExportListAugmentation2.ts @@ -0,0 +1,68 @@ +/// +// @module: nodenext + +// @Filename: /node_modules/@sapphire/pieces/index.d.ts +//// interface Container { +//// stores: unknown; +//// } +//// +//// declare class Piece { +//// get container(): Container; +//// } +//// +//// declare class AliasPiece extends Piece {} +//// +//// export { AliasPiece, type Container }; + +// @Filename: /node_modules/@sapphire/framework/index.d.ts +//// import { AliasPiece } from "@sapphire/pieces"; +//// +//// declare class Command extends AliasPiece {} +//// +//// declare module "@sapphire/pieces" { +//// interface Container { +//// client: unknown; +//// } +//// } +//// +//// export { Command }; + +// @Filename: /index.ts +//// import "@sapphire/pieces"; +//// import { Command } from "@sapphire/framework"; +//// class PingCommand extends Command { +//// /*1*/ +//// } + +const preferences = { + includeCompletionsWithClassMemberSnippets: true, + includeCompletionsWithInsertText: true, +}; + +verify.completions({ + marker: "1", + includes: [ + { + name: "container", + insertText: "get container(): Container {\n}", + filterText: "container", + hasAction: true, + source: "ClassMemberSnippet/", + }, + ], + preferences, + isNewIdentifierLocation: true, +}); + +verify.applyCodeActionFromCompletion("1", { + name: "container", + source: "ClassMemberSnippet/", + description: `Includes imports of types referenced by 'container'`, + newFileContent: `import "@sapphire/pieces"; +import { Command } from "@sapphire/framework"; +import { Container } from "@sapphire/pieces"; +class PingCommand extends Command { + +}`, + preferences, +}); \ No newline at end of file diff --git a/tests/cases/fourslash/autoImportCompletionExportListAugmentation3.ts b/tests/cases/fourslash/autoImportCompletionExportListAugmentation3.ts new file mode 100644 index 00000000000..7331ec3cedc --- /dev/null +++ b/tests/cases/fourslash/autoImportCompletionExportListAugmentation3.ts @@ -0,0 +1,57 @@ +/// +// @module: nodenext + +// @Filename: /node_modules/@sapphire/pieces/index.d.ts +//// export interface Container { +//// stores: unknown; +//// } +//// +//// declare class Piece { +//// container: Container; +//// } +//// +//// export { Piece }; + +// @FileName: /augmentation.ts +//// declare module "@sapphire/pieces" { +//// interface Container { +//// client: unknown; +//// } +//// } + +// @Filename: /index.ts +//// import { Piece } from "@sapphire/pieces"; +//// class FullPiece extends Piece { +//// /*1*/ +//// } + +const preferences = { + includeCompletionsWithClassMemberSnippets: true, + includeCompletionsWithInsertText: true, +}; + +verify.completions({ + marker: "1", + includes: [ + { + name: "container", + insertText: "container: Container;", + filterText: "container", + hasAction: true, + source: "ClassMemberSnippet/", + }, + ], + preferences, + isNewIdentifierLocation: true, +}); + +verify.applyCodeActionFromCompletion("1", { + name: "container", + source: "ClassMemberSnippet/", + description: `Includes imports of types referenced by 'container'`, + newFileContent: `import { Container, Piece } from "@sapphire/pieces"; +class FullPiece extends Piece { + +}`, + preferences, +}); \ No newline at end of file diff --git a/tests/cases/fourslash/autoImportCompletionExportListAugmentation4.ts b/tests/cases/fourslash/autoImportCompletionExportListAugmentation4.ts new file mode 100644 index 00000000000..58ded632a70 --- /dev/null +++ b/tests/cases/fourslash/autoImportCompletionExportListAugmentation4.ts @@ -0,0 +1,67 @@ +/// + +// @module: nodenext + +// @Filename: /node_modules/@sapphire/pieces/index.d.ts +//// interface Container { +//// stores: unknown; +//// } +//// +//// declare class Piece { +//// get container(): Container; +//// } +//// +//// export { Piece as Alias, type Container }; + +// @Filename: /node_modules/@sapphire/framework/index.d.ts +//// import { Alias } from "@sapphire/pieces"; +//// +//// declare class Command extends Alias {} +//// +//// declare module "@sapphire/pieces" { +//// interface Container { +//// client: unknown; +//// } +//// } +//// +//// export { Command as CommandAlias }; + +// @Filename: /index.ts +//// import "@sapphire/pieces"; +//// import { CommandAlias } from "@sapphire/framework"; +//// class PingCommand extends CommandAlias { +//// /*1*/ +//// } + +const preferences = { + includeCompletionsWithClassMemberSnippets: true, + includeCompletionsWithInsertText: true, +}; + +verify.completions({ + marker: "1", + includes: [ + { + name: "container", + insertText: "get container(): Container {\n}", + filterText: "container", + hasAction: true, + source: "ClassMemberSnippet/", + }, + ], + preferences, + isNewIdentifierLocation: true, +}); + +verify.applyCodeActionFromCompletion("1", { + name: "container", + source: "ClassMemberSnippet/", + description: `Includes imports of types referenced by 'container'`, + newFileContent: `import "@sapphire/pieces"; +import { CommandAlias } from "@sapphire/framework"; +import { Container } from "@sapphire/pieces"; +class PingCommand extends CommandAlias { + +}`, + preferences, +}); \ No newline at end of file diff --git a/tests/cases/fourslash/autoImportPackageJsonImportsCaseSensitivity.ts b/tests/cases/fourslash/autoImportPackageJsonImportsCaseSensitivity.ts new file mode 100644 index 00000000000..79d62ec33ce --- /dev/null +++ b/tests/cases/fourslash/autoImportPackageJsonImportsCaseSensitivity.ts @@ -0,0 +1,20 @@ +/// + +// @module: nodenext +// @allowImportingTsExtensions: true + +// @Filename: /package.json +//// { +//// "type": "module", +//// "imports": { +//// "#src/*": "./SRC/*" +//// } +//// } + +// @Filename: /src/add.ts +//// export function add(a: number, b: number) {} + +// @Filename: /src/index.ts +//// add/*imports*/; + +verify.importFixModuleSpecifiers("imports", ["#src/add.ts"], { importModuleSpecifierPreference: "non-relative" }); \ No newline at end of file diff --git a/tests/cases/fourslash/autoImportSpecifierExcludeRegexes1.ts b/tests/cases/fourslash/autoImportSpecifierExcludeRegexes1.ts new file mode 100644 index 00000000000..f3eff409abf --- /dev/null +++ b/tests/cases/fourslash/autoImportSpecifierExcludeRegexes1.ts @@ -0,0 +1,61 @@ +/// + +// @module: preserve + +// @Filename: /node_modules/lib/index.d.ts +//// declare module "ambient" { +//// export const x: number; +//// } +//// declare module "ambient/utils" { +//// export const x: number; +//// } + +// @Filename: /index.ts +//// x/**/ + +verify.importFixModuleSpecifiers("", ["ambient", "ambient/utils"]); +verify.importFixModuleSpecifiers("", ["ambient"], { autoImportSpecifierExcludeRegexes: ["utils"] }); +// case sensitive, no match +verify.importFixModuleSpecifiers("", ["ambient", "ambient/utils"], { autoImportSpecifierExcludeRegexes: ["/UTILS/"] }); +// case insensitive flag given +verify.importFixModuleSpecifiers("", ["ambient"], { autoImportSpecifierExcludeRegexes: ["/UTILS/i"] }); +// invalid due to unescaped slash, treated as pattern +verify.importFixModuleSpecifiers("", ["ambient", "ambient/utils"], { autoImportSpecifierExcludeRegexes: ["/ambient/utils/"] }); +verify.importFixModuleSpecifiers("", ["ambient"], { autoImportSpecifierExcludeRegexes: ["/ambient\\/utils/"] }); +// no trailing slash, treated as pattern, slash doesn't need to be escaped +verify.importFixModuleSpecifiers("", ["ambient"], { autoImportSpecifierExcludeRegexes: ["/.*?$"]}); +// no leading slash, treated as pattern, slash doesn't need to be escaped +verify.importFixModuleSpecifiers("", ["ambient"], { autoImportSpecifierExcludeRegexes: ["^ambient/"] }); +verify.importFixModuleSpecifiers("", ["ambient/utils"], { autoImportSpecifierExcludeRegexes: ["ambient$"] }); +verify.importFixModuleSpecifiers("", ["ambient", "ambient/utils"], { autoImportSpecifierExcludeRegexes: ["oops("] }); + +verify.completions({ + marker: "", + includes: [{ + name: "x", + source: "ambient", + sourceDisplay: "ambient", + hasAction: true, + sortText: completion.SortText.AutoImportSuggestions + }, { + name: "x", + source: "ambient/utils", + sourceDisplay: "ambient/utils", + hasAction: true, + sortText: completion.SortText.AutoImportSuggestions + }], + preferences: { + includeCompletionsForModuleExports: true, + allowIncompleteCompletions: true + } +}); + +verify.completions({ + marker: "", + excludes: ["ambient/utils"], + preferences: { + includeCompletionsForModuleExports: true, + allowIncompleteCompletions: true, + autoImportSpecifierExcludeRegexes: ["utils"] + }, +}) \ No newline at end of file diff --git a/tests/cases/fourslash/autoImportSpecifierExcludeRegexes2.ts b/tests/cases/fourslash/autoImportSpecifierExcludeRegexes2.ts new file mode 100644 index 00000000000..37ab15c5c36 --- /dev/null +++ b/tests/cases/fourslash/autoImportSpecifierExcludeRegexes2.ts @@ -0,0 +1,25 @@ +/// + +// @Filename: /tsconfig.json +//// { +//// "compilerOptions": { +//// "module": "preserve", +//// "paths": { +//// "@app/*": ["./src/*"] +//// } +//// } +//// } + +// @Filename: /src/utils.ts +//// export function add(a: number, b: number) {} + +// @Filename: /src/index.ts +//// add/**/ + +verify.importFixModuleSpecifiers("", ["./utils"]); +verify.importFixModuleSpecifiers("", ["@app/utils"], { autoImportSpecifierExcludeRegexes: ["^\\./"] }); + +verify.importFixModuleSpecifiers("", ["@app/utils"], { importModuleSpecifierPreference: "non-relative" }); +verify.importFixModuleSpecifiers("", ["./utils"], { importModuleSpecifierPreference: "non-relative", autoImportSpecifierExcludeRegexes: ["^@app/"] }); + +verify.importFixModuleSpecifiers("", [], { autoImportSpecifierExcludeRegexes: ["utils"] }); diff --git a/tests/cases/fourslash/autoImportSpecifierExcludeRegexes3.ts b/tests/cases/fourslash/autoImportSpecifierExcludeRegexes3.ts new file mode 100644 index 00000000000..c4cc27c871b --- /dev/null +++ b/tests/cases/fourslash/autoImportSpecifierExcludeRegexes3.ts @@ -0,0 +1,25 @@ +/// + +// @module: preserve + +// @Filename: /node_modules/pkg/package.json +//// { +//// "name": "pkg", +//// "version": "1.0.0", +//// "exports": { +//// ".": "./index.js", +//// "./utils": "./utils.js" +//// } +//// } + +// @Filename: /node_modules/pkg/utils.d.ts +//// export function add(a: number, b: number) {} + +// @Filename: /node_modules/pkg/index.d.ts +//// export * from "./utils"; + +// @Filename: /src/index.ts +//// add/**/ + +verify.importFixModuleSpecifiers("", ["pkg", "pkg/utils"]); +verify.importFixModuleSpecifiers("", ["pkg/utils"], { autoImportSpecifierExcludeRegexes: ["^pkg$"] }); diff --git a/tests/cases/fourslash/codeFixAddMissingFunctionDeclaration29.ts b/tests/cases/fourslash/codeFixAddMissingFunctionDeclaration29.ts new file mode 100644 index 00000000000..1a6c1b73ae9 --- /dev/null +++ b/tests/cases/fourslash/codeFixAddMissingFunctionDeclaration29.ts @@ -0,0 +1,27 @@ +/// + +// @filename: /a.ts +////export namespace A { +//// export function test() {} +////}; + +// @filename: /b.ts +////import { A } from "./a"; +//// +////A.fn(); + +goTo.file("/b.ts"); +verify.codeFix({ + description: [ts.Diagnostics.Add_missing_function_declaration_0.message, "fn"], + index: 0, + newFileContent: { + "/a.ts": +`export namespace A { + export function test() {} + + export function fn() { + throw new Error("Function not implemented."); + } +};`, + } +}); diff --git a/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures1.ts b/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures1.ts new file mode 100644 index 00000000000..695ccc3b99e --- /dev/null +++ b/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures1.ts @@ -0,0 +1,32 @@ +/// + +// @lib: esnext +// @target: esnext + +// @Filename: /node_modules/@types/node/globals.d.ts +////export {}; +////declare global { +//// interface SymbolConstructor { +//// readonly dispose: unique symbol; +//// } +//// interface Disposable { +//// [Symbol.dispose](): void; +//// } +////} + +// @Filename: /node_modules/@types/node/index.d.ts +/////// + +// @Filename: a.ts +////class Foo implements Disposable {} + +goTo.file("a.ts"); +verify.codeFix({ + description: "Implement interface 'Disposable'", + newFileContent: +`class Foo implements Disposable { + [Symbol.dispose](): void { + throw new Error("Method not implemented."); + } +}` +}); diff --git a/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures2.ts b/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures2.ts new file mode 100644 index 00000000000..0ae34b6e4a2 --- /dev/null +++ b/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures2.ts @@ -0,0 +1,19 @@ +/// + +////declare class A { +//// method(): void; +////} +////class B implements A {} + +verify.codeFix({ + description: "Implement interface 'A'", + newFileContent: +`declare class A { + method(): void; +} +class B implements A { + method(): void { + throw new Error("Method not implemented."); + } +}` +}); diff --git a/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures3.ts b/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures3.ts new file mode 100644 index 00000000000..42fbc81db17 --- /dev/null +++ b/tests/cases/fourslash/codeFixClassImplementInterfaceWithAmbientSignatures3.ts @@ -0,0 +1,19 @@ +/// + +////declare abstract class A { +//// abstract method(): void; +////} +////class B implements A {} + +verify.codeFix({ + description: "Implement interface 'A'", + newFileContent: +`declare abstract class A { + abstract method(): void; +} +class B implements A { + method(): void { + throw new Error("Method not implemented."); + } +}` +}); diff --git a/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExportsTypePredicate1.ts b/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExportsTypePredicate1.ts new file mode 100644 index 00000000000..de1fe5fa1f3 --- /dev/null +++ b/tests/cases/fourslash/codeFixMissingTypeAnnotationOnExportsTypePredicate1.ts @@ -0,0 +1,17 @@ +/// + +// @isolatedDeclarations: true +// @declaration: true + +// @filename: index.ts +//// export function isString(value: unknown) { +//// return typeof value === "string"; +//// } + +verify.codeFix({ + description: `Add return type 'value is string'`, + index: 0, + newFileContent: `export function isString(value: unknown): value is string { + return typeof value === "string"; +}`, +}); diff --git a/tests/cases/fourslash/codeFixUnreachableCode.ts b/tests/cases/fourslash/codeFixUnreachableCode.ts index 3940fbd9163..b5ad96e775b 100644 --- a/tests/cases/fourslash/codeFixUnreachableCode.ts +++ b/tests/cases/fourslash/codeFixUnreachableCode.ts @@ -8,7 +8,7 @@ //// type T = number; //// interface I {} //// const enum E {} -//// enum EE {} +//// [|enum EE {}|] //// namespace N { export type T = number; } //// [|namespace N { export const x: T = 0; }|] //// var x: I; @@ -33,7 +33,6 @@ verify.codeFixAll({ type T = number; interface I {} const enum E {} - enum EE {} namespace N { export type T = number; } var x: I; }`, diff --git a/tests/cases/fourslash/completionsImportDeclarationAttributesEmptyModuleSpecifier1.ts b/tests/cases/fourslash/completionsImportDeclarationAttributesEmptyModuleSpecifier1.ts new file mode 100644 index 00000000000..f083815dfcb --- /dev/null +++ b/tests/cases/fourslash/completionsImportDeclarationAttributesEmptyModuleSpecifier1.ts @@ -0,0 +1,17 @@ +/// + +// @strict: true + +// @filename: global.d.ts +//// interface ImportAttributes { +//// type: "json"; +//// } + +// @filename: index.ts +//// import * as ns from "" with { type: "/**/" }; + +verify.completions({ + marker: "", + exact: ["json"], + isNewIdentifierLocation: false, +}); diff --git a/tests/cases/fourslash/completionsImportDeclarationAttributesErrorModuleSpecifier1.ts b/tests/cases/fourslash/completionsImportDeclarationAttributesErrorModuleSpecifier1.ts new file mode 100644 index 00000000000..bbad49da515 --- /dev/null +++ b/tests/cases/fourslash/completionsImportDeclarationAttributesErrorModuleSpecifier1.ts @@ -0,0 +1,17 @@ +/// + +// @strict: true + +// @filename: global.d.ts +//// interface ImportAttributes { +//// type: "json"; +//// } + +// @filename: index.ts +//// import * as ns from () with { type: "/**/" }; + +verify.completions({ + marker: "", + exact: ["json"], + isNewIdentifierLocation: false, +}); diff --git a/tests/cases/fourslash/completionsJSDocImportTagAttributesEmptyModuleSpecifier1.ts b/tests/cases/fourslash/completionsJSDocImportTagAttributesEmptyModuleSpecifier1.ts new file mode 100644 index 00000000000..ad23ca3b933 --- /dev/null +++ b/tests/cases/fourslash/completionsJSDocImportTagAttributesEmptyModuleSpecifier1.ts @@ -0,0 +1,19 @@ +/// + +// @strict: true +// @checkJs: true +// @allowJs: true + +// @filename: global.d.ts +//// interface ImportAttributes { +//// type: "json"; +//// } + +// @filename: index.js +//// /** @import * as ns from "" with { type: "/**/" } */ + +verify.completions({ + marker: "", + exact: ["json"], + isNewIdentifierLocation: false, +}); diff --git a/tests/cases/fourslash/completionsJSDocImportTagAttributesErrorModuleSpecifier1.ts b/tests/cases/fourslash/completionsJSDocImportTagAttributesErrorModuleSpecifier1.ts new file mode 100644 index 00000000000..56825e73e3f --- /dev/null +++ b/tests/cases/fourslash/completionsJSDocImportTagAttributesErrorModuleSpecifier1.ts @@ -0,0 +1,19 @@ +/// + +// @strict: true +// @checkJs: true +// @allowJs: true + +// @filename: global.d.ts +//// interface ImportAttributes { +//// type: "json"; +//// } + +// @filename: index.js +//// /** @import * as ns from () with { type: "/**/" } */ + +verify.completions({ + marker: "", + exact: ["json"], + isNewIdentifierLocation: false, +}); diff --git a/tests/cases/fourslash/completionsJSDocImportTagEmptyModuleSpecifier1.ts b/tests/cases/fourslash/completionsJSDocImportTagEmptyModuleSpecifier1.ts new file mode 100644 index 00000000000..ccbe067406e --- /dev/null +++ b/tests/cases/fourslash/completionsJSDocImportTagEmptyModuleSpecifier1.ts @@ -0,0 +1,18 @@ +/// + +// @strict: true +// @checkJs: true +// @allowJs: true +// @moduleResolution: nodenext + +// @filename: node_modules/pkg/index.d.ts +//// export type MyUnion = string | number; + +// @filename: index.js +//// /** @import { MyUnion } from "/**/" */ + +verify.completions({ + marker: "", + exact: ["pkg"], + isNewIdentifierLocation: true, +}); diff --git a/tests/cases/fourslash/completionsJSDocNoCrash1.ts b/tests/cases/fourslash/completionsJSDocNoCrash1.ts new file mode 100644 index 00000000000..a5aa659a9e0 --- /dev/null +++ b/tests/cases/fourslash/completionsJSDocNoCrash1.ts @@ -0,0 +1,31 @@ +/// + +// @strict: true +// @checkJs: true +// @allowJs: true + +// @filename: index.js +//// /** +//// * @example +//// +//// @import url(//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css); +//// +//// +//// +//// .animate-show.ng-hide-add.ng-hide-add-active, +//// .animate-show.ng-hide-remove.ng-hide-remove-active { +//// transition:all linear 0./**/5s; +//// } +//// +//// +//// */ +//// var ngShowDirective = ['$animate', function($animate) {}]; + +verify.completions({ + marker: "", + includes: ["url"], + isNewIdentifierLocation: true, + preferences: { + includeCompletionsWithInsertText: true + } +}); diff --git a/tests/cases/fourslash/completionsJSDocNoCrash2.ts b/tests/cases/fourslash/completionsJSDocNoCrash2.ts new file mode 100644 index 00000000000..e37d4452245 --- /dev/null +++ b/tests/cases/fourslash/completionsJSDocNoCrash2.ts @@ -0,0 +1,29 @@ +/// + +// @strict: true + +// @filename: index.ts +//// /** +//// * @example +//// +//// @import url(//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css); +//// +//// +//// +//// .animate-show.ng-hide-add.ng-hide-add-active, +//// .animate-show.ng-hide-remove.ng-hide-remove-active { +//// transition:all linear 0./**/5s; +//// } +//// +//// +//// */ +//// var ngShowDirective = ['$animate', function($animate) {}]; + +verify.completions({ + marker: "", + exact: completion.globalTypes, + isNewIdentifierLocation: false, + preferences: { + includeCompletionsWithInsertText: true + } +}); diff --git a/tests/cases/fourslash/completionsPropertiesWithPromiseUnionType.ts b/tests/cases/fourslash/completionsPropertiesWithPromiseUnionType.ts new file mode 100644 index 00000000000..529160b6589 --- /dev/null +++ b/tests/cases/fourslash/completionsPropertiesWithPromiseUnionType.ts @@ -0,0 +1,24 @@ +/// +// @strict: true + +//// type MyType = { +//// foo: string; +//// }; + +//// function fakeTest(cb: () => MyType | Promise) {} + +//// fakeTest(() => { +//// return { +//// /*a*/ +//// }; +//// }); + + +verify.completions( + { + marker: ['a'], + exact: [ + { name: 'foo', kind: 'property' }, + ] + } +); \ No newline at end of file diff --git a/tests/cases/fourslash/fourslash.ts b/tests/cases/fourslash/fourslash.ts index c13f27a807a..6fa6907a9c0 100644 --- a/tests/cases/fourslash/fourslash.ts +++ b/tests/cases/fourslash/fourslash.ts @@ -686,6 +686,7 @@ declare namespace FourSlashInterface { readonly providePrefixAndSuffixTextForRename?: boolean; readonly allowRenameOfImportPath?: boolean; readonly autoImportFileExcludePatterns?: readonly string[]; + readonly autoImportSpecifierExcludeRegexes?: readonly string[]; readonly preferTypeOnlyAutoImports?: boolean; readonly organizeImportsIgnoreCase?: "auto" | boolean; readonly organizeImportsCollation?: "unicode" | "ordinal"; diff --git a/tests/cases/fourslash/goToDefinitionClassConstructors.ts b/tests/cases/fourslash/goToDefinitionClassConstructors.ts new file mode 100644 index 00000000000..8e57de62f17 --- /dev/null +++ b/tests/cases/fourslash/goToDefinitionClassConstructors.ts @@ -0,0 +1,39 @@ +/// + +// @filename: definitions.ts +//// export class Base { +//// constructor(protected readonly cArg: string) {} +//// } +//// +//// export class Derived extends Base { +//// readonly email = this.cArg.getByLabel('Email') +//// readonly password = this.cArg.getByLabel('Password') +//// } + +// @filename: main.ts +//// import { Derived } from './definitions' +//// const derived = new [|/*Derived*/Derived|](cArg) + +// @filename: defInSameFile.ts +//// import { Base } from './definitions' +//// class SameFile extends Base { +//// readonly name: string = 'SameFile' +//// } +//// const SameFile = new [|/*SameFile*/SameFile|](cArg) +//// const wrapper = new [|/*Base*/Base|](cArg) + +// @filename: hasConstructor.ts +//// import { Base } from './definitions' +//// class HasConstructor extends Base { +//// constructor() {} +//// readonly name: string = ''; +//// } +//// const hasConstructor = new [|/*HasConstructor*/HasConstructor|](cArg) + + +verify.baselineGoToDefinition( + "Derived", + "SameFile", + "HasConstructor", + "Base", +); diff --git a/tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts b/tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts index a5b14993213..4c127338ba5 100644 --- a/tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts +++ b/tests/cases/fourslash/goToDefinitionConstructorOfClassExpression01.ts @@ -2,8 +2,25 @@ ////var x = class C { //// /*definition*/constructor() { -//// var other = new [|/*usage*/C|]; +//// var other = new [|/*xusage*/C|]; //// } ////} +//// +////var y = class C extends x { +//// constructor() { +//// super(); +//// var other = new [|/*yusage*/C|]; +//// } +////} +////var z = class C extends x { +//// m() { +//// return new [|/*zusage*/C|]; +//// } +////} +//// +////var x1 = new [|/*cref*/C|](); +////var x2 = new [|/*xref*/x|](); +////var y1 = new [|/*yref*/y|](); +////var z1 = new [|/*zref*/z|](); -verify.baselineGoToDefinition("usage"); +verify.baselineGoToDefinition("xusage", "yusage", "zusage", "cref", "xref", "yref", "zref"); diff --git a/tests/cases/fourslash/goToDefinitionConstructorOverloads.ts b/tests/cases/fourslash/goToDefinitionConstructorOverloads.ts index 4151e7c708f..d3cb9ec9d51 100644 --- a/tests/cases/fourslash/goToDefinitionConstructorOverloads.ts +++ b/tests/cases/fourslash/goToDefinitionConstructorOverloads.ts @@ -8,9 +8,17 @@ //// ////var constructorOverload = new [|/*constructorOverloadReference1*/ConstructorOverload|](); ////var constructorOverload = new [|/*constructorOverloadReference2*/ConstructorOverload|]("foo"); +//// +////class Extended extends ConstructorOverload { +//// readonly name = "extended"; +////} +////var extended1 = new [|/*extendedRef1*/Extended|](); +////var extended2 = new [|/*extendedRef2*/Extended|]("foo"); verify.baselineGoToDefinition( "constructorOverloadReference1", "constructorOverloadReference2", "constructorOverload1", + "extendedRef1", + "extendedRef2", ); diff --git a/tests/cases/fourslash/inlayHintsInferredTypePredicate1.ts b/tests/cases/fourslash/inlayHintsInferredTypePredicate1.ts new file mode 100644 index 00000000000..fd1de15cd9f --- /dev/null +++ b/tests/cases/fourslash/inlayHintsInferredTypePredicate1.ts @@ -0,0 +1,11 @@ +/// + +// @strict: true + +//// function test(x: unknown) { +//// return typeof x === 'number'; +//// } + +verify.baselineInlayHints(undefined, { + includeInlayFunctionLikeReturnTypeHints: true, +}); diff --git a/tests/cases/fourslash/inlayHintsInteractiveInferredTypePredicate1.ts b/tests/cases/fourslash/inlayHintsInteractiveInferredTypePredicate1.ts new file mode 100644 index 00000000000..88282cf849e --- /dev/null +++ b/tests/cases/fourslash/inlayHintsInteractiveInferredTypePredicate1.ts @@ -0,0 +1,12 @@ +/// + +// @strict: true + +//// function test(x: unknown) { +//// return typeof x === 'number'; +//// } + +verify.baselineInlayHints(undefined, { + interactiveInlayHints: true, + includeInlayFunctionLikeReturnTypeHints: true, +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString1.ts b/tests/cases/fourslash/inlineVariableTemplateString1.ts new file mode 100644 index 00000000000..48df225455a --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString1.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/pizza/*b*/ = "🍕"; +////export const prompt = `Hello, would you like some ${pizza}?`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: "export const prompt = `Hello, would you like some 🍕?`;" +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString10.ts b/tests/cases/fourslash/inlineVariableTemplateString10.ts new file mode 100644 index 00000000000..b6409d3133b --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString10.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/message/*b*/ = "Hello, World!"; +////await $`echo ${((message))}`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: 'await $`echo ${(("Hello, World!"))}`;', +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString11.ts b/tests/cases/fourslash/inlineVariableTemplateString11.ts new file mode 100644 index 00000000000..d626b3e4cf5 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString11.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/pizza/*b*/ = "🍕"; +////export const prompt = `Hello, would you like some ${((pizza))}?`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: "export const prompt = `Hello, would you like some 🍕?`;" +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString2.ts b/tests/cases/fourslash/inlineVariableTemplateString2.ts new file mode 100644 index 00000000000..0984278c135 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString2.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/codeText/*b*/ = "Code-formatted text looks `like this` and requires surrounding by backticks (\\`)."; +////export const mdTutorial = `Let's talk about markdown.\n${codeText}?`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: "export const mdTutorial = `Let's talk about markdown.\\nCode-formatted text looks \\`like this\\` and requires surrounding by backticks (\\\\\\\`).?`;" +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString3.ts b/tests/cases/fourslash/inlineVariableTemplateString3.ts new file mode 100644 index 00000000000..9851f879617 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString3.ts @@ -0,0 +1,15 @@ +/// + +////const /*a*/pizza/*b*/ = "🍕"; +////export const prompt = `Hello, would you like some ${ +//// pizza +//// }?`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: "export const prompt = `Hello, would you like some 🍕?`;" +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString4.ts b/tests/cases/fourslash/inlineVariableTemplateString4.ts new file mode 100644 index 00000000000..9a0dc1805f5 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString4.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/pizza/*b*/ = "🍕"; +////export const prompt = `Hello, would you like some ${pizza} or ${pizza}?`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: "export const prompt = `Hello, would you like some 🍕 or 🍕?`;" +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString5.ts b/tests/cases/fourslash/inlineVariableTemplateString5.ts new file mode 100644 index 00000000000..fd1f1c510b6 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString5.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/pizza/*b*/ = "🍕"; +////export const prompt = `Hello, would you like some ${pizza}`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: "export const prompt = `Hello, would you like some 🍕`;" +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString6.ts b/tests/cases/fourslash/inlineVariableTemplateString6.ts new file mode 100644 index 00000000000..9d04b8f4b29 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString6.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/x/*b*/ = "\\`"; +////export const y = `${x}`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: "export const y = `\\\\\\``;" +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString7.ts b/tests/cases/fourslash/inlineVariableTemplateString7.ts new file mode 100644 index 00000000000..c0315aa54b9 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString7.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/x/*b*/ = "`"; +////export const y = `${x}`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: "export const y = `\\``;" +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString8.ts b/tests/cases/fourslash/inlineVariableTemplateString8.ts new file mode 100644 index 00000000000..82e0abb8562 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString8.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/message/*b*/ = "Hello, World!"; +////await $`echo ${message}`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: 'await $`echo ${"Hello, World!"}`;', +}); \ No newline at end of file diff --git a/tests/cases/fourslash/inlineVariableTemplateString9.ts b/tests/cases/fourslash/inlineVariableTemplateString9.ts new file mode 100644 index 00000000000..fc6ea184796 --- /dev/null +++ b/tests/cases/fourslash/inlineVariableTemplateString9.ts @@ -0,0 +1,13 @@ +/// + +////const /*a*/message/*b*/ = "Hello, World!"; +////await $`echo ${(message)}`; + +goTo.select("a", "b"); +verify.refactorAvailable("Inline variable"); +edit.applyRefactor({ + refactorName: "Inline variable", + actionName: "Inline variable", + actionDescription: "Inline variable", + newContent: 'await $`echo ${("Hello, World!")}`;', +}); \ No newline at end of file diff --git a/tests/cases/fourslash/organizeImports17.ts b/tests/cases/fourslash/organizeImports17.ts index a72a7a054e7..28e3baea056 100644 --- a/tests/cases/fourslash/organizeImports17.ts +++ b/tests/cases/fourslash/organizeImports17.ts @@ -1,10 +1,10 @@ /// //// import { Both } from "module-specifiers-unsorted"; -//// import { case, Insensitively, sorted } from "aardvark"; +//// import { aa, CaseInsensitively, sorted } from "aardvark"; verify.organizeImports( -`import { case, Insensitively, sorted } from "aardvark"; +`import { aa, CaseInsensitively, sorted } from "aardvark"; import { Both } from "module-specifiers-unsorted"; `, ts.OrganizeImportsMode.SortAndCombine, diff --git a/tests/cases/fourslash/refactorInferFunctionReturnTypePredicate1.ts b/tests/cases/fourslash/refactorInferFunctionReturnTypePredicate1.ts new file mode 100644 index 00000000000..b0225622ac1 --- /dev/null +++ b/tests/cases/fourslash/refactorInferFunctionReturnTypePredicate1.ts @@ -0,0 +1,16 @@ +/// + +//// function /*a*//*b*/isString(value: unknown) { +//// return typeof value === "string"; +//// } + +goTo.select("a", "b"); +edit.applyRefactor({ + refactorName: "Infer function return type", + actionName: "Infer function return type", + actionDescription: "Infer function return type", + newContent: +`function isString(value: unknown): value is string { + return typeof value === "string"; +}` +}); diff --git a/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport1.ts b/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport1.ts new file mode 100644 index 00000000000..e42595855e2 --- /dev/null +++ b/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport1.ts @@ -0,0 +1,24 @@ +/// + +// @module: preserve + +// @Filename: /node_modules/@types/react/index.d.ts +//// export declare function useMemo(): void; +//// export declare function useState(): void; + +// @Filename: /package.json +//// {} + +// @Filename: /index.ts +//// import { useState } from "react"; +//// useMemo/**/ + +goTo.marker(""); +verify.importFixAtPosition([ +`import { useMemo, useState } from "react"; +useMemo` +]); + +edit.deleteLine(0); +goTo.marker(""); +verify.importFixAtPosition([]); diff --git a/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport2.ts b/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport2.ts new file mode 100644 index 00000000000..9ab23006a2b --- /dev/null +++ b/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport2.ts @@ -0,0 +1,25 @@ +/// + +// @module: preserve + +// @Filename: /node_modules/@types/react/index.d.ts +//// export declare function useMemo(): void; +//// export declare function useState(): void; + +// @Filename: /package.json +//// {} + +// @Filename: /index.ts +//// useMemo/**/ + +goTo.marker(""); +verify.importFixAtPosition([]); + +goTo.bof(); +edit.insertLine(`import { useState } from "react";`); + +goTo.marker(""); +verify.importFixAtPosition([ +`import { useMemo, useState } from "react"; +useMemo` +]); diff --git a/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport3.ts b/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport3.ts new file mode 100644 index 00000000000..bd0f2f57fa3 --- /dev/null +++ b/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport3.ts @@ -0,0 +1,27 @@ +/// + +// @module: preserve + +// @Filename: /node_modules/@types/node/index.d.ts +//// declare module "node:fs" { +//// export function readFile(): void; +//// export function writeFile(): void; +//// } + +// @Filename: /package.json +//// {} + +// @Filename: /index.ts +//// readFile/**/ + +goTo.marker(""); +verify.importFixAtPosition([]); + +goTo.bof(); +edit.insertLine(`import { writeFile } from "node:fs";`); + +goTo.marker(""); +verify.importFixAtPosition([ +`import { readFile, writeFile } from "node:fs"; +readFile` +]); \ No newline at end of file