Skip to content

Commit

Permalink
Merge branch 'master' into fix-webpack-template-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Mar 8, 2024
2 parents ed61257 + bffdabd commit 05dc53d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions site/docs/packages/sprinkles.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ const properties = defineProperties({

Creates a type-safe function for accessing your [defined properties](#defineProperties). You can provide as many collections of properties as you like.

> 🚧  Ensure properties are defined as variables before passing them into `createSprinkles`.
> Calling `defineProperties` inside a `createSprinkles` call will cause types to be inferred incorrectly, resulting in a type-unsafe sprinkles function.
```ts
// sprinkles.css.ts
import {
Expand Down

0 comments on commit 05dc53d

Please sign in to comment.