Skip to content

Commit

Permalink
chore(provider): remove unnecessary type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybotha committed Jul 19, 2018
1 parent 68e51dc commit 65dcfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Provider} from './types/providers';

export const fetchProvider: Provider = (url: string, data, requestConfig: object) => {
export const fetchProvider: Provider = (url, data, requestConfig) => {
return fetch(url, {...requestConfig, body: JSON.stringify(data)}).then((res: any) => {
if (!res.ok) {
throw res.json();
Expand Down

0 comments on commit 65dcfd0

Please sign in to comment.