fix(editor): Fix doclines for plus and minus (#8405)

This commit is contained in:
Iván Ovejero 2024-01-22 12:28:30 +01:00 committed by GitHub
parent 35449667bf
commit ebf2b0d55c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -285,7 +285,7 @@ isInLast.doc = {
minus.doc = {
name: 'minus',
description: 'Subtracts a given time period from a Date. Default unit is `minute`.',
description: 'Subtracts a given time period from a Date. Default unit is `milliseconds`.',
returnType: 'Date',
args: [
{ name: 'n', type: 'number' },
@ -296,7 +296,7 @@ minus.doc = {
plus.doc = {
name: 'plus',
description: 'Adds a given time period to a Date. Default unit is `minute`.',
description: 'Adds a given time period to a Date. Default unit is `milliseconds`.',
returnType: 'Date',
args: [
{ name: 'n', type: 'number' },