0

I'm in the process of updating dependencies for a project and I saw there is a new baconjs major version which I would like to use. The problem is that the last type definition I have found is one year old (https://www.npmjs.com/package/@types/baconjs)

Are there any other official type definition available?

Daniel San
  • 1,937
  • 3
  • 19
  • 36
  • https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/baconjs/index.d.ts All contributors seems to be unrelated to baconjs. Which probably means the existing definitions are from a 3rd party, baconjs is very likely not even using typescript. And the next type definition update is when you make it yourself. Sorry but it's disappointingly common. Any real typescript-project is sure to update @types as part of their update/deploy process. – ippi Jun 29 '18 at 13:58
  • Baconjs is an ES6 project and the typings are 3rd party. I’ve started working on a ts version though. So there’s hope that one day it’ll be a native typescript lib. – raimohanska Jun 30 '18 at 16:11
  • Typescript conversion progress here: https://github.com/baconjs/bacon.js/pull/717 Pls help! – raimohanska Jun 30 '18 at 21:50

2 Answers2

0

DefinitelyTyped is the repo for common typings and the typings are included here... https://github.com/DefinitelyTyped/DefinitelyTyped

Sandra Willford
  • 3,459
  • 11
  • 49
  • 96
0

Bacon.js 3 has been rewritten in TypeScript, so now TypeScript is supported out of the box. See the docs.

Steve
  • 8,066
  • 11
  • 70
  • 112