Skip to content

Commit 85f96ce

Browse files
committed
Fix eslint warnings
1 parent bb4764a commit 85f96ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugins/ftl/inject.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
import type { SourceMap } from 'magic-string'
12
import { FluentResource } from '@fluent/bundle'
2-
import MagicString, { type SourceMap } from 'magic-string'
3+
import MagicString from 'magic-string'
34
import { getSyntaxErrors } from './parse'
45

56
type InjectFtlFn = (template: TemplateStringsArray, locale?: string, source?: string) => { code?: { code: string, map: SourceMap }, error?: string }

0 commit comments

Comments
 (0)