How to use the tsd.Def function in tsd

To help you get started, we’ve selected a few tsd examples, based on popular ways it is used in public projects.

github moznion / gulp-tsd / lib / tsd.js View on Github external
api.context.config.getInstalled().forEach(function (inst) {
                    var def = tsd.Def.getFrom(inst.path);
                    query.addNamePattern(def.project + '/' + def.name);
                });
                query.versionMatcher = new tsd.VersionMatcher('latest');
github DefinitelyTyped / grunt-tsd / lib / runner.js View on Github external
api.context.config.getInstalled().forEach(function (inst) {
					var def = tsd.Def.getFrom(inst.path);
					query.addNamePattern(def.project + '/' + def.name);
				});
				query.versionMatcher = new tsd.VersionMatcher('latest');

tsd

Check TypeScript type definitions

MIT
Latest version published 10 days ago

Package Health Score

86 / 100
Full package analysis

Similar packages