question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v9.0.0-rc.3] TypeScript syntax error when bundling for React Native

See original GitHub issue

Hi, the syntax for typescript incorrect in @react-spring/core@9.0.0-rc.3 at ReactNative environment.

The error report is below: image if I change to

export { AnimationResult } from './AnimationResult'
export { UnknownProps } from './types/common'

It works.

What should i do or how can i resolve it?

_Originally posted by @moonrailgun in https://github.com/react-spring/react-spring/issues/985#issuecomment-634048743_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
moonrailguncommented, May 26, 2020

Oh i resolve it. Its looks like alse dependent on other core package. Just upgrade @babel/core and @babel/runtime. And everything looks well

https://github.com/facebook/metro/issues/537#issuecomment-630190299

0reactions
aleclarsoncommented, May 26, 2020

Try --reset-cache when starting the react-native dev server.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[v9.0.0-rc.3] TypeScript syntax error when bundling for React ...
Hi, the syntax for typescript incorrect in @react-spring/core@9.0.0-rc.3 at ReactNative environment. The error report is below: if I change ...
Read more >
react-native bundle script throwing syntax error on typescript ...
When running a build using the react-native bundle script an error is thrown on react-navigation modules referring to typescript.
Read more >
React Relay
Relay generates Flow or TypeScript types for each of your React components that use Relay, which represent the data that each component receives,...
Read more >
Using TypeScript - React Native
TypeScript is a language which extends JavaScript by adding type ... you may run into an issue when it comes to bundling a...
Read more >
@intlify/core-base | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found