Closed aminya closed 3 years ago
@steelbrain I have changed custom elements to div and className to fix typescript types. I don't know how to fix the typescript types otherwise.
div
className
https://github.com/steelbrain/linter-ui-default/pull/604/files#diff-422d53a9a9cf816683d97c9b34c075d77d96d19b10c26bf386e7e5f30f5677dbR140
I tried defining something like this inside lib/tooltip/messages.tsx but it does not work.
namespace React { namespace JSX { interface IntrinsicElements { [elemName: string]: any; } } }
@steelbrain I have changed custom elements to
div
andclassName
to fix typescript types. I don't know how to fix the typescript types otherwise.https://github.com/steelbrain/linter-ui-default/pull/604/files#diff-422d53a9a9cf816683d97c9b34c075d77d96d19b10c26bf386e7e5f30f5677dbR140
I tried defining something like this inside lib/tooltip/messages.tsx but it does not work.