MCPcopy Index your code
hub / github.com/tinyhttp/tinyhttp / normalizeTypes

Function normalizeTypes

packages/res/src/util.ts:19–27  ·  view source on GitHub ↗
(types: string[])

Source from the content-addressed store, hash-verified

17}
18
19export function normalizeTypes(types: string[]) {
20 const ret = []
21
22 for (const type of types) {
23 ret.push(normalizeType(type))
24 }
25
26 return ret
27}

Callers 1

formatResponseFunction · 0.90

Calls 1

normalizeTypeFunction · 0.70

Tested by

no test coverage detected