Correct a dependency resolution failure in generated angular typescript packages for Angular 12 (#10525)

* Update version

* Rebuild sample
This commit is contained in:
andrew-matteson 2021-10-05 04:14:58 -04:00 committed by GitHub
parent f5e8f54b21
commit 22d98c177d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ public class TypeScriptAngularClientCodegen extends AbstractTypeScriptClientCode
// Set the typescript version compatible to the Angular version // Set the typescript version compatible to the Angular version
if (ngVersion.atLeast("12.0.0")) { if (ngVersion.atLeast("12.0.0")) {
additionalProperties.put("tsVersion", ">=4.2.3 <4.3.0"); additionalProperties.put("tsVersion", ">=4.3.0 <4.4.0");
} else if (ngVersion.atLeast("11.0.0")) { } else if (ngVersion.atLeast("11.0.0")) {
additionalProperties.put("tsVersion", ">=4.0.0 <4.1.0"); additionalProperties.put("tsVersion", ">=4.0.0 <4.1.0");
} else if (ngVersion.atLeast("10.0.0")) { } else if (ngVersion.atLeast("10.0.0")) {

View File

@ -25,7 +25,7 @@
"reflect-metadata": "^0.1.3", "reflect-metadata": "^0.1.3",
"rxjs": "^6.6.0", "rxjs": "^6.6.0",
"tsickle": "^0.43.0", "tsickle": "^0.43.0",
"typescript": ">=4.2.3 <4.3.0", "typescript": ">=4.3.0 <4.4.0",
"zone.js": "^0.11.4" "zone.js": "^0.11.4"
}, },
"publishConfig": { "publishConfig": {