Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript & DefinitelyTyped #147

Open
z639 opened this issue Feb 28, 2017 · 2 comments
Open

Typescript & DefinitelyTyped #147

z639 opened this issue Feb 28, 2017 · 2 comments

Comments

@z639
Copy link

z639 commented Feb 28, 2017

Hiya,

Is anyone out there working on getting this project a declaration file to add to DefinitelyTyped ( https://github.com/DefinitelyTyped/DefinitelyTyped ) for working with it in typescript ?

Thanks.

@utiq
Copy link

utiq commented Apr 20, 2017

You can add to it in Typescript adding this reference at the top your file:

import '../../../libraries/seriouslyjs/seriously.js';
declare var Seriously: any;

@z639
Copy link
Author

z639 commented May 4, 2017

@utiq True, but that is true of any JavaScript library.

Maybe I worded my post wrong, When I said working with it in TypeScript, I meant having the advantages of type definition.. IntelliSense and such.

That said, I'm sure pointing this out will help others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants