From 2eeb903451ff2a6e8e4cba05d2a4616cc8d4ca1c Mon Sep 17 00:00:00 2001 From: dennishendriksen Date: Tue, 5 Nov 2024 16:01:43 +0100 Subject: [PATCH] revert VcfRecord interface to type --- package.json | 2 +- src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5378b93..c1f7b1b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/index.ts b/src/index.ts index 98bff5d..7d3cc0e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,7 +20,7 @@ export interface VcfMetadata { supplement?: SupplementaryMetadata; } -export interface VcfRecord { +export type VcfRecord = { c: string; p: number; i: string[]; @@ -30,7 +30,7 @@ export interface VcfRecord { f: string[]; n: InfoContainer; s: RecordSample[]; -} +}; export interface InfoContainer { [index: string]: Value | ValueArray;