v3.0.0
Define parameters by tuple.
Before
import { Topic } from 'topic';
const topic = new Topic<{
foo: (name: string, age: number) => void;
bar: (x: boolean, y: number) => void;
}>();
After
import { Topic } from 'topic';
const topic = new Topic<{
foo: [name: string, age: number];
bar: [x: boolean, y: number];
}>();