2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-11 18:02:32 +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).
## TypeScript
axios includes a [TypeScript](http://typescriptlang.org) definition.
axios includes [TypeScript](http://typescriptlang.org) definitions.
```typescript
/// <reference path="axios.d.ts" />
import * as axios from 'axios';
import axios from 'axios';
axios.get('/user?ID=12345');
```