Definitelytyped: Bootstrap/index.d.ts bug

Created on 27 Jan 2017  ·  3Comments  ·  Source: DefinitelyTyped/DefinitelyTyped

  • [x] I tried using the @types/bootstrap package and had problems.
  • [x] I tried using the latest stable version https://github.com/DefinitelyTyped/DefinitelyTyped
  • [ ] I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
  • [ ] [Mention](https://github.com/blog/821-mention-somebody-they-re-notified) the authors (see Definitions by: in index.d.ts) so they can respond.

    • Authors: @borisyankov

This line #6:
///

Causes problems. But if I change it to...
///

...It fixes it.

Most helpful comment

@mhegazy
OP's question is terrible but I think I can clarify the problem (since I'm experiencing it too).

I noticed bootstrap.typescript.definitelytyped 0.9.8 for nuget / visual studio wont compile straight away.
line 7 of its index.d.ts file:
/// <reference types="jquery"/>
which produces design time error: Cannot find the type definition file for 'jquery'.
when I comment it out, I can use this package just fine.

All 3 comments

?

the lines above are empty. what am i missing?

Good question! I don't know what happened to the post. It's been to long now, I'm not sure what those lines were anymore. :(

@mhegazy
OP's question is terrible but I think I can clarify the problem (since I'm experiencing it too).

I noticed bootstrap.typescript.definitelytyped 0.9.8 for nuget / visual studio wont compile straight away.
line 7 of its index.d.ts file:
/// <reference types="jquery"/>
which produces design time error: Cannot find the type definition file for 'jquery'.
when I comment it out, I can use this package just fine.

Was this page helpful?
0 / 5 - 0 ratings