Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic [TYPESCRIPT] Create @types for Mindfusion (Read 3118 times)
Nils Quirmbach
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Oct 26th, 2016
[TYPESCRIPT] Create @types for Mindfusion
Oct 26th, 2016 at 7:29am
Print Post  
Would it be possible to add the mindfusion definition to the official @types? Since I am working with angular-cli the best practice is to use the @types to add definition files.

github.com/typings/registry

Regards
Nils
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: [TYPESCRIPT] Create @types for Mindfusion
Reply #1 - Oct 26th, 2016 at 8:40am
Print Post  
By @types do you mean https://www.npmjs.com/~types, or that's automatically collected from some typings registry on github? By following the links from npm site I'm getting to https://github.com/DefinitelyTyped/DefinitelyTyped instead of https://github.com/typings/registry ...

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


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: [TYPESCRIPT] Create @types for Mindfusion
Reply #2 - Nov 3rd, 2016 at 11:42am
Print Post  
We've submitted a pull request to DefinitelyTyped, but according to maintainers we shouldn't publish the t.ds there if the definitions are for our own library -
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12338

We'll upload it as a standalone NPM package instead in one of next days, including both the JS and T.DS files; hope that will work for you.

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


I Love MindFusion!

Posts: 2
Joined: Oct 26th, 2016
Re: [TYPESCRIPT] Create @types for Mindfusion
Reply #3 - Nov 3rd, 2016 at 4:04pm
Print Post  
Yes, that is perfect  Smiley
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: [TYPESCRIPT] Create @types for Mindfusion
Reply #4 - Jan 4th, 2017 at 11:23am
Print Post  
You can find NPM package at https://www.npmjs.com/package/diagram-library

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