18 lines
316 B
TypeScript
18 lines
316 B
TypeScript
|
/// <reference path='fourslash.ts'/>
|
||
|
|
||
|
//// async function foo(x: Promise<string>) {
|
||
|
//// [|x./**/|]
|
||
|
//// }
|
||
|
|
||
|
const replacementSpan = test.ranges()[0]
|
||
|
verify.completions({
|
||
|
marker: "",
|
||
|
exact: [
|
||
|
"then",
|
||
|
"catch"
|
||
|
],
|
||
|
preferences: {
|
||
|
includeInsertTextCompletions: false,
|
||
|
},
|
||
|
});
|