Hi. I use TypeScript with React. One thing is that I'm not able to import DocumentTitle with DT d.ts. This is not a big deal, s I've created my own d.ts for DocumentTitle. Another thing is that your module misses default, so I have to use ugly import DocumentTitle = require('react-document-title'). Thanks
Does that workaround work for you @dmytro-shchurov? It half works for me...The component manages to import and work but the TypeScript compiler throws errors
Hi. I use TypeScript with React. One thing is that I'm not able to import DocumentTitle with DT d.ts. This is not a big deal, s I've created my own d.ts for DocumentTitle. Another thing is that your module misses default, so I have to use ugly
import DocumentTitle = require('react-document-title')
. Thanks