Skip to content

Commit 5ae96c0

Browse files
authored
🤖 Merge PR DefinitelyTyped#72267 feat(chivox_types): add MediaStream property and update TypeScript lib options by @ZaneL1u
1 parent 653c661 commit 5ae96c0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

types/chivox_h5sdk/src/html5/html5recorder.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ declare class Html5Recorder {
1818
*/
1919
record<T extends ChivoxCoreType>(param: import("../../options").ChivoxRecordOptions<T>): void;
2020

21+
stream: MediaStream | null;
22+
2123
/**
2224
* 停止录音
2325
*

types/chivox_h5sdk/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"compilerOptions": {
33
"lib": [
4-
"es6"
4+
"es6",
5+
"esnext",
6+
"dom"
57
],
68
"module": "commonjs",
79
"types": [],

0 commit comments

Comments
 (0)