Josh created a tool some time ago, but I don’t think it still works.

https://github.com/BowlerHatLLC/dts2as

> On Nov 11, 2021, at 10:59 AM, Yishay Weiss <yishayj...@hotmail.com> wrote:
> 
> I’m wondering if there’s an easy way to convert d.ts files to externs, and 
> then to typedefs using our compiler.
> 
> Tsickle [1] says it “generates externs.js from TypeScript d.ts (and declare, 
> see below)”
> DefinitelyTyped [2] has d.ts files for almost anything, including office-js 
> [3].
> 
> If I have some time I’ll see if I can figure out a way to do this.
> 
> [1] angular/tsickle: Tsickle — TypeScript to Closure Translator 
> (github.com)<https://github.com/angular/tsickle>
> [2] DefinitelyTyped/DefinitelyTyped: The repository for high quality 
> TypeScript type definitions. 
> (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped>
> [3] DefinitelyTyped/types/office-js at master · 
> DefinitelyTyped/DefinitelyTyped 
> (github.com)<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js>
> 
> 
> 
> From: Harbs<mailto:harbs.li...@gmail.com>
> Sent: Thursday, November 11, 2021 10:00 AM
> To: Apache Royale Development<mailto:dev@royale.apache.org>
> Subject: Re: Royale Office Add-In avaliable on github
> 
> Hi Hugo,
> 
> I’m going to be starting on an Office Addin really soon.
> 
> I’mm thinking of adding externs for office types to royale-extras.
> 
> Have you done any work on that?
> 
>> On Oct 24, 2021, at 6:04 PM, Hugo Ferreira <hferreira...@gmail.com> wrote:
>> 
>> Hi,
>> 
>> I just finished my Royale Office Add-In and put it available on github:
>> https://github.com/SolidSoft-Lda/Royale-OfficeAddIn
>> 
>> Regards,
>> Hugo.
> 

Reply via email to