Replies: 2 comments 5 replies
-
I don't think it's necessary to bundle typings into a single file in order for a non-nodejs typescript project to use it. Can you share more of your project setup and what isn't working? |
Beta Was this translation helpful? Give feedback.
-
@datvm @asyncLiz have you found a solution for this? I'm in the same boat. I bundled all material web into one JS file, and now I can use "import/export" from the @material/web node_module in my custom "material-web.d.ts" to use the types in my project. But then, without "skipLibCheck = true", the compilation fails. We don't want to use "skipLibCkeck" as it brings some disadvantages to our project. |
Beta Was this translation helpful? Give feedback.
-
I am not familiar with Node and Rollup so please excuse me if this is a simple question. Right now
all.d.ts
is like this:Is there a way to generate a
typings.d.ts
that contains everything in a single file, I would like to use this file in a TypeScript project without NodeJS, maybe like:Thank you!
Beta Was this translation helpful? Give feedback.
All reactions