Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Diogo Franco (Kovensky)
ae053e2298
Add test for headers change
2016-11-28 13:22:35 +09:00
Diogo Franco
b733dcefe8
Better typing for headers
...
Lack of indexing in `AxiosXHR#headers` made it unusable without casting.
Requests / Responses with more than one instance of the same header make the value be a `string[]`. Often happens with headers like `Set-Cookie`.
2016-11-28 13:12:39 +09:00
zhengbli
5a5ababe92
Merge remote-tracking branch 'origin/master' into zhengbli_merge
2016-10-24 22:48:38 -07:00
Ryan Price
e6215d4444
Define string key for AxiosXHRConfigBase.headers ( #11976 )
...
When setting headers, tsc complains that "Index signature of object type implicitly has an 'any' type."
E.g. ajaxSettings.headers["Authorization"] = "secret";
2016-10-16 23:26:54 +09:00
Ryan Cavanaugh
c33a46c3d5
Merge commit 'upstream/master~200' into merge_7_25
2016-07-26 18:25:24 -07:00
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
Kensuke Matsuzaki
b38089d5a6
Add axios config defaults definitions
2016-06-29 19:14:25 +09: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
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
Joe Schafer
fccd7d8e6f
axios: add functions to InterceptorManger
...
Both the request and response interceptor are InterceptorManager's
https://github.com/mzabriskie/axios/blob/master/lib/core/InterceptorManager.js
So, they have `use` and `eject`.
2016-02-27 17:08:41 -05:00
marcelbuesing
ec7740ba88
Update axios definitions to v0.8.1
2016-01-20 20:45:29 +01:00
Jason
73f1ee61d9
remove dependency on es6-promise.d.ts (it prevented using with other promise library definitions)
2016-01-16 11:20:17 -08:00
Denis Sokolov
b84e715a3b
axios: allow transformRequest to take a list
2015-10-02 13:20:24 +03:00
mbuesing
1e6120577b
Fix axios definitions by removing enums and config generic
2015-03-25 08:18:32 +01:00
mbuesing
d3a49ecfbf
Add definitions for axios
2015-03-19 21:46:16 +01:00