MCPcopy Index your code
hub / github.com/tldraw/tldraw / toString

Method toString

internal/scripts/refresh-assets.ts:657–665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

655 }
656
657 override toString(): string {
658 return [
659 this.header,
660 Array.from(this.imports, ([file, name]) => {
661 return `import ${name} from ${JSON.stringify(file)};`
662 }).join('\n'),
663 super.toString(),
664 ].join('\n')
665 }
666
667 import(file: string) {
668 let name = this.imports.get(file)

Callers 5

copyWatermarksFunction · 0.95
getNameMethod · 0.95

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected