see README.md and PULL_REQUEST_TEMPLATE.md first.
The typing must have a header with the following format:
// Type definitions for [LIBRARY NAME]
// Project: [LIBRARY URL]
// Definitions by: [AUTHOR NAME] <[AUTHOR URL]>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
If the version of the library is known then add it as a semver to the label.
// Type definitions for Backbone 0.9
// Project: http://backbonejs.org/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
The
jQuery.bbq
typing has the interfaces in a namespace namedJQueryBbq
Example:
namespace JQueryBbq {
interface JQuery {
//...
}
//...
}
interface JQueryStatic {
bbq: JQueryBbq.JQuery;
//...
}
See the best practices for more info on how to structure a definition file.
We do not support exposing undocumented internal implementation details of libraries in .d.ts
files. We follow this more strictly for popular libraries with good documentation e.g. jquery, angular, node etc.
After your pull request has been merged, your NPM package should be updated within a few hours. If it's been more than 24 hours, ping @RyanCavanaugh and @sandersn on the PR to investigate.
Keep in mind the repos is a community project with a wide range on quality in contributions and moderation; so there may be the occasional rule violation or historical artifact.