Skip to content

Commit

Permalink
fix: Allow readonly string[] for Subscription topics
Browse files Browse the repository at this point in the history
  • Loading branch information
rh389 authored Oct 6, 2020
1 parent d7ccda4 commit 991b665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decorators/Subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { MissingSubscriptionTopicsError } from "../errors";
import { MergeExclusive } from "../utils/types";

interface PubSubOptions {
topics: string | string[] | SubscriptionTopicFunc;
topics: string | readonly string[] | SubscriptionTopicFunc;
filter?: SubscriptionFilterFunc;
}

Expand Down

0 comments on commit 991b665

Please sign in to comment.