mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Cheerio: changed "import module" to "import require"
This commit is contained in:
@@ -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