MCPcopy Create free account
hub / github.com/backnotprop/plannotator / options

Function options

packages/ui/codeAnnotationDraftPersistence.test.tsx:117–123  ·  view source on GitHub ↗
(over: Partial<HookOptions> = {})

Source from the content-addressed store, hash-verified

115type HookResult = ReturnType<typeof useCodeAnnotationDraft>;
116
117const options = (over: Partial<HookOptions> = {}): HookOptions => ({
118 annotations: [],
119 viewedFiles: new Set<string>(),
120 isApiMode: true,
121 submitted: false,
122 ...over,
123});
124
125function Harness({ opts, resultRef }: { opts: HookOptions; resultRef: { current: HookResult | null } }) {
126 resultRef.current = useCodeAnnotationDraft(opts);

Calls

no outgoing calls

Tested by

no test coverage detected