mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -05:00
13 lines
375 B
JSON
13 lines
375 B
JSON
|
{
|
||
|
"jsonrpc": "2.0",
|
||
|
"method": "textDocument/didOpen",
|
||
|
"params": {
|
||
|
"textDocument": {
|
||
|
"uri": "file:///a/file.ts",
|
||
|
"languageId": "typescript",
|
||
|
"version": 1,
|
||
|
"text": "function foo() {\n return false;\n}\n\nclass Bar {\n baz() {\n return foo();\n }\n}\n\nfunction main() {\n const bar = new Bar();\n bar.baz();\n}\n\nmain();"
|
||
|
}
|
||
|
}
|
||
|
}
|