Closed david-gang closed 8 years ago
Hi, thanks for the kind words :-)
You are invited to create one and send a PR
Thanks!
Hi Uri,
Here is the definition file
/// <reference path="../angularjs/angular.d.ts" />
declare module angular.load {
interface IAngularLoadService {
loadScript(url:string): ng.IPromise<any>;
loadCss(url:string): ng.IPromise<any>;
}
}
It works when under the typings directory we make a library angular-load. I would prefer not to commit it directly to definitelytyped because this means that every time the project api is changed, i will have to update it there.
What do you think?
Thanks :-)
Hi David,
Feel free to send a PR to definitely-typed. If the API will ever change, I will be able to submit a PR and explain that I am the project maintainer, so no worries :)
Thanks!
Hi,
Here is the pull request https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8316
Yom Tov, David
Wonderful, thanks!
Hi,
Thanks for your great library. Would it be possible to supply a typescript definition file for this library? This would be great :+1:
There is currently a repository of definition files at: https://github.com/DefinitelyTyped/DefinitelyTyped
Thanks, David