mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Support ES6 import syntax
This commit is contained in:
1 parent
2004f8fc47
commit
3e6f9cbd89
2 files changed
+2
-2
No files matched your search
@@ -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