Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
Add type declartions to @reststate/vuex
Browse files Browse the repository at this point in the history
  • Loading branch information
rtzll committed Nov 13, 2020
1 parent 71299f0 commit 1968b1a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions reststate.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Axios from 'axios';

import AxiosInstance from 'axios';
import { Module } from 'vuex';

declare module '@reststate/vuex';
// function resourceModule(name: string, httpClient: AxiosInstance): any;
export function mapResourceModules(
names: string[],
httpClient: typeof AxiosInstance
): Module<any, any>[];

0 comments on commit 1968b1a

Please sign in to comment.