Skip to content

ESLint - ref to vng.Instance issue #167

@joeyberkovitz

Description

@joeyberkovitz

When creating a ref to the Instance, such as const graph = ref<vNG.Instance>(), you get the following message from ESLint: `Exported variable 'graph' has or is using name 'Props' from external module ".../node_modules/v-network-graph/lib/components/VNetworkGraph.vue" but cannot be named.

It appears that this is triggered by the Props interface not being exported from https://github.com/dash14/v-network-graph/blob/main/src/components/VNetworkGraph.vue#L52.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions