Skip to content

Commit

Permalink
fix: errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nevehallon committed Dec 25, 2023
1 parent 984807c commit 6c10dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bageldb-js/src/bagelDBRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ export default class BagelDBRequest {
let _EventSource;
if (isServerEnv()) {
try {
// @ts-ignore missing @types/eventsource package
_EventSource = await import('eventsource');
} catch (error) {
// eslint-disable-next-line no-console
Expand Down
2 changes: 1 addition & 1 deletion bageldb-js/src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Bagel from './index';

import BagelDBRequest from './bagelDBRequest';
import BagelUsersRequest from './users';
import { AxiosRequestHeaders } from 'axios';
import { type AxiosRequestHeaders } from 'axios';

type FileUploadArgs = {
selectedImage?: any;
Expand Down

0 comments on commit 6c10dcc

Please sign in to comment.