MCPcopy
hub / github.com/lit/lit / accept

Function accept

packages/task/src/test/task_test.ts:1048–1048  ·  view source on GitHub ↗
(x: T)

Source from the content-addressed store, hash-verified

1046 const el = new TestElement();
1047
1048 const accept = <T>(x: T) => x;
1049
1050 accept<number | undefined>(el.task.render({initial: () => 123}));
1051 accept<number | undefined>(el.task.render({complete: () => 123}));

Callers 1

task_test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…