refactor: align codebase on .ts vs .tsx on refactor branch

Open
#1,755 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

code-quality
Problem

The refactor branch uses .tsx for all file extensions. This is against existing standards which could make it difficult to tell where standalone TS code lives, and where JSX code lives.

There are also some small syntax changes: https://stackoverflow.com/questions/34224007/is-there-any-downside-to-using-tsx-instead-of-ts-all-the-times-in-typescript.

Definition of Done

Refactor all .tsx files to use .ts that don't leverage JSX elements. This allows developers to know looking at the extension if a file is rendering components, or pure utility/functionality.

Dominant language
TypeScript
Stars
339
Forks
129
Avg merge
19h 21m
Merged PRs (30d)
125

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/agentcore-cli

All issues in aws/agentcore-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.