Environment information
CLI:
Version: 2.1.2
Color support: true
Platform:
CPU Architecture: aarch64
OS: macos
What happened?
Biome fails to parse the class members named async (playground):
class Connection {
public async: boolean = false;
}
Results in two parsing errors
Expected an identifier, a string literal, a number literal, a private field name, or a computed name but instead found ':'.
Expected a class method body but instead found '='.
Expected result
The parse should not error as this is valid TypeScript (tslang playground)
Code of Conduct
Environment information
What happened?
Biome fails to parse the class members named
async(playground):Results in two parsing errors
Expected result
The parse should not error as this is valid TypeScript (tslang playground)
Code of Conduct