7 lines
No EOL
431 B
Text
7 lines
No EOL
431 B
Text
tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression1.ts(1,1): error TS1108: A 'return' statement can only be used within a function body.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression1.ts (1 errors) ====
|
|
return /(#?-?\d*\.\d\w*%?)|(@?#?[\w-?]+%?)/g;
|
|
~~~~~~
|
|
!!! error TS1108: A 'return' statement can only be used within a function body. |