[docs] label timestamp/duration types differently

This commit is contained in:
spalger
2016-11-16 12:29:56 -07:00
parent 212a2aa9b0
commit 29eb81a52c
33 changed files with 2429 additions and 2428 deletions

View File

@ -66,10 +66,11 @@ var templateGlobals = {
}
},
paramType: function (type) {
paramType: function (type, paramName) {
switch (type && type.toLowerCase ? type.toLowerCase() : 'any') {
case 'time':
return 'Date, Number';
if (paramName === 'timestamp') return 'Timestamp'
return 'DurationString';
case 'any':
return 'Anything';
case 'enum':