Skip to content

Commit 5988873

Browse files
docs: note about namespace imports.
1 parent 649ace8 commit 5988873

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/combined-queries.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ const { Component, knightedCss } = combined as KnightedCssCombinedModule<
2121
>
2222
```
2323

24+
> [!NOTE]
25+
> Namespace imports (`import * as combined …`) are the most reliable pattern for `&named-only` queries because you intentionally drop the default export. Keep using the helper type to narrow the namespace.
26+
2427
## Default export only
2528

2629
```ts

0 commit comments

Comments
 (0)