Skip to content

Commit

Permalink
revert VcfRecord interface to type
Browse files Browse the repository at this point in the history
  • Loading branch information
dennishendriksen committed Nov 5, 2024
1 parent 88481a1 commit 2eeb903
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@molgenis/vip-report-vcf",
"version": "3.0.4",
"version": "3.0.5",
"description": "TypeScript VCF library with support for both reading and writing",
"scripts": {
"build": "tsc --build",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface VcfMetadata {
supplement?: SupplementaryMetadata;
}

export interface VcfRecord {
export type VcfRecord = {
c: string;
p: number;
i: string[];
Expand All @@ -30,7 +30,7 @@ export interface VcfRecord {
f: string[];
n: InfoContainer;
s: RecordSample[];
}
};

export interface InfoContainer {
[index: string]: Value | ValueArray;
Expand Down

0 comments on commit 2eeb903

Please sign in to comment.