Skip to content

register function is not properly exported in TS definition #379

@rdhainaut

Description

@rdhainaut

Describe the bug

register function is not properly exported in TS definitions
So, it s not possible to use properly register function in typescript project and vue-advanced-chat component without an compilation error...

Steps to reproduce

I have created a repo https://github.com/rdhainaut/vue-advanced-chat-register-issue
Note: I have generated a basic vue 2 project from vue-cli (with typescript)

Expected behavior

no error in ts project

Fix

//vue-advanced-chat/types.index.d.ts
export function register(): void;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedThe issues was fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions