TypeScript/tests/cases/fourslash/codeFixCorrectReturnValue13.ts
Eli Barzilay 073fb308bf Fix two tests
* `docCommentTemplateInSingleLineComment`: Accidentally dropped space, fixes #38651

* `codeFixCorrectReturnValue13`: Bogus test code copied
2020-06-03 12:59:16 -04:00

15 lines
403 B
TypeScript

/// <reference path='fourslash.ts' />
//// interface A {
//// bar: string
//// }
////
//// const a: () => A = () => {
//// { bar: '1' }
//// }
verify.codeFixAvailable([
{ description: ts.Diagnostics.Add_a_return_statement.message },
{ description: ts.Diagnostics.Remove_braces_from_arrow_function_body.message },
{ description: ts.Diagnostics.Remove_unused_label.message }
]);