mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-10 06:24:35 +09:00
4424add480906ff1bda3564040d592abefb35ad7
tsconfig.json to assume declaration emit (#1470)
## Description This PR "swaps" the guiding principle behind what options are in the base `tsconfig.json`. Previously TS was configured to *not* emit declarations and we were forcing for them to be emitted with CLI flags. This had an unfortunate result - errors about "not portable type definitions" were not displayed in the IDE because to its best knowledge the type definitions were never supposed to be emitted. So it wasn't worthwhile to surface this error. With the adjusted options those errors will be raised in the IDE which should improve the feedback loop for those errors. ## Code Review - [ ] hi @TrySound, @istarkov, @kof - you need to recheck if you have any doubts about this approach, if you see anything wrong with it in the context of this project ## Before merging - [ ] test IDE setup - [ ] test build script - [ ] test typechecking and dts emit
Webstudio Builder
Webstudio Builder is a NoCode Visual Tool inspired by Webflow. It is the place where you can build your site or app visually.
Contributing
Don't hesitate to reach out of you have questions around contributing to the project.
Community
Languages
TypeScript
98.9%
PLpgSQL
0.5%
CSS
0.3%
Shell
0.2%
JavaScript
0.1%