File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @joernio/astgen" ,
3
- "version" : " 3.25 .0" ,
3
+ "version" : " 3.26 .0" ,
4
4
"description" : " Generate JS/TS AST in json format with Babel" ,
5
5
"exports" : " ./index.js" ,
6
6
"keywords" : [
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ export function tscForFiles(srcFiles: string[]): TscResult {
16
16
17
17
function safeTypeToString ( node : tsc . Type ) : string {
18
18
try {
19
- return typeChecker . typeToString ( node , undefined , tsc . TypeFormatFlags . NoTruncation | tsc . TypeFormatFlags . InTypeAlias ) ;
19
+ return typeChecker . typeToString ( node , undefined , tsc . TypeFormatFlags . InTypeAlias ) ;
20
20
} catch ( err ) {
21
21
return "any" ;
22
22
}
23
23
}
24
24
25
25
function safeTypeWithContextToString ( node : tsc . Type , context : tsc . Node ) : string {
26
26
try {
27
- return typeChecker . typeToString ( node , context , tsc . TypeFormatFlags . NoTruncation | tsc . TypeFormatFlags . InTypeAlias ) ;
27
+ return typeChecker . typeToString ( node , context , tsc . TypeFormatFlags . InTypeAlias ) ;
28
28
} catch ( err ) {
29
29
return "any" ;
30
30
}
You can’t perform that action at this time.
0 commit comments