adobe / aepsdk-react-native

A wrapper around the iOS and Android AEP mobile SDK to allow for integration with React Native applications.
Apache License 2.0
15 stars 28 forks source link

feat: convert all packages to typescript #146

Closed dsoffiantini closed 2 years ago

dsoffiantini commented 2 years ago

Description

This code change updates all packages to use typescript, and the infrastructure to transpile the code to javascript. This will hopefully avoid a lot of duplication of flow types as well as giving a better development experience.

Motivation and Context

Typescript has become the de-facto language for writing javascript and is hugely adopted in the React community. Most popular packages have abandoned flow for typescript at this point or are progressively moving in that direction.

How Has This Been Tested?

All previous unit tests are still passing, and the sample app was able to launch and execute all commands.

Types of changes

Checklist: