isNumber does not seem to be available on 3.0.0-beta1

Bug description: toInteger, isNumber, padNumber not available on @ng-bootstrap/ng-bootstrap/util/util

I do get the error that says the util Module is not found.

Link to minimally-working plunker that reproduces the issue:

Not sure how can I illustrate this as there is no example as such. Just migrate from 2.2.1 to 3.0.0-beta1 and add this to a component:

import { toInteger, isNumber, padNumber } from '@ng-bootstrap/ng-bootstrap/util/util';

Version of Angular, ng-bootstrap, and Bootstrap:

Angular: 6.1.0

ng-bootstrap: 3.0.0-beta1

Bootstrap: 4.0.0

1 possible answer(s) on “isNumber does not seem to be available on 3.0.0-beta1

  1. Sorry, this will be a breaking change in 3.0.0 – we are migrating to Angular package format and as such you will not be able to use “deep” imports.

    I know that this is not what you want to hear but we see this as a “good thing” since util is supposed to be our private implementation detail and not meant to be pubic API…

    This is a very simple utility so feel free to copy it over to your project if you need it: https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/util/util.ts