From fe6653fe9186f9b7b0d2156cacc3e7b48ac64c3f Mon Sep 17 00:00:00 2001 From: Borewit Date: Thu, 14 Nov 2019 08:10:20 +0100 Subject: [PATCH] Shorten export and add IPicture --- lib/index.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/index.ts b/lib/index.ts index 787d337..c4c910f 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,14 +1,11 @@ import * as S3 from 'aws-sdk/clients/s3'; import { parseFromTokenizer, parseStream } from 'music-metadata/lib/core'; -import * as Type from 'music-metadata/lib/type'; import { StreamingHttpTokenReader, IHttpClient, IHttpResponse } from 'streaming-http-token-reader'; import { parseContentRange } from 'streaming-http-token-reader/lib/http-client'; import { AWSError, Request } from 'aws-sdk'; +import { IOptions, IAudioMetadata } from 'music-metadata/lib/type'; -export type IAudioMetadata = Type.IAudioMetadata; -export type IOptions = Type.IOptions; -export type ITag = Type.ITag; -export type INativeTagDict = Type.INativeTagDict; +export { IPicture, IAudioMetadata, IOptions, ITag, INativeTagDict } from 'music-metadata/lib/type'; interface IS3Options extends IOptions { /**