Skip to content

FormTemplate exported as MuiFormTemplate in typings of mui-component-mapper #1388

Open
@friedbizkvit

Description

@friedbizkvit

Scope: @data-driven-forms/mui-component-mapper

Description
Root index.d.ts exports FormTemplate as MuiFormtemplate, while index.js exported it as FormTemplate

export { default as MuiFormTemplate } from './form-template';

so there is a type error when importing it.

TS2724: '"@data-driven-forms/mui-component-mapper"' has no exported member named 'FormTemplate'. Did you mean 'MuiFormTemplate'?

The root cause of this issue is that default exported variable is called 'MuiFormTemplate'

Metadata

Metadata

Assignees

No one assigned

    Labels

    MUIMUI pull requestbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions