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

Interface MagicStringOptions

src/MagicString.ts:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected