support custom chars as hintchars
This commit is contained in:
parent
f5dfdb0bd7
commit
03bb124cce
2 changed files with 15 additions and 12 deletions
|
@ -1,15 +1,14 @@
|
|||
// describe types of a propety as:
|
||||
// mystr: 'string',
|
||||
// mynum: 'number',
|
||||
// mybool: 'boolean',
|
||||
const types = {
|
||||
// TODO describe property types here
|
||||
// mystr: 'string',
|
||||
// mynum: 'number',
|
||||
// mybool: 'boolean',
|
||||
hintchars: 'string',
|
||||
};
|
||||
|
||||
// describe default values of a property
|
||||
const defaults = {
|
||||
// TODO describe property defaults values
|
||||
// mystr: 'hello',
|
||||
// mynum: 123,
|
||||
// mybool: true,
|
||||
hintchars: 'abcdefghijklmnopqrstuvwxyz',
|
||||
};
|
||||
|
||||
export { types, defaults };
|
||||
|
|
Reference in a new issue