Skip to content

Commit 95d74e1

Browse files
committed
chore: Supplementary type into type keywords
1 parent f8145ba commit 95d74e1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/views/demo/home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
<script lang="ts" setup>
99
import { ref } from "vue";
10-
import { EditorConfiguration } from "codemirror";
1110
import Codemirror from "../../../packages/index";
11+
import type { EditorConfiguration } from "codemirror";
1212
1313
// language
1414
import "codemirror/mode/javascript/javascript.js";

packages/src/types/props.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { EditorConfiguration } from "codemirror";
1+
import type { EditorConfiguration } from "codemirror";
22

33
export declare interface CmProps {
44
value: string;

playground/demo/placeholder.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</template>
1212
<script lang="ts">
1313
import { ref } from "vue";
14-
import { EditorConfiguration } from "codemirror";
14+
import type { EditorConfiguration } from "codemirror";
1515
import Codemirror from "codemirror-editor-vue3";
1616
1717
// language

playground/demo/theme.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</template>
88
<script lang="ts">
99
import { ref } from "vue";
10-
import { EditorConfiguration } from "codemirror";
10+
import type { EditorConfiguration } from "codemirror";
1111
import Codemirror from "codemirror-editor-vue3";
1212
1313
// language

0 commit comments

Comments
 (0)