@@ -31,7 +31,11 @@ export class Printer {
3131 for ( const member of node . members ) {
3232 if ( ts . isPropertySignature ( member ) ) {
3333 const stringBaseType = member . type
34- ? this . checker . typeToString ( this . getBaseType ( member . type ) )
34+ ? this . checker . typeToString (
35+ this . getBaseType ( member . type ) ,
36+ undefined ,
37+ ts . TypeFormatFlags . NoTruncation ,
38+ )
3539 : "any" ;
3640
3741 parts . push (
@@ -64,6 +68,8 @@ export class Printer {
6468 const valueType = this . checker . getTypeOfSymbol ( property ) ;
6569 const stringValueType = this . checker . typeToString (
6670 this . getBaseType ( valueType ) ,
71+ undefined ,
72+ ts . TypeFormatFlags . NoTruncation ,
6773 ) ;
6874 parts . push (
6975 `${ this . checker . symbolToString (
@@ -111,7 +117,11 @@ export class Printer {
111117 const parameters = c . getParameters ( ) ;
112118 const event = parameters [ 0 ] ;
113119
114- return this . checker . typeToString ( this . checker . getTypeOfSymbol ( event ) ) ;
120+ return this . checker . typeToString (
121+ this . checker . getTypeOfSymbol ( event ) ,
122+ undefined ,
123+ ts . TypeFormatFlags . NoTruncation ,
124+ ) ;
115125 } ) ;
116126 }
117127
0 commit comments