Comments (7)
I would like to fix this bug
from pretty-ts-errors.
@BalthazarB you're welcome to do it 🙂
from pretty-ts-errors.
Is this still open?
from pretty-ts-errors.
@MikeJakuszewski yes
from pretty-ts-errors.
@yoavbls, what is the expected behavior we want? Do we want to remove the inner quotes? I think I found the error, it is under format/addMissingParentheses.ts
from pretty-ts-errors.
@MikeJakuszewski The expected behavior is without removing the inner quotes:
type null
is not assignable to type "' 'Oh no"
You're welcome to try to fix it, and I can help in Discord if needed
Unfortunately, I don't think it's the addMissingParentheses
function because it should called only when a type ends with ...
from pretty-ts-errors.
I'm pretty sure I fixed all the cases of string literal types that did not escape properly here.
Give it a try with 0.5.2 and reopen this issue if you find new cases like this
from pretty-ts-errors.
Related Issues (20)
- Casing issue in uri.path between formatted diagnostics and hoverProvider HOT 2
- Props in React Component HOT 1
- Not showing any errors if vscode typescript validation is disabled and eslint enabled HOT 2
- `ts(1378)` is parsed incorrectly
- Extension causes high cpu load HOT 4
- Extension causes the TS Server to stop working HOT 5
- Cannot install to a vscode remote server via ssh, press install and it always installing. HOT 2
- The contributing guidelines on github are strange, why don't you change them? HOT 2
- Extensions Not Properly Work
- ts(4113) and ts(4117) are formatted incorrectly
- After vscode installs the Chinese language pack, the syntax highlighting is incorrect HOT 1
- Extension host terminated unexpected HOT 2
- What is the minimum version it supports? HOT 1
- Saving a file is hanging indefinitely HOT 5
- solidarity HOT 1
- giving semntaic error HOT 1
- Having error to load git repo with this ext HOT 1
- Slows down typing
- Zed Support
- Cloning the repo and running the test suite fails to download vscode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pretty-ts-errors.