Remove flow defs and usage, will be using TS

This commit is contained in:
Dane Everitt 2018-12-16 14:11:56 -08:00
parent 8fd0e5ff57
commit cc7f7d7123
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
10 changed files with 110 additions and 88 deletions

View file

@ -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',