(_ context.Context, params *GetTypePropertyParams)
| 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() }) |
| 1574 | } |
| 1575 | |
| 1576 | func (s *Session) handleGetConstraintOfType(_ context.Context, params *GetTypePropertyParams) (*TypeResponse, error) { |
| 1577 | return s.resolveTypePropertyOfType(params, func(t *checker.Type) *checker.Type { return t.AsSubstitutionType().SubstConstraint() }) |
no test coverage detected