MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / getCode

Method getCode

packager/src/node-haste/Module.js:134–136  ·  view source on GitHub ↗
(transformOptions: TransformOptions)

Source from the content-addressed store, hash-verified

132 }
133
134 getCode(transformOptions: TransformOptions) {
135 return this.read(transformOptions).then(({code}) => code);
136 }
137
138 getMap(transformOptions: TransformOptions) {
139 return this.read(transformOptions).then(({map}) => map);

Callers 1

Module-test.jsFile · 0.45

Calls 2

readMethod · 0.95
thenMethod · 0.45

Tested by

no test coverage detected