@periskope/types 0.6.124 → 0.6.125

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.
package/dist/types.d.ts CHANGED
@@ -389,12 +389,10 @@ export type UserPreferences = {
389
389
  export type PollVoteInfoType = {
390
390
  poll_id?: string;
391
391
  poll_options: string[];
392
- poll_results: [
393
- {
394
- id: number;
395
- name: string;
396
- votes: Record<string, string>;
397
- }
398
- ];
392
+ poll_results: {
393
+ id: number;
394
+ name: string;
395
+ votes: Record<string, string>;
396
+ }[];
399
397
  };
400
398
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.124",
3
+ "version": "0.6.125",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -539,11 +539,9 @@ export type UserPreferences = {
539
539
  export type PollVoteInfoType = {
540
540
  poll_id?: string;
541
541
  poll_options: string[];
542
- poll_results: [
543
- {
544
- id: number;
545
- name: string;
546
- votes: Record<string, string>;
547
- },
548
- ];
542
+ poll_results: {
543
+ id: number;
544
+ name: string;
545
+ votes: Record<string, string>;
546
+ }[];
549
547
  };