Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
19
export
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
formatResponse
Function · 0.90
Calls
1
normalizeType
Function · 0.70
Tested by
no test coverage detected