Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the documentation #1559

Closed
Yuriy-Svetlov opened this issue Apr 21, 2021 · 4 comments
Closed

Error in the documentation #1559

Yuriy-Svetlov opened this issue Apr 21, 2021 · 4 comments

Comments

@Yuriy-Svetlov
Copy link
Contributor

Hi @ai !

I found an error in the documentation

https://postcss.org/api/#csssyntaxerror

CssSyntaxError#source
Source code of the broken file.

error.source //=> 'a { b {} }'
error.input.column //=> 'a b { }'

I think it will be right this way:

CssSyntaxError#source
Source code of the broken file.

error.source //=> 'a { b {} }'
error.input.source //=> 'a b { }'

@ai
Copy link
Member

ai commented Apr 21, 2021

Yeap. Can you send PR?

@Yuriy-Svetlov
Copy link
Contributor Author

@ai

Yes, of course, but I don't know where located the site data is.

@ai
Copy link
Member

ai commented Apr 21, 2021

lib/css-syntax-error.d.ts

@Yuriy-Svetlov
Copy link
Contributor Author

Yuriy-Svetlov commented Apr 21, 2021

@ai
I did.
#1560

@ai ai closed this as completed Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants