Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ toString
Method
toString
src/Chunk.ts:154–156 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
152
}
153
154
toString(): string {
155
return
this.intro + this.content + this.outro
156
}
157
158
trimEnd(rx: RegExp): boolean | undefined {
159
this.outro = this.outro.replace(rx,
''
)
Callers
4
main
Function · 0.45
Bundle.test.ts
File · 0.45
SourceMap.test.ts
File · 0.45
MagicString.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected