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

Port DevServerManager to TS #1335

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

brandenrodgers
Copy link
Contributor

Description and Context

Porting the DevServerManager file to TS. I have some questions that I'll add inline.

Screenshots

TODO

Who to Notify

lib/DevServerManager.ts Show resolved Hide resolved
lib/projects/structure.ts Outdated Show resolved Hide resolved
lib/DevServerManager.ts Show resolved Hide resolved
lib/DevServerManager.ts Outdated Show resolved Hide resolved
lib/DevServerManager.ts Outdated Show resolved Hide resolved
| PrivateAppComponentConfig
| AppCardComponentConfig;

export enum ComponentTypes {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved all of these to the types/projects file, and I switched ComponentTypes to be an enum. It felt redundant to have both ComponentTypes and COMPONENT_TYPES. This let me replace COMPONENT_TYPES everywhere in favor of the ComponentTypes enum

@brandenrodgers brandenrodgers merged commit 49b2a42 into main Jan 13, 2025
1 check passed
@brandenrodgers brandenrodgers deleted the br/port-dev-server-manager-to-ts branch January 13, 2025 23:14
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.

2 participants