react-codemirror2 icon indicating copy to clipboard operation
react-codemirror2 copied to clipboard

Defining the onChange type independently

Open tolgaand opened this issue 3 years ago • 0 comments

When using Next(typescript), I found that I couldn't use the onChange method's type when I wanted to use it. Screen Shot 2022-09-17 at 11 25 46

When I examined the codes, I saw that the type of the onChange method is defined in the onChange method. Screen Shot 2022-09-17 at 11 27 07

I would like to make a small update to the project and open a Pull request. Can I get a pull request? (this is my first issue, if I'm doing something wrong, I'm sorry)

tolgaand avatar Sep 17 '22 08:09 tolgaand