MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / effectLanguageServicePluginSchema

Function effectLanguageServicePluginSchema

etscore/options_schema_test.go:135–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 otherPluginSchema(pluginItems),
134 },
135 }
136
137 output, err := json.MarshalIndent(document, "", " ")
138 if err != nil {
139 return nil, err
140 }
141 return append(output, '\n'), nil
142}
143
144func effectLanguageServicePluginSchema() map[string]any {
145 optionsSchema := effectLanguageServicePluginOptionsSchema()
146 properties := cloneProperties(optionsSchema["properties"].(map[string]any))
147 schema := map[string]any{
148 "type": "object",
149 "title": "@effect/language-service plugin",
150 "additionalProperties": false,
151 "properties": properties,
152 "required": []string{"name"},
153 }

Callers 1

generateTSConfigSchemaFunction · 0.85

Calls 2

clonePropertiesFunction · 0.85

Tested by

no test coverage detected