File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1
1
/** @internal */
2
2
namespace ts {
3
- /** @internal */
4
3
export function createGetSymbolWalker (
5
4
getRestTypeOfSignature : ( sig : Signature ) => Type ,
6
5
getReturnTypeOfSignature : ( sig : Signature ) => Type ,
@@ -114,7 +113,7 @@ namespace ts {
114
113
function visitObjectType ( type : ObjectType ) : void {
115
114
const stringIndexType = getIndexTypeOfStructuredType ( type , IndexKind . String ) ;
116
115
visitType ( stringIndexType ) ;
117
- const numberIndexType = getIndexTypeOfStructuredType ( type , IndexKind . String ) ;
116
+ const numberIndexType = getIndexTypeOfStructuredType ( type , IndexKind . Number ) ;
118
117
visitType ( numberIndexType ) ;
119
118
120
119
// The two checks above *should* have already resolved the type (if needed), so this should be cached
You can’t perform that action at this time.
0 commit comments