Skip to content

Clear way for typing rewriter binding #600

@Gruzchick

Description

@Gruzchick

Is there any type (let's call it FieldPropNames) to be used in this way

import type { TextFieldProps } from "@mui/material/TextField/TextField";

export const muiTextFieldBinding: Record<FieldPropNames, keyof TextFieldProps> = {
  // ...
};

or may be way to infer this type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions