Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ unique
Function
unique
packages/vite/rolldown.dts.config.ts:419–421 ·
view source on GitHub ↗
(arr: T[])
Source
from the content-addressed store, hash-verified
417
}
418
419
function
unique<T>(arr: T[]): T[] {
420
return
Array.from(
new
Set(arr))
421
}
422
423
function
addNodePrefix(): Plugin {
424
return
{
Callers
1
replaceConfusingTypeNames
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected