Skip to content

Commit 28a2891

Browse files
authored
fix: import the type InjectionKey from vue3 in jsdoc (#19)
1 parent c47cb8d commit 28a2891

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/token.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import { InjectionKey } from "vue";
21
import Sdk from "casdoor-js-sdk";
32

43
const CASDOOR_SDK_TOKEN = '$casdoor-sdk';
54

65
/**
76
* @summary Injection token used to `provide` / `inject` the `Sdk` instance.
8-
* @type { InjectionKey<Sdk> }
7+
* @type { import('vue').InjectionKey<Sdk> }
98
*/
109
export const CASDOOR_SDK_INJECTION_KEY = Symbol.for(CASDOOR_SDK_TOKEN);

0 commit comments

Comments
 (0)