glitch-javascript-sdk 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,7 +57,7 @@ class Requests {
57
57
  fileData?: any
58
58
  ): AxiosPromise<Response<T>> {
59
59
 
60
- let headers = {
60
+ let headers : { [key: string]: string } = {
61
61
  'Content-Type': 'application/json',
62
62
  };
63
63
 
@@ -145,7 +145,7 @@ class Requests {
145
145
  * @param data
146
146
  * @returns
147
147
  */
148
- public static processRoute<T>(route : Route, data? : object, routeReplace? : object) : AxiosPromise<Response<T>> {
148
+ public static processRoute<T>(route : Route, data? : object, routeReplace? : {[key: string]: any}) : AxiosPromise<Response<T>> {
149
149
 
150
150
  let url = route.url;
151
151