mirror of
https://github.com/tenrok/axios.git
synced 2026-06-05 16:42:32 +03:00
Converting TypeScript definitions to ES2015 module syntax
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/// <reference path="../../axios.d.ts" />
|
||||
|
||||
import axios = require('axios');
|
||||
import axios from '../../';
|
||||
|
||||
axios.get('/user?ID=12345')
|
||||
.then(function (response) {
|
||||
|
||||
Reference in New Issue
Block a user