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:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
jobs:
|
||||||
publish_npm:
|
publish_npm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user