Skip to content

Commit

Permalink
fix: enforce consistent usage of type imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Nov 17, 2023
1 parent 4c0aeff commit 12b09aa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion website/components/AstOutput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import json5 from 'json5'
import type * as Monaco from 'monaco-editor'
import { autoFocus, hideEmptyKeys, hideLocationData, loading } from '#imports'
import { MonacoEditor } from '#build/components'
// eslint-disable-next-line ts/consistent-type-imports
import type { MonacoEditor } from '#build/components'
const container = shallowRef<InstanceType<typeof MonacoEditor>>()
const monaco = useMonaco()!
Expand Down
4 changes: 3 additions & 1 deletion website/components/CodeEditor.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<script setup lang="ts">
import type * as monaco from 'monaco-editor'
import { MonacoEditor } from '#build/components'
// eslint-disable-next-line ts/consistent-type-imports
import type { MonacoEditor } from '#build/components'
const code = defineModel<string>()
const container = shallowRef<InstanceType<typeof MonacoEditor>>()
Expand Down
4 changes: 3 additions & 1 deletion website/components/DeObOutput.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<script setup lang="ts">
import { loading } from '#imports'
import { MonacoEditor } from '#build/components'
// eslint-disable-next-line ts/consistent-type-imports
import type { MonacoEditor } from '#build/components'
import DeobfuscatorWorker from '~/utils/deobfuscator.ts?worker'
Expand Down

0 comments on commit 12b09aa

Please sign in to comment.