MCPcopy Create free account
hub / github.com/dailydotdev/apps / constructor

Method constructor

packages/shared/src/lib/feature.ts:8–11  ·  view source on GitHub ↗
(id: string, defaultValue: T)

Source from the content-addressed store, hash-verified

6 readonly defaultValue: T;
7
8 constructor(id: string, defaultValue: T) {
9 this.id = id;
10 this.defaultValue = defaultValue;
11 }
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected