PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Cannot find module 'ui/list-picker'. #202

Closed tahir-jamil closed 5 years ago

tahir-jamil commented 5 years ago

error logs node_modules/nativescript-drop-down/drop-down.d.ts(19,29): error TS2307: Cannot find module 'ui/list-picker'.

i have also imported the module in app.module.ts its working but i have this exception too maybe when build for productions which will effect the productions please help me in fixing this

hear are the imports in drop-down.d.ts

import { ObservableArray } from "data/observable-array";
import { CoercibleProperty, EventData, Property, View } from "ui/core/view";
import { GestureTypes } from "ui/gestures/gestures";
import { ItemsSource } from "ui/list-picker";

i just change these to

import { ItemsSource } from "tns-core-modules/ui/list-view/list-view";
import { EventData, View, CoercibleProperty, Property } from "tns-core-modules/ui/page/page";
import { ObservableArray } from "tns-core-modules/data/observable-array/observable-array";

know their is no errors

PeterStaev commented 5 years ago

Duplicate of #198

tahir-jamil commented 5 years ago

thanks for your quick response