Skip to content

Commit 7ce0c4d

Browse files
committed
chore: avoid extraneous typings
1 parent d2d461d commit 7ce0c4d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/magic-sfc.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
import type { MagicStringOptions, SourceMap, SourceMapOptions } from 'magic-string'
22
import MagicString from 'magic-string'
3-
import type { TransformResult } from 'vite'
43
import type { MagicBlock } from './proxy'
54

5+
export interface TransformResult {
6+
code: string
7+
map: SourceMap | null
8+
etag?: string
9+
deps?: string[]
10+
dynamicDeps?: string[]
11+
}
12+
613
export interface MagicSFCOptions extends MagicStringOptions {
714
parser?: any
815
parserOptions?: any

0 commit comments

Comments
 (0)