index.d.ts errors in console
See original GitHub issuenode_modules/txml/dist/index.d.ts:2:10 - error TS2552: Cannot find name 'transformSt
ream'. Did you mean 'TransformStream'?
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
~~~~~~~~~~~~~~~
node_modules/typescript/lib/lib.dom.d.ts:13783:13
13783 declare var TransformStream: {
~~~~~~~~~~~~~~~
'TransformStream' is declared here.
node_modules/txml/dist/index.d.ts:2:27 - error TS2552: Cannot find name 'filter'. Di
d you mean 'File'?
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
~~~~~~
node_modules/typescript/lib/lib.dom.d.ts:5014:13
5014 declare var File: {
~~~~
'File' is declared here.
node_modules/txml/dist/index.d.ts:2:35 - error TS2304: Cannot find name 'getElementB
yId'.
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
~~~~~~~~~~~~~~
node_modules/txml/dist/index.d.ts:2:51 - error TS2304: Cannot find name 'getElements
ByClassName'.
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
~~~~~~~~~~~~~~~~~~~~~~
node_modules/txml/dist/index.d.ts:2:75 - error TS2304: Cannot find name 'parse'.
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
~~~~~
node_modules/txml/dist/index.d.ts:2:82 - error TS2304: Cannot find name 'simplify'.
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
~
~~~~~~~
node_modules/txml/dist/index.d.ts:2:92 - error TS2304: Cannot find name 'simplifyLos
tLess'.
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
~~~~~~~~~~~~~~~~
node_modules/txml/dist/index.d.ts:2:110 - error TS2304: Cannot find name 'stringify'
.
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
~~~~~~~~~
node_modules/txml/dist/index.d.ts:2:121 - error TS2304: Cannot find name 'toContentS
tring'.
2 export { transformStream, filter, getElementById, getElementsByClassName, parse, s
implify, simplifyLostLess, stringify, toContentString };
Have a lot of errors and it’s annoying.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Problem with type definition in index.d.ts · Issue #130 - GitHub
This causes the following console error: ERROR in /project-path/node_modules/open/index.d.ts [tsl] ERROR in ...
Read more >Cannot compile my webapp due to error in index.d.ts
Whenever I've seen this message it had to do with an incorrect index.d.ts file.
Read more >ts-node - npm
This error is thrown by node when a module is require() d, but node believes it should execute as native ESM. This can...
Read more >TypeScript errors and how to fix them
A list of common TypeScript errors and how to fix them.
Read more >TSConfig Reference - Docs on every TSConfig option
This does not affect errors on the basis of code which appears to be ... Generate .d.ts files for every TypeScript or JavaScript...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@arthurlomakin11 using
import * as txml from 'txml/dist/txml';
fixes the console errorsAre there any news?
import * as txml from 'txml/dist/txml';
doesn’t fix it on my side, as it’s not available at runtime