@rnx-kit/typescript-react-native-resolver
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

@rnx-kit/typescript-react-native-resolver

Build npm version

@rnx-kit/typescript-react-native-resolver is a TypeScript module resolver for use with react-native projects.

🛑 Deprecated 🛑

This tool has been deprecated in favor of using @rnx-kit/metro-plugin-typescript, which is built on the moduleSuffixes TypeScript compiler option.

You may continue to use it, but it will be removed in a future release.

Synopsis

This resolver uses the target platform to find platform-override files such as foo.ios.ts and foo.native.ts. It also maps react-native module references to out-of-tree platforms such as react-native-windows and react-native-macos. For performance reasons, these mappings are built into the resolver, rather than loaded dynamically using @react-native-community/cli.

Readme

Keywords

none

Package Sidebar

Install

npm i @rnx-kit/typescript-react-native-resolver

Weekly Downloads

475

Version

0.3.1

License

MIT

Unpacked Size

63.6 kB

Total Files

34

Last publish

Collaborators

  • kelset
  • hansenyy
  • jasonvmorse
  • acoates
  • rnbot
  • tido64
  • rnsdkbot