Skip to content

Commit 121a561

Browse files
authored
🤖 Merge PR DefinitelyTyped#74961 [youtube] Allow to extend YT definitions again by @Eptagone
1 parent fbbe948 commit 121a561

3 files changed

Lines changed: 1 addition & 7 deletions

File tree

‎types/youtube/index.d.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,3 @@ declare namespace YT {
10351035
getVideoData(): VideoData;
10361036
}
10371037
}
1038-
1039-
// eslint-disable-next-line @definitelytyped/export-just-namespace
1040-
export = YT;
1041-
export as namespace YT;

‎types/youtube/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/youtube",
4-
"version": "0.2.9999",
4+
"version": "0.3.9999",
55
"projects": [
66
"https://developers.google.com/youtube/"
77
],

‎types/youtube/youtube-tests.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import * as YT from "youtube";
2-
31
const players: YT.Player[] = [
42
new YT.Player(document.body, {}),
53
new YT.Player(document.body, {

0 commit comments

Comments
 (0)