Improved typing of Creature Properties
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import SimpleSchema from 'simpl-schema';
|
||||
import { TypedSimpleSchema } from '/imports/api/utility/TypedSimpleSchema';
|
||||
|
||||
let SoftRemovableSchema = new TypedSimpleSchema({
|
||||
let SoftRemovableSchema = TypedSimpleSchema.from({
|
||||
'removed': {
|
||||
type: Boolean,
|
||||
optional: true,
|
||||
|
||||
Reference in New Issue
Block a user