Skip to content

Conversation

@jacobrask
Copy link
Contributor

@jacobrask jacobrask commented Feb 19, 2019

Controller types are pretty low quality still, but I need to get the entire code base to TypeScript to start experimenting with https://github.com/Swatinem/rollup-plugin-dts and other solutions to get output a type bundle.

There is a breaking change here in that animated.marquee is removed, because it is not recognized as a JSX element and thus not compatible with ReactType. We can either

  1. just remove it, it's a deprecated element which is probably why it's not in the JSX types
  2. try adding it with a PR to the React JSX types
  3. maintain our own types which is basically JSXElements + marquee...

@drcmda
Copy link
Member

drcmda commented Feb 19, 2019

This pull request fixes 10 alerts when merging c651c2b into 74b0984 - view on LGTM.com

fixed alerts:

  • 10 for Unused variable, import, function or class

Comment posted by LGTM.com

@drcmda
Copy link
Member

drcmda commented Feb 19, 2019

i think removing marquee is fine. is this good to go?

@drcmda drcmda merged commit 0ebbf23 into pmndrs:master Feb 20, 2019
szjemljanoj pushed a commit to szjemljanoj/react-spring that referenced this pull request Mar 29, 2019
Convert Controller, Frameloop and target files to TypeScript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants