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

Add type annotations to lib utils url #87

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

jho406
Copy link
Collaborator

@jho406 jho406 commented Jun 28, 2024

Add type annotations to utils/url

Resolves #75

@jho406 jho406 force-pushed the add-type-annotations-to-lib-utils-url branch from 21401c4 to 94dfd9d Compare June 28, 2024 02:46
@jho406 jho406 merged commit d21a044 into typescript-main Jun 28, 2024
15 checks passed
jho406 added a commit that referenced this pull request Jul 2, 2024
* Add type annotations for the reducers and state (#84)

Incremental typing. I'm sure not everything is correct, but
it'll improve as we type other parts of superglue. For now,
i'm keeping close parity with what outputted to /dist, which is
why you continue to see defaults on reducers.

* Add action types (#85)

* Add type annotations to utils/url (#87)

Resolves #75

* Add remote and visit type annotations (#86)

This adds remote and visit type annotations. `npm run type-check` doesn't
pass yet, but the output to dist is still acceptable. Its a step in the right direction.

* Update UJS type annotations

* Prettier

* Add type annotations to index.tsx

* Add types to middleware

* Add types to utils/request.ts

* Add types to Nav.tsx

* Add types to superglue index

* Update type annotations on action creators

* Add typing to update fragment actions

* Prettier and update Error

* Add typing for url parse

* Remove any from data

* Add content type

* Remove Anys

* Add type annotations to immutability

* Revert removal of buildstore

* Disable eslint

* Maintain backward compatibility while preparing for redux toolkit

* Fix specs

* Remove babel proptypes

* Remove any action

* Fix depedencies

* Remove extraneous pagekey setting

* Use abstract classes

* Use Record

* Ensure override of url params when using form
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.

None yet

1 participant