Fix code frames for glimmer and hermes parser (#19163)
This commit is contained in:
1 parent
f66e4c4c06
commit
69ed5dad2a
41 files changed
+287
-276
No files matched your search
@@ -33,10 +33,10 @@ declare module "foo" {
|
||||
`;
|
||||
|
||||
exports[`implicit.js format[hermes] 1`] = `
|
||||
"'{' expected in function declaration (2:38)
|
||||
"'{' expected in function declaration (2:39)
|
||||
1 | declare module "foo" {
|
||||
> 2 | function greet(name: string): string;
|
||||
| ^
|
||||
| ^
|
||||
3 | }
|
||||
4 |
|
||||
Cause: '{' expected in function declaration (2:38)
|
||||
|
||||
Reference in new issue
Block a user