Skip to content

Commit

Permalink
Improve the core module export
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Apr 21, 2015
1 parent ae5510c commit 1d18897
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
/// <reference path="./lib/Core.ts" />
/// <reference path="./lib/Model.ts" />

import Core = require('./lib/Core');
import Model = require('./lib/Model');
import _Core = require('./lib/Core');
import _Model = require('./lib/Model');
import _Instance = require('./lib/Instance');

export = Iridium;

class Iridium extends Core {

static get Model() { return Model.Model; }
}
module Iridium {
export class Core extends _Core { };
export class Model<TDocument, TInstance> extends _Model.Model<TDocument, TInstance> { };
export class Instance<TDocument, TInstance> extends _Instance<TDocument, TInstance> { };
};

0 comments on commit 1d18897

Please sign in to comment.