support custom chars as hintchars

This commit is contained in:
Shin'ya Ueoka 2018-01-11 21:52:07 +09:00
parent f5dfdb0bd7
commit 03bb124cce
2 changed files with 15 additions and 12 deletions

View file

@ -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 };