TypeScript/tests/cases/fourslash/getOccurrencesAsyncAwait.ts

23 lines
452 B
TypeScript

/// <reference path='fourslash.ts' />
////[|async|] function f() {
//// [|await|] 100;
//// [|a/**/wait|] [|await|] 200;
////class Foo {
//// async memberFunction() {
//// await 1;
//// }
////}
//// return [|await|] async function () {
//// await 300;
//// }
////}
////async function g() {
//// await 300;
//// async function f() {
//// await 400;
//// }
////}
verify.rangesAreOccurrences(false);