Skip to content

Commit

Permalink
fix: TypeScript autocomplete issue #68 (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
umutbozdag authored Dec 7, 2023
1 parent 6f20a7a commit 0525cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stylex/src/StyleXTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export type NestedCSSPropTypes = Partial<
}>
>;

type UserAuthoredStyles = { [key: string]: unknown };
type UserAuthoredStyles = CSSPropertiesWithExtras | { [key: string]: unknown };
export type StyleXSingleStyle = false | (null | undefined | NestedCSSPropTypes);
// NOTE: `XStyle` has been deprecated in favor of `StaticStyles` and `StyleXStyles`.

Expand Down

0 comments on commit 0525cd4

Please sign in to comment.