Skip to content

Commit

Permalink
Explicitly reference the _references.d.ts file for all lib files
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Apr 22, 2015
1 parent 18160b2 commit d0c7b40
Show file tree
Hide file tree
Showing 36 changed files with 33 additions and 51 deletions.
2 changes: 1 addition & 1 deletion lib/Cache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path='../typings/bluebird/bluebird.d.ts' />
/// <reference path="../_references.d.ts" />
import Promise = require('bluebird');

export = ICache;
Expand Down
2 changes: 1 addition & 1 deletion lib/CacheDirector.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/CacheDirector.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
export = ICacheDirector;

interface ICacheDirector {
Expand Down
2 changes: 1 addition & 1 deletion lib/Configuration.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/Configuration.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
export = Configuration;

interface Configuration {
Expand Down
7 changes: 1 addition & 6 deletions lib/Core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Core.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions lib/Core.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
/// <reference path='../typings/node/node.d.ts' />
/// <reference path='../typings/mongodb/mongodb.d.ts' />
/// <reference path='../typings/lodash/lodash.d.ts' />
/// <reference path='../typings/bluebird/bluebird.d.ts' />
/// <reference path='./Model' />
/// <reference path='./Instance' />

/// <reference path="../_references.d.ts" />
import Promise = require('bluebird');
import MongoDB = require('mongodb');
import _ = require('lodash');
Expand Down
1 change: 1 addition & 0 deletions lib/General.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/General.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/General.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
export interface Callback<T> {
(err: Error, object: T): void;
}
Expand Down
1 change: 0 additions & 1 deletion lib/Hooks.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Hooks.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/Hooks.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference path='../typings/bluebird/bluebird.d.ts' />

/// <reference path="../_references.d.ts" />
import instance = require('./Instance');

export interface IHooks<TDocument, TInstance> {
Expand Down
6 changes: 0 additions & 6 deletions lib/Instance.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Instance.js.map

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions lib/Instance.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
/// <reference path='../typings/node/node.d.ts' />
/// <reference path='../typings/mongodb/mongodb.d.ts' />
/// <reference path='../typings/lodash/lodash.d.ts' />
/// <reference path='../typings/bluebird/bluebird.d.ts' />
/// <reference path="Core.ts" />
/// <reference path="Model.ts" />

/// <reference path="../_references.d.ts" />
import iridium = require('./Core');
import model = require('./Model');
import IPlugin = require('./Plugins');
Expand Down
2 changes: 1 addition & 1 deletion lib/Middleware.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/Middleware.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
import Core = require('./Core');

export = IMiddlewareFactory;
Expand Down
1 change: 1 addition & 0 deletions lib/Model.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Model.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/Model.ts

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion lib/Plugins.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Plugins.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/Plugins.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference path='../typings/skmatc/skmatc.d.ts' />

/// <reference path="../_references.d.ts" />
import core = require('./Core');
import model = require('./Model');
import instance = require('./Instance');
Expand Down
2 changes: 1 addition & 1 deletion lib/Schema.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/Schema.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../_references.d.ts" />
export = ISchema;

interface ISchema {
Expand Down
1 change: 1 addition & 0 deletions lib/cacheControllers/IDDirector.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../../_references.d.ts" />
import cacheDirector = require('../CacheDirector');

export = IDCacheDirector;
Expand Down
2 changes: 1 addition & 1 deletion lib/caches/MemoryCache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path='../../typings/bluebird/bluebird.d.ts' />
/// <reference path="../../_references.d.ts" />
import Promise = require('bluebird');
import cache = require('../Cache');

Expand Down
2 changes: 1 addition & 1 deletion lib/caches/NoOpCache.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path='../../typings/bluebird/bluebird.d.ts' />
/// <reference path="../../_references.d.ts" />
import cache = require('../Cache');
import Promise = require('bluebird');

Expand Down
1 change: 1 addition & 0 deletions lib/middleware/Express.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference path="../../_references.d.ts" />
import http = require('http');
import Middleware = require('../Middleware');
import Core = require('../Core');
Expand Down
5 changes: 1 addition & 4 deletions lib/utils/Omnom.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/// <reference path='../../typings/node/node.d.ts' />
/// <reference path='../../typings/mongodb/mongodb.d.ts' />
/// <reference path='../../typings/lodash/lodash.d.ts' />

/// <reference path="../../_references.d.ts" />
import _ = require('lodash');
import MongoDB = require('mongodb');

Expand Down
1 change: 1 addition & 0 deletions test/support/chai.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/support/chai.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/support/chai.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <references path="../../_references.d.ts" />
import chai = require('chai');
import chaiAsPromised = require('chai-as-promised');
import Promise = require('bluebird');
Expand Down
1 change: 1 addition & 0 deletions test/support/config.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/// <references path="../../_references.d.ts" />
var config = module.require('./config.json');
global.config = config;

0 comments on commit d0c7b40

Please sign in to comment.