Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-strict-dom/src/types/renderer.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
export type ReactDOMStyleProps = Readonly<{
className?: string,
'data-style-src'?: string,
style?: Readonly<{ [string]: string | number }>
style?: Readonly<{ [key: string]: string | number }>
}>;
4 changes: 2 additions & 2 deletions packages/react-strict-dom/src/types/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import typeof * as TStyleX from '@stylexjs/stylex';
export type Style = InlineStyles;

export type Styles = StyleXArray<
StyleXStyles<> | Theme<VarGroup<{ readonly [string]: unknown }>>
StyleXStyles<> | Theme<VarGroup<{ readonly [key: string]: unknown }>>
>;

export type IStyleX = Readonly<{
Expand All @@ -35,5 +35,5 @@ export type IStyleX = Readonly<{
...
}>;

export type MutableCustomProperties = { [string]: unknown };
export type MutableCustomProperties = { [key: string]: unknown };
export type CustomProperties = Readonly<MutableCustomProperties>;
2 changes: 1 addition & 1 deletion packages/react-strict-dom/src/web/css/merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type StylesArray<out T> = T | ReadonlyArray<StylesArray<T>>;
type Props = Readonly<{
className?: string,
'data-style-src'?: string,
style?: Readonly<{ [string]: string | number }>
style?: Readonly<{ [key: string]: string | number }>
}>;

const optimizedStyleq = styleq.factory({
Expand Down
Loading