修改d.ts

This commit is contained in:
Harvey Zack committed 2019-04-19 16:39:09 +08:00
1 parent 95bbe6f3b2
commit 94405a7240
4 files changed
+143 -10

No files matched your search

+1 -1
View File
@@ -5576,6 +5576,7 @@
classCallCheck(this, Artplayer);
_this = possibleConstructorReturn(this, getPrototypeOf(Artplayer).call(this));
errorHandle(assertThisInitialized(_this) instanceof Artplayer, 'Artplayer is a constructor and should be called with the `new` keyword');
errorHandle(typeof window.Promise === 'function', "Unsupported 'Promise' method");
_this.option = mergeDeep(Artplayer.DEFAULTS, option);
optionValidator(_this.option, scheme);
@@ -5671,7 +5672,6 @@
title: '',
theme: '#f00',
volume: 0.7,
isLive: false,
muted: false,
autoplay: false,
autoSize: false,