2

Closed

Public function return type has or is using private type

description

Hello. With TypeScript version 0.8.1.1, lines 32 and 35 produce the following compiler errors:

Line 32: public function return type has or is using private type 'TestResult'
Line 35: public function parameter 'result' has or is using private type 'TestResult'

This is remedied by exporting TestDescription (line 184) and TestResult (line 189).
Closed Sep 9, 2014 at 1:30 PM by Sohnee

comments

Sohnee wrote Mar 3, 2013 at 8:40 PM

This is fixed in 0.8.3

wrote Mar 3, 2013 at 8:41 PM

AgrawalAshishS wrote Mar 20, 2013 at 8:14 AM

Just upgraded to TS 0.8.3 still having same error showing in VS.

Sohnee wrote Mar 20, 2013 at 8:48 AM

Please downloaded the latest version of tsUnit also.

wrote May 16, 2013 at 8:39 AM

wrote May 16, 2013 at 8:39 AM

wrote Jun 14, 2013 at 7:03 AM

wrote Sep 9, 2014 at 1:30 PM