Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Linen-dev/linen.dev
/ makeEnum
Function
makeEnum
packages/types/src/utils/makeEnum.ts:1–5 ·
view source on GitHub ↗
( x: T )
Source
from the content-addressed store, hash-verified
1
export
function
makeEnum<T extends { [index: string]: U }, U extends string>(
2
x: T
3
) {
4
return
x;
5
}
Callers
7
roles.ts
File · 0.90
accounts.ts
File · 0.90
index.ts
File · 0.90
threads.ts
File · 0.90
channels.ts
File · 0.90
notification.ts
File · 0.90
messages.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected