Open CamboimGabriel opened 1 year ago
Yeah i'm getting the same problem when trying to use it with Typescript.
Hello, I can offer some suggestions, I have two questions about the type definitions for this project:
doNotReplaceURL
be an optional property like all the others? If this property is omitted it causes a TS error.children
property is not defined here, I believe it should be? This is what is likely causing the TS error provided in this issue. It could be of type React.ReactNode
?
If we try to use it causes an error