-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Enhancement]: TypeScript Support #18
Comments
Hi Arnie! Thanks for the suggestion. I agree that I should add types, but don't really have an usecase for this package anyways so it probably won't happen too soon. |
Can I contribute to this package and add types? |
@landonwjohnson sure! |
I was able to get TypeScript typing support working with the following code: declare module "react-native-web-refresh-control" {
export {
RefreshControl,
RefreshControlProps,
RefreshControlPropsAndroid,
RefreshControlPropsIOS,
} from "react-native";
export function patchFlatListProps(props: RefreshControlProps): void;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi:
Just a simple feature request for TypeScript support.
Thanks.
The text was updated successfully, but these errors were encountered: