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

Method decodeUnknownSync

packages/effect/test/schema/Schema.test.ts:11197–11199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11195 it("static getter using this", () => {
11196 class A extends Schema.String {
11197 static get decodeUnknownSync() {
11198 return Schema.decodeUnknownSync(this)
11199 }
11200 }
11201
11202 strictEqual(A.decodeUnknownSync("a"), "a")

Calls

no outgoing calls

Tested by

no test coverage detected