Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript definitions #32

Closed
FantasticFiasco opened this issue Sep 21, 2017 · 1 comment
Closed

TypeScript definitions #32

FantasticFiasco opened this issue Sep 21, 2017 · 1 comment

Comments

@FantasticFiasco
Copy link

Do you know if there are any type definitions for this library? Perhaps I am one of very few that use TypeScript and Vue in combination?

@FantasticFiasco
Copy link
Author

For future reference one can add the following code to a file called vue-waterfall.d.ts;

declare module 'vue-waterfall' {
    import Vue from 'vue';

    export class Waterfall extends Vue {
    }

    export class WaterfallSlot extends Vue {
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant