From bfe3eec6e3fa6a828fa37a5aca29c14271bec778 Mon Sep 17 00:00:00 2001 From: eternal-flame-AD Date: Tue, 3 Sep 2024 00:37:58 -0500 Subject: [PATCH] require url when only format is specified Signed-off-by: eternal-flame-AD --- js/igv.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/igv.d.ts b/js/igv.d.ts index 0eb015065..48b18b355 100644 --- a/js/igv.d.ts +++ b/js/igv.d.ts @@ -45,7 +45,8 @@ export type TypeFormatPair = { type?: T; // if we know the format, type is not required format: TrackFormatOf; - url?: string; + // in this case URL can be anything + url: Deferrable; } | { type?: T; format?: TrackFormatOf;