Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

Commit fe6653f

Browse files
committed
Shorten export and add IPicture
1 parent 36c1797 commit fe6653f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/index.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import * as S3 from 'aws-sdk/clients/s3';
22
import { parseFromTokenizer, parseStream } from 'music-metadata/lib/core';
3-
import * as Type from 'music-metadata/lib/type';
43
import { StreamingHttpTokenReader, IHttpClient, IHttpResponse } from 'streaming-http-token-reader';
54
import { parseContentRange } from 'streaming-http-token-reader/lib/http-client';
65
import { AWSError, Request } from 'aws-sdk';
6+
import { IOptions, IAudioMetadata } from 'music-metadata/lib/type';
77

8-
export type IAudioMetadata = Type.IAudioMetadata;
9-
export type IOptions = Type.IOptions;
10-
export type ITag = Type.ITag;
11-
export type INativeTagDict = Type.INativeTagDict;
8+
export { IPicture, IAudioMetadata, IOptions, ITag, INativeTagDict } from 'music-metadata/lib/type';
129

1310
interface IS3Options extends IOptions {
1411
/**

0 commit comments

Comments
 (0)