Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ add
Method
add
packages/ts-builders/src/File.ts:17–19 ·
view source on GitHub ↗
(declaration: FileItem)
Source
from the content-addressed store, hash-verified
15
return
this
16
}
17
add(declaration: FileItem) {
18
this.declarations.push(declaration)
19
}
20
21
write(writer: Writer<undefined>): void {
22
for
(
const
moduleImport of this.imports) {
Callers
15
sanitizeError
Function · 0.45
warnOnce
Function · 0.45
unique
Function · 0.45
renderDefaultLookupError
Function · 0.45
handlePanic.test.ts
File · 0.45
getGenerators.test.ts
File · 0.45
formatSchema.test.ts
File · 0.45
lintSchema.test.ts
File · 0.45
Class.test.ts
File · 0.45
TupleType.test.ts
File · 0.45
ObjectType.test.ts
File · 0.45
ConditionalType.test.ts
File · 0.45
Calls
1
push
Method · 0.45
Tested by
1
createDefaultTestContext
Function · 0.36