Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TypeScript declarations for the Ace text editor

I am looking for TypeScript declaration files (*.d.ts) for the Ace text editor. Google didn't find anything. Has anybody seen them?

like image 455
Trident D'Gao Avatar asked Feb 07 '13 18:02

Trident D'Gao


2 Answers

I created the definitions. https://github.com/Diullei/ace-typescript-definition. When tests are correct I will send a pullrequest to DefinitelyTyped and put the reference to definitions on http://www.tsdpm.com/

EDITED

I created the definitions. https://github.com/borisyankov/DefinitelyTyped/blob/master/ace/ace.d.ts http://www.tsdpm.com/

EDITED 01-09-2017

  • The link has been moved to https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/ace/index.d.ts
  • www.tsdpm.com is no more available

Now using TypeScript 2.0+ you can install it directly from npm https://www.npmjs.com/package/@types/ace

like image 102
Diullei Avatar answered Oct 20 '22 19:10

Diullei


The top source for type definitions is Definitely Typed on GitHub.

They don't yet have one for Ace text editor, but I have an article on writing types for TypeScript that may help.

If you want some help with it, break it down in chunks and ask on here and we'll help you.

like image 20
Fenton Avatar answered Oct 20 '22 19:10

Fenton