Can we have a TypeScript support for the Expo app.
Hi, I am using https://github.com/janaagaard75/expo-and-typescript/blob/master/src/expo.d.ts from #janaagaard75
@Pavel Zika: Seems pretty good, but it'd be great with official Expo typings that are kept in line with the SDK by the team
@Jesper Madsen: Agree, it would be great if Expo would maintain typescript typings.
Another workaround - @types/expo
@Umidbek Karimov: I don't think that's a workaround, I think that's pretty legit :-) Can't see any of the core Expo contributors I know of on the list, but skimming the typings they seem pretty legit. I think this issue could be closed @md aslam ansari
If you think something is missing, feel free to contribute the changes :-) Upon discovering that Expo actually had a @types repo, I just did so, and it's quite easy :-) https://github.com/DefinitelyTyped/DefinitelyTyped/pull/24306
I made a Typescript boilerplate for Expo projects. It is currently using the newest Expo SDK [31.0.0].
Here it is:
Some typings are already included in the project.
I hope you will use it, cheers!
@Raul de Heer: here is another one I made, probably quite similar anyway https://github.com/slorber/expo-typescript