highlightjs / highlightjs/vue-plugin

TS1444: 'Plugin' is a type

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
241
Forks
29
PR merge metrics
No merged PRs in 30d

Description

scr/vue.js
```TypeScript
1: import { ref, h, computed, defineComponent, Plugin, watch } from 'vue'
```

The first line in this file to import the type 'plugin' should be marked with 'type'. Currently, when packaging with TS, an error is printed in the console and the packaging process is interrupted.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.