Commit Graph

39 Commits

Author SHA1 Message Date
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Horiuchi_H
ec9eb4b28c Merge pull request #8872 from OleksandrNechai/patch-1
Add overload for replaceWith accepting function
2016-04-07 17:53:13 +09:00
Oleksandr Nechai
c2c6c7bd93 Add overload for replaceWith accepting function
http://api.jquery.com/replacewith/#replaceWith-function
2016-04-06 20:19:17 +03:00
Abd ar-Rahman Hamidi
c0ae122b17 Add overloading to get method
e.g.

```ts
$("a[href]").map((index, element) => $(element).attr("href")).get();
```

it returns an array of strings
2016-04-06 12:11:39 +05:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
rhysd
365b6ffc7c Fix exporting cheerio module
cheerio is intended to be used as below:

```javascript
var cheerio = require('cheerio'),
    $ = cheerio.load('<h2 class="title">Hello world</h2>');
```

So we should use `import * as cheerio from "cheerio"` in TypeScript.
However, `cheerio` was defined with `export default` in cheerio.d.ts.
2015-09-04 17:23:11 +09:00
vvakame
9960f3c353 fix cheerio/cheerio-tests.ts 2015-09-03 21:56:56 +09:00
Almouro
81166431fe Updated Cheerio Element definition according to doc 2015-08-16 12:12:51 +02:00
Almouro
3e6f9cbd89 Support ES6 import syntax 2015-08-16 12:12:50 +02:00
Almouro
2004f8fc47 Updated definition and tests to reflect Cheerio doc 2015-08-16 12:12:50 +02:00
Almouro
5d0102d544 Add ability to create element without using load 2015-08-16 12:12:50 +02:00
Guillaume Mouron
e514901e94 Cheerio: Missing function definition "contents()"
See api documentation : https://github.com/cheeriojs/cheerio#contents
2015-08-08 19:55:35 +02:00
Guillaume Mouron
7ad636e4f8 [CHEERIO] The find function can also take a cheerio element as an argument
cf. documentation : https://github.com/cheeriojs/cheerio#findnode
2015-07-19 19:14:43 +02:00
Wayne Maurer
7961ac184b cheerio: fixed format of header as suggested by Bartvds - https://github.com/borisyankov/DefinitelyTyped/pull/2588 2014-07-31 17:29:48 +02:00
Wayne Maurer
a664ce369b added static html() methods to cheerio 2014-07-30 21:17:53 +02:00
vvakame
05545a1586 restore cheerio.d.ts's 1st author 2014-07-10 14:10:22 +09:00
VILIC VANE
8b2b1f3f85 remove the old definition files 2014-06-17 16:59:50 +08:00
VILIC VANE
173e516840 update reference 2014-06-17 16:56:37 +08:00
VILIC VANE
607b885c20 add old version of cheerio.d.ts 2014-06-17 16:48:40 +08:00
VILIC VANE
38466bd677 change return type of data() to any 2014-06-17 16:43:35 +08:00
VILIC VANE
cc273d67ec remove old one 2014-06-17 14:45:58 +08:00
VILIC VANE
507a26a9ed cheerio v0.17.0 definitions 2014-06-15 16:27:36 +08:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
gstamac
0243aa7790 Cheerio: changed "import module" to "import require" 2013-08-23 12:39:34 +02:00
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
Neil Stalker
25127bf917 fix cheerio for TS 0.9 2013-06-21 16:08:00 +01:00
Boris Yankov
e2ee972a23 Update readme and metadata for Cheerio 2013-01-25 02:51:07 +02:00
Bret Little
e8197e3172 Add cheerio typescript definition 2013-01-24 15:48:28 -07:00