Type fix and workflow update
This commit is contained in:
parent
9661d8f17a
commit
3147d98760
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -2,7 +2,6 @@ name: Publish NPM package + Docs
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
publish_npm:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user