Remove flow defs and usage, will be using TS
This commit is contained in:
parent
8fd0e5ff57
commit
cc7f7d7123
10 changed files with 110 additions and 88 deletions
|
@ -1,12 +1,10 @@
|
|||
// @flow
|
||||
import axios from 'axios';
|
||||
import type { AxiosInstance } from 'axios';
|
||||
|
||||
// This token is set in the bootstrap.js file at the beginning of the request
|
||||
// and is carried through from there.
|
||||
// const token: string = '';
|
||||
|
||||
const http: AxiosInstance = axios.create({
|
||||
const http = axios.create({
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'Accept': 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
|
|
Reference in a new issue