Skip to content

Commit

Permalink
Avoid re-exporting enums with "export type"
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmatthys committed Jul 20, 2023
1 parent 0d21031 commit 34c106b
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions src/hls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -878,17 +878,19 @@ export default class Hls implements HlsEventEmitter {
}
}

export type {
MediaPlaylist,
export {
ErrorDetails,
ErrorTypes,
Events,
HdcpLevels,
};
export type {
MediaPlaylist,
Level,
HlsListeners,
HlsEventEmitter,
HlsConfig,
BufferInfo,
HdcpLevels,
HdcpLevel,
AbrController,
AudioStreamController,
Expand Down Expand Up @@ -944,34 +946,42 @@ export type {
export type { SubtitleStreamController } from './controller/subtitle-stream-controller';
export type { TimelineController } from './controller/timeline-controller';
export type { CuesInterface } from './utils/cues';
export type {
MediaKeyFunc,
export {
KeySystems,
KeySystemFormats,
} from './utils/mediakeys-helper';
export type {
MediaKeyFunc,
} from './utils/mediakeys-helper';
export type { DateRange } from './loader/date-range';
export type { LoadStats } from './loader/load-stats';
export type { LevelKey } from './loader/level-key';
export type { LevelDetails } from './loader/level-details';
export type { SourceBufferName } from './types/buffer';
export {
MetadataSchema,
} from './types/demuxer';
export type {
MetadataSample,
MetadataSchema,
UserdataSample,
} from './types/demuxer';
export type {
export {
HlsSkip,
} from './types/level';
export type {
HlsUrlParameters,
LevelAttributes,
LevelParsed,
VariableMap,
} from './types/level';
export type {
export {
PlaylistLevelType,
PlaylistContextType,
} from './types/loader';
export type {
HlsChunkPerformanceTiming,
HlsPerformanceTiming,
HlsProgressivePerformanceTiming,
PlaylistContextType,
PlaylistLoaderContext,
FragmentLoaderContext,
Loader,
Expand Down Expand Up @@ -1057,9 +1067,11 @@ export type {
SubtitleTracksUpdatedData,
SubtitleTrackSwitchData,
} from './types/events';
export type {
export {
NetworkErrorAction,
ErrorActionFlags,
} from './controller/error-controller';
export type {
IErrorAction,
} from './controller/error-controller';
export type { AttrList } from './utils/attr-list';

0 comments on commit 34c106b

Please sign in to comment.