MCPcopy
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

addTypesMethod · 0.95
intersectionTypeFunction · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected