Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ addType
Method
addType
packages/ts-builders/src/IntersectionType.ts:14–17 ·
view source on GitHub ↗
(type: MemberType)
Source
from the content-addressed store, hash-verified
12
}
13
14
addType(
type
: MemberType) {
15
this.members.push(
type
)
16
return
this
17
}
18
19
addTypes(types: MemberType[]) {
20
for
(
const
type
of types) {
Callers
4
addTypes
Method · 0.95
intersectionType
Function · 0.95
ConditionalType.test.ts
File · 0.80
IntersectionType.test.ts
File · 0.80
Calls
1
push
Method · 0.45
Tested by
no test coverage detected