Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Commit

Permalink
feat(main): add doc typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Per Kristian Kummermo committed May 13, 2018
1 parent 1c4c44a commit 8de3343
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export * from "./Config";
export * from "./Mappers";
export * from "./Typings";

/**
* Create a new instance of a DataMapperChain.
* @param newDataMapperChainParams DataMapperChain configuration object
*/
export const create = (newDataMapperChainParams: IDataMapperChainConfig = {}): DataMapperChain => {
return new DataMapperChain(newDataMapperChainParams);
};

0 comments on commit 8de3343

Please sign in to comment.