This website requires JavaScript.
Explore
Cloud
Chat
CI/CD
Help
Sign In
maxmustermann
/
TypeScript
Watch
1
Star
0
Fork
You've already forked TypeScript
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
9190a2c4e8
TypeScript
/
tests
/
cases
/
compiler
/
functionWithNoBestCommonType1.ts
9 lines
119 B
TypeScript
Raw
Normal View
History
Unescape
Escape
addressed PR feedback, updated tests to suppress reachability errors where they are not needed
2015-10-13 19:15:39 +02:00
// @allowUnreachableCode: true
Never use the entire span of a function declaration or function expression when reporting a checker error.
2015-03-05 03:15:55 +01:00
function
foo() {
return
true
;
return
bar
(
)
;
}
function
bar
(
)
:
void
{
}
Reference in a new issue
Copy permalink