I gave this another try today, it still doesn’t work with the 6.5.0 packages and typescript 4.9.5. Until we upgrade to Angular 16 in a few months, this is the highest version of typescript we can use. We may have to stick with version 5.57.1 for now.
Our application is massive, I don’t have a good way to give you a simple example you can use for debugging. The best I can do is share our package.json and the relevant settings in tsconfig.json:
We have included “dom” in our tsconfig.json file:
“lib”: [
“ES2020”,
“dom”,
“dom.iterable”
],
“dependencies”: {
“@angular/animations”: “^15.2.9”,
“@angular/cdk”: “^15.2.9”,
“@angular/common”: “^15.2.9”,
“@angular/compiler”: “^15.2.9”,
“@angular/core”: “^15.2.9”,
“@angular/flex-layout”: “^15.0.0-beta.42”,
“@angular/forms”: “^15.2.9”,
“@angular/material”: “^15.2.9”,
“@angular/platform-browser”: “^15.2.9”,
“@angular/platform-browser-dynamic”: “^15.2.9”,
“@angular/router”: “^15.2.9”,
“@babylonjs/core”: “^6.5.0”,
“@babylonjs/gui”: “^6.5.0”,
“@babylonjs/loaders”: “^6.5.0”,
“@babylonjs/materials”: “^6.5.0”,
“@brightlayer-ui/angular-themes”: “^9.0.0-alpha.5”,
“@ngx-translate/core”: “^14.0.0”,
“ag-grid-angular”: “^29.3.5”,
“ag-grid-community”: “^29.3.5”,
“deepmerge-ts”: “~4.3.0”,
“ngx-quill”: “20.0.1”,
“ngx-translate-multi-http-loader”: “~9.3.2”,
“quill”: “^1.3.7”,
“quill-image-compress”: “^1.2.30”,
“rxjs”: “^7.8.1”,
“typeface-open-sans”: “^1.1.13”,
“zone.js”: “^0.13.0”
},
“devDependencies”: {
“@angular-devkit/build-angular”: “^15.2.8”,
“@angular/cli”: “^15.2.8”,
“@angular/compiler-cli”: “^15.2.9”,
“@angular/language-service”: “^15.2.9”,
“@types/jasmine”: “~4.3.0”,
“@types/jasminewd2”: “~2.0.10”,
“@types/node”: “^18.16.14”,
“@types/react”: “^18.2.7”,
“@types/react-dom”: “^18.2.4”,
“babylonjs-gltf2interface”: “^6.5.0”,
“codelyzer”: “^6.0.2”,
“jasmine-core”: “~4.5.0”,
“jasmine-spec-reporter”: “~7.0.0”,
“karma”: “~6.4.1”,
“karma-chrome-launcher”: “^3.2.0”,
“karma-coverage-istanbul-reporter”: “~3.0.3”,
“karma-jasmine”: “~5.1.0”,
“karma-jasmine-html-reporter”: “^2.0.0”,
“ng-packagr”: “~15.2.2”,
“protractor”: “~7.0.0”,
“ts-node”: “~10.9.1”,
“tslint”: “^6.1.3”,
“typescript”: “^4.9.5”
}