File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ export class AstReferenceResolver {
235
235
}
236
236
237
237
return new ResolverFailure (
238
- `More than one declaration "${ astSymbolName } " matches the` + ` TSDoc selector "${ selectorName } "`
238
+ `More than one declaration "${ astSymbolName } " matches the TSDoc selector "${ selectorName } "`
239
239
) ;
240
240
}
241
241
return matches [ 0 ] ;
Original file line number Diff line number Diff line change @@ -487,9 +487,10 @@ export class AstSymbolTable {
487
487
488
488
const arbitraryDeclaration : ts . Declaration = followedSymbol . declarations [ 0 ] ;
489
489
490
- // eslint-disable-next-line no-bitwise
491
490
if (
491
+ // eslint-disable-next-line no-bitwise
492
492
followedSymbol . flags &
493
+ // eslint-disable-next-line no-bitwise
493
494
( ts . SymbolFlags . TypeParameter | ts . SymbolFlags . TypeLiteral | ts . SymbolFlags . Transient ) &&
494
495
! TypeScriptInternals . isLateBoundSymbol ( followedSymbol )
495
496
) {
Original file line number Diff line number Diff line change @@ -367,8 +367,8 @@ export class ExportAnalyzer {
367
367
}
368
368
}
369
369
370
+ // eslint-disable-next-line no-bitwise
370
371
if ( ! ( current . flags & ts . SymbolFlags . Alias ) ) {
371
- // eslint-disable-line no-bitwise
372
372
break ;
373
373
}
374
374
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ export class TypeScriptInternals {
45
45
* for a computed property based on its type, rather than by the Binder).
46
46
*/
47
47
public static isLateBoundSymbol ( symbol : ts . Symbol ) : boolean {
48
- // eslint-disable-next-line no-bitwise
49
48
if (
49
+ // eslint-disable-next-line no-bitwise
50
50
symbol . flags & ts . SymbolFlags . Transient &&
51
51
( symbol as any ) . checkFlags === ( ts as any ) . CheckFlags . Late
52
52
) {
Original file line number Diff line number Diff line change @@ -184,8 +184,8 @@ export class ApiReportGenerator {
184
184
insideTypeLiteral : boolean
185
185
) : void {
186
186
// Should we process this declaration at all?
187
+ // eslint-disable-next-line no-bitwise
187
188
if ( ( astDeclaration . modifierFlags & ts . ModifierFlags . Private ) !== 0 ) {
188
- // eslint-disable-line no-bitwise
189
189
span . modification . skipAll ( ) ;
190
190
return ;
191
191
}
You can’t perform that action at this time.
0 commit comments