Jiping W
Great work, couldn't wait to try it. Thanks
Brent Vatne
complete
with sdk33 we have a template to get started with typescript and the expo package as well as all unimodules include typescript definitions
Jeremy Gollehon
Brent Vatne: Expo is baddass. Thanks for the progress! 🍻
Gleb Gladkiy
Is there an easy way to check which typescript is currently supported by Expo? And is it planned to start supporting ts 3.4?
Minh Thành Bùi
Can jest be supported officially as well? I cannot make jest work with Typescript, it just does not run any test cases :-<
Aidan Feldman
TypeScript is supported as of v31. After doing an
expo init
and an npm install --save @types/expo
, I was able to start importing *.ts
and *.tsx
files and it Just Worked.F
Franklin Josh
Raul de Heer
Hi!
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!
Sébastien Lorber
Raul de Heer: here is another one I made, probably quite similar anyway https://github.com/slorber/expo-typescript
Evan Bacon
in progress
Umidbek Karimov
Another workaround - @types/expo
Jesper Madsen
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
Pavel Zika
Hi, I am using https://github.com/janaagaard75/expo-and-typescript/blob/master/src/expo.d.ts from #janaagaard75
Jesper Madsen
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
Ben Herila
Jesper Madsen: Agree, it would be great if Expo would maintain typescript typings.
Load More
→