MCPcopy
hub / github.com/algolia/autocomplete / createRef

Function createRef

packages/autocomplete-shared/src/createRef.ts:1–5  ·  view source on GitHub ↗
(initialValue: TValue)

Source from the content-addressed store, hash-verified

1export function createRef<TValue>(initialValue: TValue) {
2 return {
3 current: initialValue,
4 };
5}

Callers 5

createRef.test.tsFile · 0.90
autocompleteFunction · 0.90
createTagsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected