Skip to content

Commit de7e02f

Browse files
committed
fix: require data
1 parent b0af615 commit de7e02f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@countbot/countbot-api-types",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "API types for CountBot",
55
"author": {
66
"name": "CountBot",

src/utils/BaseReply.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export interface BaseReply<R = null> {
22
error: boolean;
3+
data: R;
34
code?: string;
4-
data?: R;
55
}

0 commit comments

Comments
 (0)