MCPcopy Create free account
hub / github.com/alangpierce/sucrase / constructor

Method constructor

test/util.ts:83–83  ·  view source on GitHub ↗
(readonly codeByFilename: {[filename: string]: string})

Source from the content-addressed store, hash-verified

81 moduleExportsCache: {[filename: string]: unknown} = {};
82
83 constructor(readonly codeByFilename: {[filename: string]: string}) {}
84
85 evaluateModule(filename: string): unknown {
86 if (filename in this.moduleExportsCache) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected