From 71600a9fca7b6d5f8c7dcbb5b472fcbe22a52c4c Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 18 Feb 2025 21:47:45 -0800 Subject: [PATCH] Export more types --- packages/webamp/js/types.ts | 4 ++-- packages/webamp/js/webamp.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/webamp/js/types.ts b/packages/webamp/js/types.ts index 43b49eb3..e0d41fa9 100644 --- a/packages/webamp/js/types.ts +++ b/packages/webamp/js/types.ts @@ -161,13 +161,13 @@ export type SkinData = { }; // This is what we actually pass to butterchurn -type ButterchurnPresetJson = { +export type ButterchurnPresetJson = { name: string; butterchurnPresetObject: Object; }; // A URL that points to a Butterchurn preset -interface ButterchurnPresetUrl { +export interface ButterchurnPresetUrl { name: string; butterchurnPresetUrl: string; } diff --git a/packages/webamp/js/webamp.ts b/packages/webamp/js/webamp.ts index 4e9f3748..b880d1f6 100644 --- a/packages/webamp/js/webamp.ts +++ b/packages/webamp/js/webamp.ts @@ -3,6 +3,8 @@ import * as musicMetadataBrowser from "music-metadata-browser"; import { Options } from "./types"; import WebampLazy, { PrivateOptions } from "./webampLazy"; +export type * from "./types"; + export default class Webamp extends WebampLazy { constructor(options: Options & PrivateOptions) { super({