Closed davestewart closed 5 years ago
Hi, im veryvery new to typescript andy basicly dont know what i am doing so... for make this works for me (just copy&pasted from vuex definitions)
import {ActionTree, GetterTree, MutationTree} from 'vuex'
export namespace make {
function actions<S, R>(state: S, only?: string | string[] | object): ActionTree<S, R>;
function getters<S, R>(state: S, only?: string | string[] | object): GetterTree<S, R>;
function mutations<S>(state: S, only?: string | string[] | object): MutationTree<S>;
}
I just released my first TS project actually, so I have more than "no idea" now, which I did when this ticket was raised!
I'll try to take a look over the weekend
hey @davestewart, I can take this up probably, How are you looking to integrate ts?
Hey Sandip!
Thanks for the offer of help.
Since originally posting, I've been working with TS on a regular basis, though not sure I have the understanding yet to build a typings file!
So maybe to start with, why don't you tell me what I need?
@davestewart, I committed #38 and I hope it solves this issue completely.
Kind Regards,
Awesome! I've commented in the PR
Can anyone help with generating a working typescript typings file?
Any also, what to do with it!? 😝
I got as far as this with a generator and some guessing: