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/platform-browser-dynamic": "19.2.8",
|
||||||
"@angular/router": "19.2.8",
|
"@angular/router": "19.2.8",
|
||||||
"@livekit/track-processors": "^0.5.6",
|
"@livekit/track-processors": "^0.5.6",
|
||||||
|
"@types/dom-mediacapture-transform": "^0.1.11",
|
||||||
"autolinker": "4.0.0",
|
"autolinker": "4.0.0",
|
||||||
"livekit-client": "2.11.4",
|
"livekit-client": "2.11.4",
|
||||||
"rxjs": "7.8.1",
|
"rxjs": "7.8.1",
|
||||||
|
|
|
@ -68,7 +68,7 @@ export class StreamComponent implements OnInit, OnDestroy {
|
||||||
/**
|
/**
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
hoveringTimeout: NodeJS.Timeout;
|
hoveringTimeout: ReturnType<typeof setTimeout>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ignore
|
* @ignore
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"outDir": "../../dist/openvidu-components-angular",
|
"outDir": "../../dist/openvidu-components-angular",
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"lib": ["ES2020", "DOM"],
|
"lib": ["ES2021", "DOM"],
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
@ -13,9 +13,10 @@
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
"inlineSources": true,
|
"inlineSources": true,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"types": ["jasmine", "node"],
|
"types": ["jasmine", "node", "dom-mediacapture-transform"],
|
||||||
"allowSyntheticDefaultImports": true,
|
"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"]
|
"exclude": ["node_modules", "src/test.ts", "**/*.spec.ts", "**/*.mock.ts"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,14 +3,13 @@
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "../../out-tsc/spec",
|
"outDir": "../../out-tsc/spec",
|
||||||
"types": [
|
"lib": ["ES2021", "DOM"],
|
||||||
"jasmine",
|
"types": ["jasmine", "node", "dom-mediacapture-transform"],
|
||||||
"node"
|
|
||||||
],
|
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"resolveJsonModule": 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": [
|
"files": [
|
||||||
"src/test.ts"
|
"src/test.ts"
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
"extends": "./tsconfig.base.json",
|
"extends": "./tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./out-tsc/app",
|
"outDir": "./out-tsc/app",
|
||||||
"types": [],
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"openvidu-components-angular": [
|
"openvidu-components-angular": [
|
||||||
"dist/openvidu-components-angular"
|
"dist/openvidu-components-angular"
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
"module": "es2020",
|
"module": "es2020",
|
||||||
"lib": ["es2021", "dom"],
|
"lib": ["es2021", "dom"],
|
||||||
"allowSyntheticDefaultImports": true,
|
"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",
|
"extends": "./tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./out-tsc/spec",
|
"outDir": "./out-tsc/spec",
|
||||||
"types": [
|
|
||||||
"jasmine", "node"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"src/test.ts"
|
"src/test.ts"
|
||||||
|
|
Loading…
Reference in New Issue