Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Reminder app issues (Read 2560 times)
bianca2210
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: May 13th, 2022
Reminder app issues
May 13th, 2022 at 11:45am
Print Post  
Hello,

I am a new member of mindusion, and I am trying to create the reminder app. But I interfaced a lot of errors, can someone help me?

for e.a:
ERROR in src/app/components/reminder/Scripts/jsplanner.d.ts:19:37 - error TS2339: Property 'Common' does not exist on type 'typeof MindFusion'.
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Reminder app issues
Reply #1 - May 14th, 2022 at 7:13am
Print Post  
Hi,

You can find TypeScript examples in JsScheduler\Samples\TypeScript folder from distribution. All runtime scripts and d.ts definitions will be downloaded from npm if you add this to your package.json:

Code
Select All
"dependencies": {
    "@mindfusion/scheduling": "^2.0.0"
} 



E.g. after running npm install in TypeScript samples folder, you can find the Common module definitions under JsScheduler\Samples\TypeScript\node_modules\@mindfusion\common\common.d.ts.

If you are not using npm and module bundlers but referencing d.ts files manually, you can find them all under JsScheduler\Scripts folder from distribution. In such case, you might have to load the definitions in same order as listed for runtime js files in "getting started" docs: drawing, controls, common, common-collections, scheduling.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
bianca2210
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: May 13th, 2022
Re: Reminder app issues
Reply #2 - May 16th, 2022 at 11:05am
Print Post  
Thank for your response Smiley
I still have some errors Sad
import MindFusion
Module '"@mindfusion/scheduling"' has no exported member 'MindFusion'.ts(2305)
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Reminder app issues
Reply #3 - May 16th, 2022 at 12:33pm
Print Post  
Hi,

Could you attach a test project showing your setup?

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint