diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f6b17fcf33..598595f2da2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## [`main`](https://github.com/elastic/eui/tree/main) - Refactored `EuiSuggest` to use `EuiSelectable` ([#5157](https://github.com/elastic/eui/pull/5157)) +- Added a return type to `EuiTable` `resolveWidthAsStyle` util ([#5615](https://github.com/elastic/eui/pull/5615)) **Bug fixes** diff --git a/src/components/table/utils.ts b/src/components/table/utils.ts index f6d788e9909..40aaed82cb4 100644 --- a/src/components/table/utils.ts +++ b/src/components/table/utils.ts @@ -14,7 +14,7 @@ export const WARNING_MESSAGE = export const resolveWidthAsStyle = ( style: CSSProperties = {}, width?: string | number -) => { +): CSSProperties => { const { width: styleWidth, ...styleRest } = style; let attrWidth = width; if (