Skip to content

Commit ea2fe89

Browse files
committed
chore: fix lint issues
1 parent a9ab4d9 commit ea2fe89

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

packages/feed/src/render-feed.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { createStaticVNode, defineComponent, type PropType, defineAsyncComponent, h } from 'vue'
1+
import { createStaticVNode, defineComponent, defineAsyncComponent, h } from 'vue'
2+
import type { PropType } from 'vue'
23
import { useVueRenderer } from 'iles'
34
import type { FeedOptions, FeedFormat, FeedItem, Author, Extension, ResolvedItem } from './types'
45

packages/hydration/svelte.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { createRawSnippet, mount, unmount, type Snippet } from 'svelte'
1+
import { createRawSnippet, mount, unmount } from 'svelte'
2+
import type { Snippet } from 'svelte'
23
import type { Props, Slots } from './types'
34
import { onDispose } from './hydration'
45

packages/iles/src/node/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { promises as fs, existsSync } from 'fs'
22
import { join, resolve } from 'pathe'
33
import pc from 'picocolors'
44
import creatDebugger from 'debug'
5-
import { loadConfigFromFile, mergeConfig as mergeViteConfig, type Plugin, PluginOption } from 'vite'
5+
import { loadConfigFromFile, mergeConfig as mergeViteConfig, PluginOption } from 'vite'
6+
import type { Plugin } from 'vite'
67
import vue from '@vitejs/plugin-vue'
78
import components from 'unplugin-vue-components/vite'
89
import pages from '@islands/pages'

packages/mdx/src/rehype-raw-expressions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import type { MdxFlowExpression } from 'mdast-util-mdx-expression'
33
import type { MdxjsEsm } from 'mdast-util-mdxjs-esm'
44
import type { Plugin } from 'unified'
55
import type { Parent, Content, Element } from 'hast'
6-
import { toHtml as hastToHtml, type Options as ToHtmlOptions } from 'hast-util-to-html'
6+
import { toHtml as hastToHtml } from 'hast-util-to-html'
7+
import type { Options as ToHtmlOptions } from 'hast-util-to-html'
78
import type { MarkdownOptions } from './types'
89

910
type Child = Content

packages/prerender/svelte.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { createRawSnippet, type Snippet } from 'svelte'
1+
import { createRawSnippet } from 'svelte'
2+
import type { Snippet } from 'svelte'
23
import { render } from 'svelte/server'
34
import type { PrerenderFn } from './prerender'
45

0 commit comments

Comments
 (0)