mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-16 12:50:42 +08:00
Cheerio: changed "import module" to "import require"
This commit is contained in:
1 parent
c662aa0fbb
commit
0243aa7790
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
/// <reference path="cheerio.d.ts" />
|
||||
|
||||
import cheerio = module("cheerio");
|
||||
import cheerio = require("cheerio");
|
||||
|
||||
var $ = cheerio.load("<html></html>");
|
||||
var $el = $('selector');
|
||||
|
||||
Reference in new issue
Block a user