Skip to content

Commit

Permalink
fix: TypeScript autocomplete issue #68
Browse files Browse the repository at this point in the history
  • Loading branch information
umutbozdag committed Dec 7, 2023
1 parent 35426fd commit 3bf61bd
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 3bf61bd

Please sign in to comment.