Skip to content

Commit

Permalink
fix(editor): Fix doclines for plus and minus (#8405)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov authored Jan 22, 2024
1 parent 3544966 commit ebf2b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/workflow/src/Extensions/DateExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand All @@ -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' },
Expand Down

0 comments on commit ebf2b0d

Please sign in to comment.