Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Jun 11, 2024
1 parent 8845f67 commit d8a1383
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"flowgen": "^1.21.0",
"jest": "^29.3.1",
"prettier": "^3.3.0",
"react": "^18.3.1",
"react-native": "^0.74.2",
"typescript": "^4.9.4"
},
Expand Down
7 changes: 5 additions & 2 deletions src/NativeAudioRecorderPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ export interface Spec extends TurboModule {
startRecorder(
uri: string,
meteringEnabled: boolean,
audioSets?: Object,
audioSets?: Record<string, unknown>,
): Promise<string>;
resumeRecorder(): Promise<string>;
pauseRecorder(): Promise<string>;
stopRecorder(): Promise<string>;
setVolume(volume: Double): Promise<string>;
startPlayer(uri: string, httpHeaders?: Object): Promise<string>;
startPlayer(
uri: string,
httpHeaders?: Record<string, unknown>,
): Promise<string>;
resumePlayer(): Promise<string>;
pausePlayer(): Promise<string>;
seekToPlayer(time: Double): Promise<string>;
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5238,6 +5238,13 @@ react-shallow-renderer@^16.15.0:
object-assign "^4.1.1"
react-is "^16.12.0 || ^17.0.0 || ^18.0.0"

react@^18.3.1:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891"
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
dependencies:
loose-envify "^1.1.0"

readable-stream@^3.4.0:
version "3.6.2"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967"
Expand Down

0 comments on commit d8a1383

Please sign in to comment.