2
0
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:
Nick Uraltsev
2016-08-09 23:17:11 -07:00
parent 8332392bfd
commit 5176dfdec5
4 changed files with 70 additions and 69 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
/// <reference path="../../axios.d.ts" />
import axios = require('axios');
import axios from '../../';
axios.get('/user?ID=12345')
.then(function (response) {