Skip to content

Commit

Permalink
fix: add StreamConfiguration type
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Dec 4, 2021
1 parent 7d5305f commit 5cb2b93
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/factories/createRemoteStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ import {
v4 as uuid,
} from 'uuid';

type StreamConfiguration = {
enabled: boolean,
};

export const createRemoteStream = (
apiUrl: string,
apiKey: string,
name: string,
tags: string,
) => {
let buffer: string[] = [];
let streamConfiguration;
let streamConfiguration: StreamConfiguration;

const socket = io(apiUrl, {
query: {
Expand Down

0 comments on commit 5cb2b93

Please sign in to comment.