graphql / graphql/graphiql

[lsp-server] Add support for parsing typescript files with "explicitResourceManagement"

Open
#3,795 0 comments 0 reactions 0 assignees View on GitHub
enhancement lsp-server
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

Currently, the language server is unable to parse .ts files with the "using" keyword.

I think we just need to enable the babel plugin for "explicitResourceManagement".

Receiving an error:
```bash
[Info - 11:39:20 AM] SyntaxError: This experimental syntax requires enabling the parser plugin: "explicitResourceManagement". (411:2)
```

I can try to submit a PR if I can get a chance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.