/// //// //// //// // importing resolves the types, but also turns it into a module, which in turn breaks it // import * as RFF from react-final-form; // import { FieldProps } from react-final-form; // export * from react-final-form; declare module 'react-final-form-html5-validation' { var Field: React.ComponentType } import { Field, Abc } from 'react-final-form-html5-validation' // correct: Module '"react-final-form-html5-validation"' has no exported member 'Abc' // later in App.render() { return ( ..... // Field is of type React.ComponentType