Closed sicin closed 5 months ago
Hi, everything looks alright. When you're converting existing files to typescript, it's worthwhile to also update some outdated code, like .then
to async-await syntax, or Object.assign
to spread ({...thing}
). But this is also good enough.
The PR doesn't change functionality, those are TypeScript changes with some slight tweaks to logic (e.g. LyricsView component lyricsStr creation, return type of lyricsSearchSuccess did not make much sense to me as it was never an array) and naming (lyric -> lyrics in function names and enums)
I guess Nuki-chan might be unhappy package-lock.json has been changed, but since I'm a new contributor who just did a fresh
npm install
a few days ago, I don't really understand why @nuclear/scanner is not in the dependencies of core. You can verify that I just didnpm install
and didn't change it directly by creating a fresh package-lock on your machine.Since it's my first commit here, I welcome any feedback, especially since I'm still unsure what's the current gold standard for some of the functionalities/components. I'm happy to learn, help and hope to continue contributing.