(_ context.Context, params *GetTypePropertyParams)
| 1566 | } |
| 1567 | |
| 1568 | func (s *Session) handleGetExtendsTypeOfType(_ context.Context, params *GetTypePropertyParams) (*TypeResponse, error) { |
| 1569 | return s.resolveTypePropertyOfType(params, func(t *checker.Type) *checker.Type { return t.AsConditionalType().ExtendsType() }) |
| 1570 | } |
| 1571 | |
| 1572 | func (s *Session) handleGetBaseTypeOfType(_ context.Context, params *GetTypePropertyParams) (*TypeResponse, error) { |
| 1573 | return s.resolveTypePropertyOfType(params, func(t *checker.Type) *checker.Type { return t.AsSubstitutionType().BaseType() }) |
no test coverage detected