MCPcopy
hub / github.com/prisma/prisma / BrowserJS

Function BrowserJS

packages/client-generator-js/src/TSClient/Generable.ts:12–14  ·  view source on GitHub ↗
(gen: Generable)

Source from the content-addressed store, hash-verified

10}
11
12export function BrowserJS(gen: Generable): string {
13 return gen.toBrowserJS?.() ?? ''
14}
15
16export function TS(gen: Generable): string {
17 return gen.toTS()

Callers 1

buildClientFunction · 0.90

Calls 1

toBrowserJSMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…