'startRecord', which lacks return-type annotation, implicitly has an 'any' return type.
Created by: isamu
Environment
- [] The MPD passes the DASH-IF Conformance Tool on https://conformance.dashif.org/
- [] The stream has correct Access-Control-Allow-Origin headers (CORS)
- [] There are no network errors such as 404s in the browser console when trying to play the stream
- [] The issue observed is not mentioned on https://github.com/Dash-Industry-Forum/dash.js/wiki/FAQ
- [] The issue occurs in the latest reference client on http://reference.dashif.org/dash.js/ and not just on my page
- Link to playable MPD file:
- Dash.js version: Latest from github
- Browser name/version:
- OS name/version:
Steps to reproduce
- In my Vue.js project, I added latest dashjs to package.json "dashjs": "https://github.com/Dash-Industry-Forum/dash.js.git"
- yarn install
- yarn run build ( build with typescript)
Observed behaviour
When build Vue.js, I got error.
Console output
ERROR in /Users/isamu/videoplayer/node_modules/dashjs/index.d.ts(59,9):
59:9 'startRecord', which lacks return-type annotation, implicitly has an 'any' return type.
57 | getAllRecords(): OfflineRecord[];
58 | createRecord(manifestURL: string): Promise<string>;
> 59 | startRecord(id: string, mediaInfos: MediaInfo[]);
| ^
60 | stopRecord(id: string): void;
61 | resumeRecord(id: string): void;
62 | deleteRecord(id: string): void;