mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Support ES6 import syntax
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/// <reference path="cheerio.d.ts" />
|
||||
|
||||
import cheerio = require('cheerio');
|
||||
import cheerio from 'cheerio';
|
||||
|
||||
/*
|
||||
* LOADING
|
||||
|
||||
Vendored
+1
-1
@@ -257,5 +257,5 @@ interface CheerioAPI extends CheerioSelector {
|
||||
declare var cheerio:CheerioAPI;
|
||||
|
||||
declare module "cheerio" {
|
||||
export = cheerio;
|
||||
export default cheerio;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user