mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Add test for false positive
This commit is contained in:
parent
bd5377638b
commit
b961698183
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();
|
||||
Loading…
x
Reference in New Issue
Block a user