We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb4764a commit 85f96ceCopy full SHA for 85f96ce
src/plugins/ftl/inject.ts
@@ -1,5 +1,6 @@
1
+import type { SourceMap } from 'magic-string'
2
import { FluentResource } from '@fluent/bundle'
-import MagicString, { type SourceMap } from 'magic-string'
3
+import MagicString from 'magic-string'
4
import { getSyntaxErrors } from './parse'
5
6
type InjectFtlFn = (template: TemplateStringsArray, locale?: string, source?: string) => { code?: { code: string, map: SourceMap }, error?: string }
0 commit comments