-
Notifications
You must be signed in to change notification settings - Fork 293
Use Typescript for package sources implementation #424
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
Merged
BartoszKlonowski
merged 22 commits into
main
from
chore/use-typescript-for-package-implementation
Sep 14, 2022
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
a348214
Install Typescript and babel plugin
BartoszKlonowski a3a87a2
Rename all source files to ts
BartoszKlonowski 675ff04
Use TSX for Slider component
BartoszKlonowski 56fa615
Configure TS for package compilation with Babel
BartoszKlonowski 710d524
Fix syntax and typechecking for mobile sources
BartoszKlonowski 2198fde
Use native event instead of synthetic event
BartoszKlonowski 9081fb5
Add docs for tapToSeek property
BartoszKlonowski 3f048df
Update example lockfile for packages
BartoszKlonowski e5d85e2
Convert web module into JSX file and translate into TS
BartoszKlonowski 25d5eb3
Include typechecking during CI workflow
BartoszKlonowski 40fc658
Update snapshots regarding new TS files
BartoszKlonowski 484d66f
Update tests to use TS with JSX syntax
BartoszKlonowski 23a5094
Update sources to new prettier parsing option
BartoszKlonowski d8f3b75
Use interface for NativeProps instead of type
BartoszKlonowski 3ba2bc1
Use ImageSource as a type for image instead of URI based
BartoszKlonowski ffd3253
Use JSON for Babel config instead of JS
BartoszKlonowski 6a5b65f
Rename TypeScript check to avoid copy-paste error
BartoszKlonowski 0b89f0a
Cover review remarks
BartoszKlonowski 194781f
Keep using bubbling events for continous change
BartoszKlonowski a9a66e9
Update lockfiles after recent main changes
BartoszKlonowski c8475ad
Fix typing for react-test-renderer by adding @types
BartoszKlonowski 096013d
Check for Example app typechecking and fix leftover mistakes
BartoszKlonowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["@babel/preset-typescript", "module:metro-react-native-babel-preset"] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.