Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the bundle correct? #49

Open
posel opened this issue Oct 7, 2020 · 0 comments
Open

Is the bundle correct? #49

posel opened this issue Oct 7, 2020 · 0 comments

Comments

@posel
Copy link

posel commented Oct 7, 2020

After the installation to the node-modules, there is no index.d.ts available and import to module does not find TimePicker. It looks that is not exportable in the enclosed js.

In detail:
installed: npm install --save tui-time-picker
import: import TimePicker from 'tui-time-picker' - not working and type cannot be used:

image

When using as a object, it totally misunderstood, what the object is and :
image
System mistakenly join the object with function inArray(searchElement, array, startIndex) (from tui-time-picker.js)

Version

TimePicker: Latest: 2.0.3, installed over npm
TypeScript: 4.0.2, latest updated today
bundling: rollup (however, it makes no sens)

Development Environment

Visual Studio Code, latest updates

@nhn nhn deleted a comment from swtalk Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant