chore: TypeScript 5.2 with Nx 16.8.1 (#10380)

This commit is contained in:
Nathan Walker
2023-09-09 08:55:39 -07:00
committed by GitHub
parent f54ebbb2bf
commit 7c2938d2ac
28 changed files with 612 additions and 793 deletions

View File

@ -1,6 +1,6 @@
{
"useTabs": true,
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true
"useTabs": true,
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true
}

View File

@ -54,20 +54,20 @@
"webpack-virtual-modules": "^0.4.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.1.0",
"@angular-devkit/build-angular": "^16.2.0",
"@types/css": "0.0.33",
"@types/jest": "29.5.2",
"@types/jest": "29.5.4",
"@types/loader-utils": "2.0.3",
"@types/lodash.get": "4.4.7",
"@types/micromatch": "4.0.2",
"@types/sax": "1.2.4",
"@types/terser-webpack-plugin": "5.2.0",
"@types/webpack-virtual-modules": "0.1.1",
"jest": "29.5.0",
"jest-matcher-utils": "29.4.1",
"jest": "~29.6.4",
"jest-matcher-utils": "~29.6.4",
"nativescript-vue-template-compiler": "2.9.3",
"ts-jest": "29.1.0",
"typescript": "5.1.6"
"ts-jest": "29.1.1",
"typescript": "~5.2.0"
},
"peerDependencies": {
"nativescript-vue-template-compiler": "^2.8.1"

View File

@ -21,12 +21,12 @@ WorkerDependency.Template.prototype.apply = function apply(
) {
const { chunkGraph, moduleGraph, runtimeRequirements } = templateContext;
const dep = /** @type {WorkerDependency} */ dependency;
const block = /** @type {AsyncDependenciesBlock} */ moduleGraph.getParentBlock(
dependency
);
const entrypoint = /** @type {Entrypoint} */ chunkGraph.getBlockChunkGroup(
block
);
const block =
/** @type {AsyncDependenciesBlock} */ moduleGraph.getParentBlock(
dependency
);
const entrypoint =
/** @type {Entrypoint} */ chunkGraph.getBlockChunkGroup(block);
const chunk = entrypoint.getEntrypointChunk();
// runtimeRequirements.add(RuntimeGlobals.publicPath);

View File

@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
},
"include": ["src"]
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
},
"include": ["src"]
}