@typegoose/typegoose
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -9,6 +9,6 @@ import { Schema } from 'mongoose'; | ||
*/ | ||
export declare abstract class Base { | ||
_id: Schema.Types.ObjectId; | ||
export declare abstract class Base<T_ID extends any = Schema.Types.ObjectId> { | ||
_id: T_ID; | ||
__v: number; | ||
__t: undefined | string | number; | ||
} |
{ | ||
"name": "@typegoose/typegoose", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Define Mongoose models using TypeScript classes", | ||
@@ -26,3 +26,4 @@ "main": "lib/typegoose.js", | ||
"doc:all": "typedoc --out ./doc ./src --mode modules", | ||
"prepare": "npm run build" | ||
"prepare": "npm run build", | ||
"version:patch": "npm version patch -m 'Release %s'" | ||
}, | ||
@@ -29,0 +30,0 @@ "repository": "github:typegoose/typegoose", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126372