Skip to content

Commit 9a26a11

Browse files
committed
(chore) add vuePlugin to index.d.ts
1 parent 8965ebe commit 9a26a11

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

types/index.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ declare const hljs : HLJSApi;
55

66
type HLJSApi = PublicApi & ModesAPI
77

8+
interface VuePlugin {
9+
install: (vue: any) => void
10+
}
11+
812
interface PublicApi {
913
highlight: (languageName: string, code: string, ignoreIllegals?: boolean, continuation?: Mode) => HighlightResult
1014
highlightAuto: (code: string, languageSubset?: string[]) => AutoHighlightResult
@@ -24,6 +28,7 @@ interface PublicApi {
2428
debugMode: () => void
2529
safeMode: () => void
2630
versionString: string
31+
vuePlugin: () => VuePlugin
2732
}
2833

2934
interface ModesAPI {

0 commit comments

Comments
 (0)