Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 1854165

Browse files
committed
chore: lint fix
1 parent b22bd36 commit 1854165

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

components/ContentNavItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import type { NavItem } from '@nuxt/content/dist/runtime/types'
2+
import type { NavItem } from '@nuxt/content'
33
44
const props = withDefaults(
55
defineProps<{

components/PanelDocs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import type { NavItem, ParsedContent } from '@nuxt/content/dist/runtime/types'
2+
import type { NavItem, ParsedContent } from '@nuxt/content'
33
44
const {
55
navigation,

monaco/vue.worker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import * as worker from 'monaco-editor-core/esm/vs/editor/editor.worker'
33
import type * as monaco from 'monaco-editor-core'
44
import * as ts from 'typescript/lib/tsserverlibrary'
55
import type { LanguageServiceEnvironment, VueCompilerOptions } from '@vue/language-service'
6-
import { getFullLanguageServicePlugins, createVueLanguagePlugin, resolveVueCompilerOptions } from '@vue/language-service'
6+
import { createVueLanguagePlugin, getFullLanguageServicePlugins, resolveVueCompilerOptions } from '@vue/language-service'
77
import { createTypeScriptWorkerService } from '@volar/monaco/worker'
8-
import type { WorkerHost } from './env'
98
import { URI } from 'vscode-uri'
9+
import type { WorkerHost } from './env'
1010

1111
export interface CreateData {
1212
tsconfig: {

stores/commands.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { ParsedContent } from '@nuxt/content/dist/runtime/types'
21
import Fuse from 'fuse.js'
32

43
export interface Command {
@@ -28,7 +27,7 @@ export const useCommandsStore = defineStore('commands', () => {
2827
if (v) {
2928
// TODO: send a PR to nuxt/content to default generic type
3029
// TODO: move it out if it's reactive
31-
const result = await searchContent(v, {}) as ComputedRef<ParsedContent[]>
30+
const result = await searchContent(v, {})
3231
guidesResult.value = result.value.map((i): Command => ({
3332
id: i.id,
3433
title: i.title || 'Untitled',

0 commit comments

Comments
 (0)