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

Commit

Permalink
Resolved merge conficts
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Köster committed Oct 19, 2017
2 parents 7644805 + 7253ee2 commit bc04521
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "typegoose",
"version": "3.5.1",
"version": "3.5.2",
"description": "Define Mongoose models using TypeScript classes.",
"main": "lib/typegoose.js",
"scripts": {
"start": "npm run build && node ./lib/typegoose.js",
"build": "rimraf lib && tsc",
"lint": "tslint --type-check --project tsconfig.json",
"test": "npm run lint && npm run cover",
"mocha": "npm run build && mocha ./lib/test/**/*.test.js",
"cover": "npm run build && istanbul cover node_modules/mocha/bin/_mocha -- ./lib/test/**/*.test.js -R spec",
"mocha": "npm run build && mocha ./lib --recursive",
"cover": "npm run build && istanbul cover _mocha -- lib --recursive -R spec",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions src/typegoose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export class Typegoose {
const staticMethods = methods.staticMethods[name];
if (staticMethods) {
sch.statics = Object.assign(staticMethods, sch.statics || {});
} else {
sch.statics = sch.statics || {};
}

const instanceMethods = methods.instanceMethods[name];
Expand Down

0 comments on commit bc04521

Please sign in to comment.