mirror of https://github.com/OpenVidu/openvidu.git
ov-components: update package dependencies and TypeScript configurations
- Added @types/dom-mediacapture-transform to package.json for type definitions. - Changed hoveringTimeout type in StreamComponent to ReturnType<typeof setTimeout> for better type safety. - Updated TypeScript lib version from ES2020 to ES2021 in tsconfig files for improved features. - Included dom-mediacapture-transform in types for TypeScript configurations across various tsconfig files. - Removed empty types array in tsconfig.app.json to ensure proper type checking. - Adjusted skipLibCheck settings in tsconfig files to improve compatibility with Livekit track processors.master
parent
8ce155df6a
commit
760cf604eb
File diff suppressed because it is too large
Load Diff
|
@ -10,6 +10,7 @@
|
|||
"@angular/platform-browser-dynamic": "19.2.8",
|
||||
"@angular/router": "19.2.8",
|
||||
"@livekit/track-processors": "^0.5.6",
|
||||
"@types/dom-mediacapture-transform": "^0.1.11",
|
||||
"autolinker": "4.0.0",
|
||||
"livekit-client": "2.11.4",
|
||||
"rxjs": "7.8.1",
|
||||
|
|
|
@ -68,7 +68,7 @@ export class StreamComponent implements OnInit, OnDestroy {
|
|||
/**
|
||||
* @ignore
|
||||
*/
|
||||
hoveringTimeout: NodeJS.Timeout;
|
||||
hoveringTimeout: ReturnType<typeof setTimeout>;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"outDir": "../../dist/openvidu-components-angular",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"lib": ["ES2020", "DOM"],
|
||||
"lib": ["ES2021", "DOM"],
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"declaration": true,
|
||||
|
@ -13,9 +13,10 @@
|
|||
"declarationMap": true,
|
||||
"inlineSources": true,
|
||||
"resolveJsonModule": true,
|
||||
"types": ["jasmine", "node"],
|
||||
"types": ["jasmine", "node", "dom-mediacapture-transform"],
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"skipLibCheck": true // Livekit track processors fails with typescript types checking
|
||||
"skipDefaultLibCheck": true // Livekit track processors fails with typescript types checking
|
||||
//"skipLibCheck": true // Livekit track processors fails with typescript types checking
|
||||
},
|
||||
"exclude": ["node_modules", "src/test.ts", "**/*.spec.ts", "**/*.mock.ts"]
|
||||
}
|
||||
|
|
|
@ -3,14 +3,13 @@
|
|||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../out-tsc/spec",
|
||||
"types": [
|
||||
"jasmine",
|
||||
"node"
|
||||
],
|
||||
"lib": ["ES2021", "DOM"],
|
||||
"types": ["jasmine", "node", "dom-mediacapture-transform"],
|
||||
"moduleResolution": "node",
|
||||
"experimentalDecorators": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true // Livekit track processors fails with typescript types checking
|
||||
"skipDefaultLibCheck": true // Livekit track processors fails with typescript types checking
|
||||
//"skipLibCheck": true // Livekit track processors fails with typescript types checking
|
||||
},
|
||||
"files": [
|
||||
"src/test.ts"
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./out-tsc/app",
|
||||
"types": [],
|
||||
"paths": {
|
||||
"openvidu-components-angular": [
|
||||
"dist/openvidu-components-angular"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
"module": "es2020",
|
||||
"lib": ["es2021", "dom"],
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"skipLibCheck": true // Livekit track processors fails with typescript types checking
|
||||
"types": ["dom-mediacapture-transform"],
|
||||
"skipDefaultLibCheck": true, // Livekit track processors fails with typescript types checking
|
||||
///"skipLibCheck": true // Livekit track processors fails with typescript types checking
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./out-tsc/spec",
|
||||
"types": [
|
||||
"jasmine", "node"
|
||||
]
|
||||
},
|
||||
"files": [
|
||||
"src/test.ts"
|
||||
|
|
Loading…
Reference in New Issue