-
Notifications
You must be signed in to change notification settings - Fork 160
Please add TypeScript definitions #49
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Did anyone get this working with Vue & Typescript? I created a vue-progress.d.ts file in my project and added the following but I'm still getting issues: import Vue from "vue";
interface ProgressMethods {
start: void;
finish: void;
fail: void;
}
declare module "vue/types/vue" {
interface Vue {
$Progress: ProgressMethods;
}
} |
I played around with it a bit more today and came up with this which seems to have satisfied TypeScript. vue-progressbar.d.ts
|
Any updates here? |
run |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
It would be great if this plugin was usable in typescript projects!
Consider adding it so it can be installed via (@)types/vue-progressbar
The text was updated successfully, but these errors were encountered: