Skip to content
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

Do not inflect type definitions #42

Merged
merged 5 commits into from
Aug 3, 2023
Merged

Do not inflect type definitions #42

merged 5 commits into from
Aug 3, 2023

Conversation

daogrady
Copy link
Contributor

@daogrady daogrady commented Aug 2, 2023

When referencing type definitions, their name is no longer inflected, since no singular/ plural forms are generated for them.

type Points: { x: Integer; y: Integer }
type Lines: array of Points;
export class Points { ... }  // only 'Points', no 'Point'
export class Lines {
  points: Array<Points>  // not 'Point'
}

@daogrady daogrady enabled auto-merge (squash) August 3, 2023 04:48
@daogrady daogrady merged commit a8a545f into main Aug 3, 2023
7 checks passed
@daogrady daogrady deleted the fix/inflected-types branch August 3, 2023 04:50
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.

1 participant