MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / MagicStringOptions

Interface MagicStringOptions

src/MagicString.ts:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14export type ExclusionRange = [number, number]
15
16export interface MagicStringOptions {
17 filename?: string
18 ignoreList?: boolean
19 indentExclusionRanges?: ExclusionRange | ExclusionRange[]
20 offset?: number
21}
22
23export interface IndentOptions {
24 exclude?: ExclusionRange | ExclusionRange[]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected