MCPcopy Create free account
hub / github.com/mapbox/pbf / writeFunctionExport

Function writeFunctionExport

compile.js:76–78  ·  view source on GitHub ↗
({legacy}, name)

Source from the content-addressed store, hash-verified

74}
75
76function writeFunctionExport({legacy}, name) {
77 return legacy ? `exports.${name} = ${name};\n` : 'export ';
78}
79
80function getEnumValues(ctx) {
81 const enums = {};

Callers 1

writeMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…