MCPcopy Create free account
hub / github.com/tensorflow/tfjs / convertDocStringToDocInfoObject

Function convertDocStringToDocInfoObject

tfjs-core/scripts/test_snippets/util.ts:179–183  ·  view source on GitHub ↗
(docString: string)

Source from the content-addressed store, hash-verified

177}
178
179function convertDocStringToDocInfoObject(docString: string): JSDoc {
180 const jsonString =
181 docString.replace(/([a-zA-Z0-9]+):/g, '"$1":').replace(/\'/g, '"');
182 return JSON.parse(jsonString);
183}

Callers 1

getJSDocTagFunction · 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…