mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-12 23:36:28 -05:00
Add test for false positive
This commit is contained in:
5
tests/cases/fourslash/codeFixCorrectReturnValue27.ts
Normal file
5
tests/cases/fourslash/codeFixCorrectReturnValue27.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
//// const a: ((() => number) | (() => undefined)) = () => { "" }
|
||||
|
||||
verify.not.codeFixAvailable();
|
||||
Reference in New Issue
Block a user