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:
release:
types: [created]
workflow_dispatch:
jobs:
publish_npm:
runs-on: ubuntu-latest

View File

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