Copay / krcparse

simple caraoke host
https://krcparse.vercel.app
GNU Affero General Public License v3.0
1 stars 1 forks source link

api/163/[163].ts(8,52): error TS2339: Property 'songs' does not exist on type 'unknown'. #1

Open scgm0 opened 9 months ago

scgm0 commented 9 months ago

api/163/[163].ts(8,52): error TS2339: Property 'songs' does not exist on type 'unknown'.

Sinofine commented 7 months ago

It works on my machine. Please provide further information.

Sinofine commented 7 months ago

The typescript type is just a mock of the real type unknown to us, so if this encounters, you can shadow it by making it anyscript.

scgm0 commented 7 months ago

It works on my machine. Please provide further information.

https://krcparse.sinofine.me/

Sinofine commented 7 months ago

It works on my machine. Please provide further information.

https://krcparse.sinofine.me/ Uh I see. You may use https://github.com/Copay/CaraokeHost instead, which is pure javascript.

scgm0 commented 7 months ago

It works on my machine. Please provide further information.它适用于我的机器。请提供进一步资料。

https://krcparse.sinofine.me/ Uh I see. You may use https://github.com/Copay/CaraokeHost instead, which is pure javascript.呃,我明白了。你可以改用 https://github.com/Copay/CaraokeHost,这是纯javascript

谢谢!

Sinofine commented 7 months ago

Maybe I should redirect krcparse to CaraokeHost, since the latter provides full features that the krcparse provided in a compatible manner, altogether with features like querying lyrics with music id directly.

Sinofine commented 7 months ago

The code in the repo is fixed. Now you can freely use that.