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

chore: remove manual type definitions for DataType #951

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Oct 30, 2024

This change should have no user impact.

Before this change, DataType had its own type definitions in src/datatype/index.d.ts. This removes that file.

I tested this by manually including it in CoMapeo Mobile and it type-checked fine.

*This change should have no user impact.*

Before this change, DataType had its own type definitions in
`src/datatype/index.d.ts`. This removes that file.

I tested this by manually including it in CoMapeo Mobile and it type-
checked fine.

I think this is a useful cleanup on its own, but I believe it will make
a future improvement easier.
}

/**
* @param {MapeoDoc} doc
* @param {any} doc
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 was unable to figure out how to get this to type-check without any, much to my dismay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant