ferrsign 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,3 +4,7 @@ export interface FerrsignView<T extends unknown[] = []> {
4
4
  once(callback: Callback<T>): void;
5
5
  off(callback: Callback<T>): void;
6
6
  }
7
+ export type FerrsignView0 = FerrsignView<[]>;
8
+ export type FerrsignView1<A> = FerrsignView<[A]>;
9
+ export type FerrsignView2<A, B> = FerrsignView<[A, B]>;
10
+ export type FerrsignView3<A, B, C> = FerrsignView<[A, B, C]>;
package/dist/index.d.ts CHANGED
@@ -3,4 +3,4 @@ export { Ferrsign0 } from "./Ferrsign0";
3
3
  export { Ferrsign1 } from "./Ferrsign1";
4
4
  export { Ferrsign2 } from "./Ferrsign2";
5
5
  export { Ferrsign3 } from "./Ferrsign3";
6
- export { FerrsignView } from "./FerrsignView";
6
+ export { FerrsignView0, FerrsignView1, FerrsignView2, FerrsignView3 } from "./FerrsignView";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ferrsign",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "High-performance typed signals for frequent emissions",
5
5
  "scripts": {
6
6
  "clean": "rm -rf dist",