TypeScript or Babel?

Am I mistaken, or is this the common repo? It’s one I’ve been using.

1 Like

Alright, that’s good!

But what I was referring to was a more concerted effort to also get definitions for popular packages in there (or wherever), too!

1 Like

Yeah, but it’s missing stuff like alanning:roles or react-meteor-data

Though I’ll have to figure out how the latter one works because the old way I used it definitely does not work with TypeScript in combination with Redux.

okay, it was a question of syntax.

This one does not play well with createContainer:

class Login extends React.Component<any, any> {

This one does:

const Index = React.createClass({

Here are more definitions (including for alanning:roles and react-meteor-data): https://github.com/meteor-typings

Community contributions are welcome. I know the definitions can be improved and updated since I wrote some of them a while ago. I haven’t had time to contribute to this recently, but I do use TypeScript everyday with my Meteor project, and I hope to add some more definitions soon.

2 Likes