File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,9 +83,6 @@ export default class Analyzer {
8383 if ( ! rootFile ) {
8484 throw new Error ( 'Unable to load file: ' + options . entryPointFile ) ;
8585 }
86- // const rootFileSymbol: ts.Symbol = TypeScriptHelpers.getSymbolForDeclaration(rootFile);
87-
88- // this.package = new ApiPackage(this, rootFileSymbol);
8986
9087 this . package = new ApiPackage ( this , rootFile ) ;
9188 }
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ analyzer.analyze({
2525 moduleResolution : ts . ModuleResolutionKind . NodeJs ,
2626 experimentalDecorators : true ,
2727 jsx : ts . JsxEmit . React ,
28- rootDir : './testInputs/example2' // 'D:/GitRepos/sp-client/spfx-core/sp-codepart-base'
28+ rootDir : './testInputs/example2'
2929 } ,
30- entryPointFile : './testInputs/example2/index.ts' , // 'D:/GitRepos/sp-client/spfx-core/sp-codepart-base/src/index.ts',
30+ entryPointFile : './testInputs/example2/index.ts' ,
3131 otherFiles : [ ]
3232} ) ;
3333
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ export default class PrettyPrinter {
1010 * Used for debugging only. This dumps the TypeScript Compiler's abstract syntax tree.
1111 */
1212 public static dumpTree ( node : ts . Node , indent : string = '' ) : void {
13- try {
14- const jsdoc : string = TypeScriptHelpers . getJsDocComments ( node , console . log ) ;
15- } catch ( e ) { } /* tslint:disable-line:no-empty */
16-
1713 const kindName : string = ts . SyntaxKind [ node . kind ] ;
1814 let trimmedText : string ;
1915
You can’t perform that action at this time.
0 commit comments