feat(prettier) Print this expression (#1263)

This commit is contained in:
Cameron 2023-11-13 13:02:21 +00:00 committed by GitHub
parent 4a6f54cc1a
commit 728b7832dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -488,7 +488,7 @@ impl<'a> Format<'a> for StringLiteral {
impl<'a> Format<'a> for ThisExpression {
fn format(&self, p: &mut Prettier<'a>) -> Doc<'a> {
Doc::Line
Doc::Str("this")
}
}