markcunninghamuk / markcunninghamuk/PCF_Library

Getting error in Index.ts( Module is not decalred)

Open
#11 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
10
Forks
9
PR merge metrics
No merged PRs in 30d

Description

import { IProps, MultiSelectControl } from "./MultiSelect";

import { defaultProps } from "react-select/src/Select";

The manifest file provided by is working on singleLine of text but according to our filtering criteria we have modifed it to Lookup.Simple so that we can later use Javascript to get contacts whicch are associated with account and resloved some type error but above two lines is giving error with module is not decalred and 'defaultProps', 'Multislect' are used but not never declared.

We are using this pcf on field of appointment entity to get muli contact in that field. This entities also have account lookup and based on account we need to filter solution.

Can you please look into this issue and also if you can provide altenative solution

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Index.ts and inspect the imports from ./MultiSelect and react-select/src/Select, then run the project's TypeScript build or type check. Confirm which module and exports are available in the installed dependencies; done means the control compiles without the reported undeclared-module and missing-name errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.