Comments (16)
yes, I have seen this thing, but it is not relevant to ng2-bootstrap
,
some of typings defining setInterval
return value type as Timer
,
what is obviously wrong, and should be number
only question is: who provides broken type definition
?
from ngx-bootstrap.
@be4code so what starter are you using?
from ngx-bootstrap.
I'm using https://github.com/mgechev/angular2-seed but they told me how to use ng2-bootstrap with the seed.
from ngx-bootstrap.
ok, I have found it: https://github.com/borisyankov/DefinitelyTyped/blob/master/node/node.d.ts#L36-L39
from ngx-bootstrap.
Maybe you can just force the type (<number>yourVar)
where using it ?
from ngx-bootstrap.
published as 0.44.5
@ludohenin please try
from ngx-bootstrap.
@valorkin didn't fixed the compiler error. But this did: private currentInterval:NodeJS.Timer;
(line 56 of carousel.ts)
from ngx-bootstrap.
but then all will have to install node tsd even if they use ng2-bootstrap from .net
do you have a branch where I can reproduce this issue?
from ngx-bootstrap.
Yeah I know and it's a problem ... here is the branch
from ngx-bootstrap.
@ludohenin fixed in 0.44.6, setInterval type doesn't worse to force ppl use tsd :)
from ngx-bootstrap.
please approve and I am closing this issue
from ngx-bootstrap.
Works like a charm :)
I think you can close that one.
Thanks.
from ngx-bootstrap.
Write to me if anything :)
can you create a gh-pages for your repo?
so I can include it ng2-bootstrap readme
from ngx-bootstrap.
https://ludohen.github.io/angular2-seed-ng2-bootstrap
http://ludohenin.github.io/angular2-seed-ng2-bootstrap
from ngx-bootstrap.
I found this while roaming :). This how Timer issue is handled in ng2 source.
https://github.com/angular/angular/blob/master/modules/angular2/src/core/facade/async.ts#L10-L17
from ngx-bootstrap.
cool, looks good
from ngx-bootstrap.
Related Issues (20)
- ngx-bootstrap 11.0.2 issue in pagination using Angular 16 HOT 1
- Vulnerability in 11.0.2 HOT 1
- How to detect whether the date is being selected from presets or by manual?
- Ngx Bootstrap modal and viewchild component is always undefined
- One way binding for current page HOT 1
- Date picker firstDayOfWeek
- Typeahead i18n support
- Error installing ngx-bootstrap with angular 17 HOT 3
- Extend Datepicker's bsDaterangepicker
- Timepicker validation issue
- Allow for timepicker configuration to be honored when used with datepicker
- Enable some dates which is Disabled by daysDisabled property
- How to customize Theming?
- not able to apply the style using property binding in <ngx-datepicker> tag
- Bug: Invalid Input Handling in ngx-bootstrap Datepicker when using Min and Max date
- Date Picker not displaying years correctly on Firefox 123.0+ HOT 1
- Package.json exports "types" of component-loader / focus-trap / mini-ngrx do not reference the index.d.ts
- Using ngx-bootstrap v >=10 with bootstrap v3
- Loss of modal backdrop when opening second modal HOT 1
- a11y: Incorrect Usage of aria-expanded Attribute in ngx-bootstrap Typeahead Component
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-bootstrap.