nuxt / movies

🍿 A TMDB client built with Nuxt 3
https://movies.nuxt.space
MIT License
1.97k stars 277 forks source link

chore: add missing method import declare #52

Closed GumplinGo closed 6 months ago

GumplinGo commented 6 months ago

This missing does not create any error, but fix it may be better.

atinux commented 6 months ago

Since we have the auto import I believe the line can be safely removed instead.

GumplinGo commented 6 months ago

Since we have the auto import I believe the line can be safely removed instead.

I just found that "onKeyDown - alias for onKeyStroke(key, handler, {eventName: 'keydown'}) " in the Vueuse docs. When I try to remove this line, type error appear!😂 There is not auto import magic for this method and the manual import is necessary.