Skip to content

Missing .d.ts #9

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

Closed
andrey-zakharov opened this issue Apr 17, 2019 · 2 comments
Closed

Missing .d.ts #9

andrey-zakharov opened this issue Apr 17, 2019 · 2 comments

Comments

@andrey-zakharov
Copy link

Trying to use it with typescript and compiler gives error:

Could not find a declaration file for module 'rete-vue-render-plugin'.

.

@Ni55aN
Copy link
Member

Ni55aN commented Apr 17, 2019

Is this an error or warning? If it's error, you can create index.d.ts with the next content

declare const _default: {
    name: string,
    install: Function,
    mixin: any,
    Node: any,
    Socket: any
};
export default _default;

@Ni55aN
Copy link
Member

Ni55aN commented Apr 17, 2019

microsoft/TypeScript#15031 (comment)

@Ni55aN Ni55aN closed this as completed Apr 21, 2019
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

2 participants