MCPcopy Create free account
hub / github.com/babel/babel / printAPIHistory

Function printAPIHistory

packages/babel-types/scripts/generators/docs.ts:182–187  ·  view source on GitHub ↗

* Print the API history for a specific node type. * @param key * @param readme collection of readme lines

(key: string, readme: string[])

Source from the content-addressed store, hash-verified

180 * @param readme collection of readme lines
181 */
182function printAPIHistory(key: string, readme: string[]) {
183 if (APIHistory[key]) {
184 readme.push("");
185 readme.push(...formatHistory(APIHistory[key]));
186 }
187}
188/**
189 * Print the node fields for a specific node type.
190 * @param {string} key

Callers 1

docs.tsFile · 0.85

Calls 2

formatHistoryFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected