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

Interface MagicStringOptions

src/MagicString.ts:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected