mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
399 B
Plaintext
9 lines
399 B
Plaintext
fileWithNextLine3.ts(3,1): error TS1108: A 'return' statement can only be used within a function body.
|
|
|
|
|
|
==== fileWithNextLine3.ts (1 errors) ====
|
|
// Note: there is a nextline (0x85) between the return and the
|
|
// 0. It should be counted as a space and should not trigger ASI
|
|
returnÂ…0;
|
|
~~~~~~
|
|
!!! error TS1108: A 'return' statement can only be used within a function body. |