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

Class Person

packages/effect/test/Data.test.ts:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26describe("Data", () => {
27 describe("Class", () => {
28 class Person extends Data.Class<{ readonly name: string; readonly age: number }> {}
29
30 it("compares instances structurally", () => {
31 const a = new Person({ name: "Bob", age: 25 })

Callers 2

makeAppFunction · 0.50
makeAppFunction · 0.50

Calls

no outgoing calls

Tested by 2

makeAppFunction · 0.40
makeAppFunction · 0.40