Kylart / MalScraper

Scrape everything you can from MyAnimeList.net
MIT License
175 stars 50 forks source link

Error: A 'declare' modifier cannot be used in an already ambient context. #103

Closed Aeden-B closed 1 year ago

Aeden-B commented 1 year ago

With mal-scraper 2.12.0 and typescript 5.0.2 :

It seems that the declare at https://github.com/Kylart/MalScraper/blob/dev/src/index.d.ts#L4 declare let search: Search; need to be remove.

Without it, the transpilation is working