fix(language-service): resolve any parameter types to any result

This commit is contained in:
Chuck Jazdzewski 2017-03-30 17:33:47 -07:00 committed by Alex Rickabaugh
parent 71a8627c5d
commit 5fbb0d050c
1 changed files with 3 additions and 0 deletions

View File

@ -1025,6 +1025,9 @@ class PipeSymbol implements Symbol {
case 'EventEmitter': case 'EventEmitter':
resultType = getTypeParameterOf(parameterType.tsType, parameterType.name); resultType = getTypeParameterOf(parameterType.tsType, parameterType.name);
break; break;
default:
resultType = getBuiltinTypeFromTs(BuiltinType.Any, this.context);
break;
} }
break; break;
case 'slice': case 'slice':