ref(TS) Improve TS (#13355)

This commit is contained in:
Robert Pintilii
2023-05-16 12:34:30 +03:00
committed by GitHub
parent 1af90a208e
commit 59f1ee1e1e
15 changed files with 41 additions and 61 deletions

View File

@@ -57,7 +57,7 @@ class SoundCollection extends Component<IProps> {
sounds.push(
React.createElement(
Audio, {
key, // @ts-ignore
key,
setRef: this._setRef.bind(this, soundId),
src,
loop: options?.loop