Type fix and workflow update

This commit is contained in:
AtariTom 2022-10-30 18:30:26 -04:00
parent 9661d8f17a
commit 3147d98760
2 changed files with 4 additions and 9 deletions

View File

@ -2,7 +2,6 @@ name: Publish NPM package + Docs
on: on:
release: release:
types: [created] types: [created]
workflow_dispatch:
jobs: jobs:
publish_npm: publish_npm:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -7,16 +7,12 @@ import { YouTubeThumbnail } from './Thumbnail';
* The property names change depending on your region's language. * The property names change depending on your region's language.
*/ */
interface VideoMusic { interface VideoMusic {
song?: string | MusicEntry; song?: string;
artist?: string | MusicEntry; url?: string | null;
artist?: string;
album?: string; album?: string;
writers?: string; writers?: string;
license?: string; licenses?: string;
}
interface MusicEntry {
text?: string;
url?: string;
} }
interface VideoOptions { interface VideoOptions {