2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-23 20:40:40 +03:00

Update README.md

This commit is contained in:
Nick Uraltsev
2016-08-27 09:37:15 -07:00
committed by GitHub
parent 20666942d6
commit 8bbe4c86b6
+2 -3
View File
@@ -467,10 +467,9 @@ axios depends on a native ES6 Promise implementation to be [supported](http://ca
If your environment doesn't support ES6 Promises, you can [polyfill](https://github.com/jakearchibald/es6-promise). If your environment doesn't support ES6 Promises, you can [polyfill](https://github.com/jakearchibald/es6-promise).
## TypeScript ## TypeScript
axios includes a [TypeScript](http://typescriptlang.org) definition. axios includes [TypeScript](http://typescriptlang.org) definitions.
```typescript ```typescript
/// <reference path="axios.d.ts" /> import axios from 'axios';
import * as axios from 'axios';
axios.get('/user?ID=12345'); axios.get('/user?ID=12345');
``` ```