Merge pull request #5687 from rhysd/patch-1

Fixed exporting cheerio module
This commit is contained in:
Horiuchi_H
2015-09-08 10:22:30 +09:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/// <reference path="cheerio.d.ts" />
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
/*
* LOADING
+1 -1
View File
@@ -262,5 +262,5 @@ interface CheerioAPI extends CheerioSelector {
declare var cheerio:CheerioAPI;
declare module "cheerio" {
export default cheerio;
export = cheerio;
}