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

Method getExpected

packages/effect/src/SchemaAST.ts:2379–2382  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

2377 }
2378 /** @internal */
2379 getExpected(): string {
2380 if (this.propertySignatures.length === 0 && this.indexSignatures.length === 0) return "object | array"
2381 return "object"
2382 }
2383}
2384
2385type ObjectParserState = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected