diff --git a/types/video.js/index.d.ts b/types/video.js/index.d.ts index 1981528a55..09f9b28d0d 100644 --- a/types/video.js/index.d.ts +++ b/types/video.js/index.d.ts @@ -8,6 +8,7 @@ // Grzegorz Błaszczyk // Stéphane Roucheray // Adam Eisenreich +// Mei Qingguang // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -32,7 +33,7 @@ * @return A player instance */ declare function videojs(id: any, options?: videojs.PlayerOptions, ready?: () => void): videojs.Player; -export = videojs; +export default videojs; export as namespace videojs; declare namespace videojs { diff --git a/types/video.js/video.js-tests.ts b/types/video.js/video.js-tests.ts index 7249d1601e..378a7150f3 100644 --- a/types/video.js/video.js-tests.ts +++ b/types/video.js/video.js-tests.ts @@ -1,4 +1,4 @@ -import * as videojs from 'video.js'; +import videojs from 'video.js'; videojs("example_video_1").ready(function() { // EXAMPLE: Start playing the video.