commit 681ed8ea7418ffc915c424ba1b4cd1a3be18faf7 parent 0a66e10d32af93f66afc7ce32234beba9a920f2d Author: Fredrik <moi@knutsen.co> Date: Thu, 19 Mar 2020 05:04:08 +0000 Imports and requires man... Diffstat:
M | lib/api/yt_scrape.ts | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/api/yt_scrape.ts b/lib/api/yt_scrape.ts @@ -1,4 +1,4 @@ -import * as search from 'scrape-youtube'; +const search = require('scrape-youtube'); // How the hell do I write this as an import statement? import '../extensions'; type YTSearch = {