Skip to content

Commit a678595

Browse files
committed
Fix examples in TimeDelta
1 parent f5de48f commit a678595

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactgenie-lib",
3-
"version": "1.1.38",
3+
"version": "1.1.39",
44
"description": "A Toolkit for Multimodal Applications",
55
"author": "valkjsaaa",
66
"license": "Apache-2.0",

src/genie/TimeDelta.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ export class TimeDelta extends HelperClass {
104104

105105
static Examples = [
106106
{
107-
user_utterance: "20 miniutes later",
108-
example_parsed: "TimeDelta.CreateObject({minute: 20})",
107+
user_utterance: "20 minutes later",
108+
example_parsed: "TimeDelta.CreateObject(minute: 20)",
109109
},
110110
{
111111
user_utterance: "1hour later",
112-
example_parsed: "TimeDelta.CreateObject({hour: 1})",
112+
example_parsed: "TimeDelta.CreateObject(hour: 1)",
113113
},
114114
{
115-
user_utterance: "1hour 20miniutes later",
116-
example_parsed: "TimeDelta.CreateObject({hour: 1, minute: 20})",
115+
user_utterance: "1hour 20 minutes later",
116+
example_parsed: "TimeDelta.CreateObject(hour: 1, minute: 20)",
117117
},
118118
];
119119
}

0 commit comments

Comments
 (0)