Skip to content

Commit 1eb0d66

Browse files
fix(ts): Export WithAPIProps interface to fix type errors
Co-Authored-By: Joseph Gross <joseph@cognition.ai>
1 parent 95b4898 commit 1eb0d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/elements/common/api-context/withAPIContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as React from 'react';
66
import API from '../../../api';
77
import APIContext from './APIContext';
88

9-
interface WithAPIProps {
9+
export interface WithAPIProps {
1010
api?: API | null;
1111
[key: string]: unknown;
1212
}

0 commit comments

Comments
 (0)