diff --git a/angular-bootstrap-calendar/index.d.ts b/angular-bootstrap-calendar/index.d.ts index da0924bb26..a6b82764a3 100644 --- a/angular-bootstrap-calendar/index.d.ts +++ b/angular-bootstrap-calendar/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Egor Komarov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as moment from '../moment'; +/// + +import * as moment from 'moment'; import * as angular from 'angularjs'; declare module 'angularjs' { diff --git a/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker-3.0.0.d.ts b/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker-3.0.0.d.ts index 2f9a25cb1e..ac81812bb1 100644 --- a/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker-3.0.0.d.ts +++ b/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker-3.0.0.d.ts @@ -10,8 +10,9 @@ */ /// +/// -import * as moment from '../moment'; +import * as moment from 'moment'; export as namespace BootstrapV3DatetimePicker; diff --git a/bootstrap.v3.datetimepicker/index.d.ts b/bootstrap.v3.datetimepicker/index.d.ts index cb8f8d0e47..af7152a41c 100644 --- a/bootstrap.v3.datetimepicker/index.d.ts +++ b/bootstrap.v3.datetimepicker/index.d.ts @@ -11,8 +11,9 @@ */ /// +/// -import * as moment from '../moment'; +import * as moment from 'moment'; export as namespace BootstrapV3DatetimePicker; diff --git a/del/index.d.ts b/del/index.d.ts index e9c5e58557..fd37a8ff91 100644 --- a/del/index.d.ts +++ b/del/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Asana , Aya Morisawa // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import glob = require("../glob"); +/// + +import glob = require("glob"); declare function Del(pattern: string): Promise; declare function Del(pattern: string, options: Del.Options): Promise; diff --git a/eonasdan-bootstrap-datetimepicker/index.d.ts b/eonasdan-bootstrap-datetimepicker/index.d.ts index 80fb5284e5..b213d3102d 100644 --- a/eonasdan-bootstrap-datetimepicker/index.d.ts +++ b/eonasdan-bootstrap-datetimepicker/index.d.ts @@ -4,8 +4,9 @@ // Definitions: https://github.com/borisyankov/DefinitelyTyped /// +/// -import * as moment from '../moment'; +import * as moment from 'moment'; export as namespace EonasdanBootstrapDatetimepicker; diff --git a/express-brute/index.d.ts b/express-brute/index.d.ts index bd378c89b3..65c2427aac 100644 --- a/express-brute/index.d.ts +++ b/express-brute/index.d.ts @@ -3,10 +3,9 @@ // Definitions by: Cyril Schumacher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/// - - -import express = require("../express"); +import express = require("express"); /** * @summary Options for {@link MemoryStore} class. diff --git a/fullCalendar/index.d.ts b/fullCalendar/index.d.ts index 59d4af5a96..12bbbb9fd5 100644 --- a/fullCalendar/index.d.ts +++ b/fullCalendar/index.d.ts @@ -4,8 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// -import * as moment from '../moment'; +import * as moment from 'moment'; export as namespace FC; diff --git a/glob-expand/index.d.ts b/glob-expand/index.d.ts index c69bd141ac..65f88983c1 100644 --- a/glob-expand/index.d.ts +++ b/glob-expand/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: vvakame // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as glob from "../glob"; +/// + +import * as glob from "glob"; interface Option { filter?: string | ((filePath: string) => boolean); diff --git a/glob-stream/index.d.ts b/glob-stream/index.d.ts index 6feef15aed..05281f1647 100644 --- a/glob-stream/index.d.ts +++ b/glob-stream/index.d.ts @@ -4,8 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// -import glob = require('../glob'); +import glob = require('glob'); export interface Options extends glob.IOptions { cwd?: string; diff --git a/glob/index.d.ts b/glob/index.d.ts index 683c86a7fd..52d6ef0848 100644 --- a/glob/index.d.ts +++ b/glob/index.d.ts @@ -4,10 +4,11 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// import events = require("events"); import fs = require('fs'); -import minimatch = require("../minimatch"); +import minimatch = require("minimatch"); declare function G(pattern: string, cb: (err: Error, matches: string[]) => void): void; declare function G(pattern: string, options: G.IOptions, cb: (err: Error, matches: string[]) => void): void; diff --git a/gulp-changed/index.d.ts b/gulp-changed/index.d.ts index 9b4e4ea9f9..c887c38254 100644 --- a/gulp-changed/index.d.ts +++ b/gulp-changed/index.d.ts @@ -4,9 +4,10 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// import { Transform } from "stream"; -import File = require("../vinyl"); +import File = require("vinyl"); interface IComparator { /** diff --git a/gulp-cheerio/index.d.ts b/gulp-cheerio/index.d.ts index f522fcf5b6..f7e07b8f1c 100644 --- a/gulp-cheerio/index.d.ts +++ b/gulp-cheerio/index.d.ts @@ -5,8 +5,9 @@ /// /// +/// -import Vinyl = require('../vinyl'); +import Vinyl = require('vinyl'); declare namespace cheerio { interface Cheerio { diff --git a/gulp-if/index.d.ts b/gulp-if/index.d.ts index 2b2f0cb56b..589482c49b 100644 --- a/gulp-if/index.d.ts +++ b/gulp-if/index.d.ts @@ -4,9 +4,10 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// import fs = require('fs'); -import vinyl = require('../vinyl'); +import vinyl = require('vinyl'); interface GulpIf { /** diff --git a/gulp-inject/index.d.ts b/gulp-inject/index.d.ts index cf6fd3ae04..a0c99efe78 100644 --- a/gulp-inject/index.d.ts +++ b/gulp-inject/index.d.ts @@ -4,8 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// -import File = require("../vinyl"); +import File = require("vinyl"); interface ITagFunction { (targetExt: string, sourceExt: string): string; diff --git a/gulp-tslint/index.d.ts b/gulp-tslint/index.d.ts index 2e8f4e5a10..b5972dbae7 100644 --- a/gulp-tslint/index.d.ts +++ b/gulp-tslint/index.d.ts @@ -4,8 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// -import vinyl = require("../vinyl"); +import vinyl = require("vinyl"); declare namespace gulpTsLint { interface GulpTsLint { diff --git a/gulp-util/index.d.ts b/gulp-util/index.d.ts index 3543a65cad..feea14ec8e 100644 --- a/gulp-util/index.d.ts +++ b/gulp-util/index.d.ts @@ -5,8 +5,9 @@ /// /// +/// -import vinyl = require('../vinyl'); +import vinyl = require('vinyl'); import chalk = require('chalk'); import through2 = require('through2'); diff --git a/html-minifier/index.d.ts b/html-minifier/index.d.ts index 81fc61f3af..0bf9e2ae7f 100644 --- a/html-minifier/index.d.ts +++ b/html-minifier/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Tanguy Krotoff // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as UglifyJS from '../uglify-js'; +/// + +import * as UglifyJS from 'uglify-js'; import * as CleanCSS from 'clean-css'; import * as RelateUrl from 'relateurl'; diff --git a/jquery.livestampjs/index.d.ts b/jquery.livestampjs/index.d.ts index 4a63ee0157..12d401367d 100644 --- a/jquery.livestampjs/index.d.ts +++ b/jquery.livestampjs/index.d.ts @@ -6,8 +6,9 @@ // A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js. /// +/// -import * as moment from '../moment'; +import * as moment from 'moment'; export as namespace LivestampGlobal; diff --git a/meteor-publish-composite/index.d.ts b/meteor-publish-composite/index.d.ts index 140648c247..c5475e6d94 100644 --- a/meteor-publish-composite/index.d.ts +++ b/meteor-publish-composite/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Robert Van Gorkom // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +/// declare interface PublishCompositeConfigN { children? : PublishCompositeConfigN[]; diff --git a/moment-timezone/index.d.ts b/moment-timezone/index.d.ts index 298e828eef..6796f28b39 100644 --- a/moment-timezone/index.d.ts +++ b/moment-timezone/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Michel Salib // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as moment from '../moment'; +/// + +import * as moment from 'moment'; export as namespace MomentTimezone; export = moment; @@ -56,7 +58,7 @@ declare namespace MomentTimezone { } -declare module "../moment" { +declare module "moment" { interface Moment { tz(): string; tz(timezone: string): Moment; diff --git a/passport-http-bearer/index.d.ts b/passport-http-bearer/index.d.ts index 4c720554fc..07ed927d57 100644 --- a/passport-http-bearer/index.d.ts +++ b/passport-http-bearer/index.d.ts @@ -4,9 +4,10 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// import passport = require("passport"); -import express = require("../express"); +import express = require("express"); interface IStrategyOptions { scope: string | Array; diff --git a/passport-strategy/index.d.ts b/passport-strategy/index.d.ts index 5e48ce24f8..8494584839 100644 --- a/passport-strategy/index.d.ts +++ b/passport-strategy/index.d.ts @@ -10,10 +10,10 @@ * inheriting the 'Strategy' class and reimplementing the 'authenticate' method. */ - +/// import passport = require('passport'); -import express = require('../express'); +import express = require('express'); declare class Strategy implements passport.Strategy { /** diff --git a/sequelize-fixtures/index.d.ts b/sequelize-fixtures/index.d.ts index 42adaad7af..71840dc7d2 100644 --- a/sequelize-fixtures/index.d.ts +++ b/sequelize-fixtures/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Christian Schwarz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as Sequelize from "../sequelize"; +/// + +import * as Sequelize from "sequelize"; declare namespace SequelizeFixtures { interface Options { diff --git a/svg-sprite/index.d.ts b/svg-sprite/index.d.ts index 1a9ea77177..df6108242c 100644 --- a/svg-sprite/index.d.ts +++ b/svg-sprite/index.d.ts @@ -4,8 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// -import File = require('../vinyl'); +import File = require('vinyl'); import winston = require('winston'); declare namespace sprite { diff --git a/swig-email-templates/index.d.ts b/swig-email-templates/index.d.ts index 7a0a1b97a1..26b5944053 100644 --- a/swig-email-templates/index.d.ts +++ b/swig-email-templates/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Adam Babcock // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import swig = require('../swig'); +/// + +import swig = require('swig'); interface SwigRender { (file: string, context: T, callback: (err: any, html: string, text: string) => any): any; diff --git a/tedious-connection-pool/index.d.ts b/tedious-connection-pool/index.d.ts index 90543a2d73..d9334f74cd 100644 --- a/tedious-connection-pool/index.d.ts +++ b/tedious-connection-pool/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Cyprien Autexier // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import tedious = require('../tedious'); +/// + +import tedious = require('tedious'); declare namespace tcp { diff --git a/twix/index.d.ts b/twix/index.d.ts index 39296f3f42..c730fcd307 100644 --- a/twix/index.d.ts +++ b/twix/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: j3ko // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import { Moment, Duration } from '../moment'; +/// + +import { Moment, Duration } from 'moment'; export interface TwixFormatOptions { groupMeridiems?: boolean; @@ -87,7 +89,7 @@ export interface TwixStatic { formatTemplate?: (left: any, right: any) => any; } -declare module "../moment" { +declare module "moment" { interface Moment { twix(date: Date): Twix; twix(date: Date, allDay: boolean): Twix; diff --git a/umzug/index.d.ts b/umzug/index.d.ts index 0fac758548..0395d09fd7 100644 --- a/umzug/index.d.ts +++ b/umzug/index.d.ts @@ -4,8 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// -import Sequelize = require("../sequelize"); +import Sequelize = require("sequelize"); declare namespace umzug { diff --git a/vinyl-fs/index.d.ts b/vinyl-fs/index.d.ts index bae28894d2..350ee527b5 100644 --- a/vinyl-fs/index.d.ts +++ b/vinyl-fs/index.d.ts @@ -4,6 +4,8 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// +/// declare global { namespace NodeJS { @@ -14,8 +16,8 @@ declare global { } import _events = require("events"); -import File = require("../vinyl"); -import globStream = require("../glob-stream"); +import File = require("vinyl"); +import globStream = require("glob-stream"); interface ISrcOptions extends globStream.Options { /** Specifies the working directory the folder is relative to */ diff --git a/webpack/index.d.ts b/webpack/index.d.ts index af70c6b3d2..123f1f09b3 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -3,7 +3,9 @@ // Definitions by: Qubo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as UglifyJS from '../uglify-js'; +/// + +import * as UglifyJS from 'uglify-js'; declare namespace webpack { interface Configuration {