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

Method constructor

packages/tools/docgen/src/Domain.ts:56–74  ·  view source on GitHub ↗
(
    description: string | undefined,
    since: ReadonlyArray<string>,
    deprecated: ReadonlyArray<string>,
    examples: ReadonlyArray<string>,
    category: ReadonlyArray<string>,
    throws: ReadonlyArray<string>,
    sees: ReadonlyArray<string>,
    tags: Record<string, ReadonlyArray<string> | undefined>
  )

Source from the content-addressed store, hash-verified

54 readonly sees: ReadonlyArray<string>
55 readonly tags: Record<string, ReadonlyArray<string> | undefined>
56 constructor(
57 description: string | undefined,
58 since: ReadonlyArray<string>,
59 deprecated: ReadonlyArray<string>,
60 examples: ReadonlyArray<string>,
61 category: ReadonlyArray<string>,
62 throws: ReadonlyArray<string>,
63 sees: ReadonlyArray<string>,
64 tags: Record<string, ReadonlyArray<string> | undefined>
65 ) {
66 this.description = description
67 this.since = since
68 this.deprecated = deprecated
69 this.examples = examples
70 this.category = category
71 this.throws = throws
72 this.sees = sees
73 this.tags = tags
74 }
75
76 modifyDescription(description: string | undefined): Doc {
77 return new Doc(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected