mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Big replacement: bool with boolean
This commit is contained in:
@@ -10,8 +10,8 @@ _V_("example_video_1").ready(function(){
|
||||
|
||||
myPlayer.pause();
|
||||
|
||||
var isPaused: bool = myPlayer.paused();
|
||||
var isPlaying: bool = !myPlayer.paused();
|
||||
var isPaused: boolean = myPlayer.paused();
|
||||
var isPlaying: boolean = !myPlayer.paused();
|
||||
|
||||
myPlayer.src("http://www.example.com/path/to/video.mp4");
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@ interface VideoJSSource {
|
||||
interface VideoJSPlayer {
|
||||
play(): VideoJSPlayer;
|
||||
pause(): VideoJSPlayer;
|
||||
paused(): bool;
|
||||
paused(): boolean;
|
||||
src(newSource: string): VideoJSPlayer;
|
||||
src(newSource: VideoJSSource): VideoJSPlayer;
|
||||
src(newSource: VideoJSSource[]): VideoJSPlayer;
|
||||
|
||||
Reference in New Issue
Block a user