Skip to content

inject

Acquires a dependency. Always takes a kind qualifier: inject store (bare = subscribe, argumented = own) or inject service.

Valid in: component body, store body

See also: the guide.

Generated from the compiler’s reserved-keyword set. Do not edit by hand — run bun run scripts/site/gen-keyword-reference.ts to regenerate.