MCPcopy Create free account
hub / github.com/Effect-TS/effect / getTypeParameters

Function getTypeParameters

packages/tools/docgen/src/Parser.ts:488–489  ·  view source on GitHub ↗
(tps: ReadonlyArray<ast.TypeParameterDeclaration>)

Source from the content-addressed store, hash-verified

486})
487
488const getTypeParameters = (tps: ReadonlyArray<ast.TypeParameterDeclaration>): string =>
489 tps.length === 0 ? "" : `<${tps.map((p) => p.getName()).join(", ")}>`
490
491const parseMethod = (md: ast.MethodDeclaration) =>
492 Effect.gen(function*() {

Callers 1

Calls 2

joinMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected