Skip to content

Add types baselines #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Feb 12, 2025
Merged

Add types baselines #296

merged 11 commits into from
Feb 12, 2025

Conversation

gabritto
Copy link
Member

@gabritto gabritto commented Feb 7, 2025

Add types baselines, temporarily using checker.TypeToString while we don't have typeToTypeNode etc.
Still no underlines in the type baselines, for the same reason.

@gabritto gabritto marked this pull request as ready for review February 7, 2025 23:41
@gabritto gabritto requested a review from jakebailey February 7, 2025 23:46
@@ -1094,7 +1094,7 @@ func hasDotDotDotToken(node *ast.Node) bool {
return false
}

func isTypeAny(t *Type) bool {
func IsTypeAny(t *Type) bool {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm actually surprised this isn't just a method but maybe I shouldn't be this early on 😄

@gabritto gabritto merged commit c93a4b4 into main Feb 12, 2025
15 checks passed
@gabritto gabritto deleted the gabritto/typebaseline branch February 12, 2025 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants