diff --git a/packages/kbn-test/src/jest/utils/enzyme_helpers.tsx b/packages/kbn-test/src/jest/utils/enzyme_helpers.tsx index 45f3e537dedd03..696a1d1b63163d 100644 --- a/packages/kbn-test/src/jest/utils/enzyme_helpers.tsx +++ b/packages/kbn-test/src/jest/utils/enzyme_helpers.tsx @@ -47,6 +47,7 @@ function getOptions(context = {}, childContextTypes = {}, props = {}) { * When using @kbn/i18n `injectI18n` on components, props.intl is required. */ // This function is exported solely to fix the types output in TS 4.5.2, likely a bug +// Otherwise, InjectedIntl is missing from the output export function nodeWithIntlProp( node: ReactElement ): ReactElement {