Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing return types in src/{index.d.ts,types.ts} #82

Open
dj-foxxy opened this issue Sep 21, 2020 · 0 comments
Open

Missing return types in src/{index.d.ts,types.ts} #82

dj-foxxy opened this issue Sep 21, 2020 · 0 comments

Comments

@dj-foxxy
Copy link

tsc reports to following issues with ./src/types.ts:

node_modules/indigo-player/src/index.d.ts:28:17 - error TS7010: 'setChunksPath', which lacks return-type annotation, implicitly has an 'any' return type.

28 export function setChunksPath(chunksPath: string);
                   ~~~~~~~~~~~~~

node_modules/indigo-player/src/index.d.ts:34:17 - error TS7010: 'addModuleLoader', which lacks return-type annotation, implicitly has an 'any' return type.

34 export function addModuleLoader(moduleLoader: IModuleLoader<IModule>);
                   ~~~~~~~~~~~~~~~

node_modules/indigo-player/src/index.d.ts:40:17 - error TS7010: 'setConsoleLogs', which lacks return-type annotation, implicitly has an 'any' return type.

40 export function setConsoleLogs(enableConsoleLogs: boolean);
                   ~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:334:3 - error TS7010: 'create', which lacks return-type annotation, implicitly has an 'any' return type.

334   create(name: string, callback: NextHook);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:360:3 - error TS7010: 'on', which lacks return-type annotation, implicitly has an 'any' return type.

360   on(name: string, callback: EventCallback);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:361:3 - error TS7010: 'once', which lacks return-type annotation, implicitly has an 'any' return type.

361   once(name: string, callback: EventCallback);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:362:3 - error TS7010: 'emit', which lacks return-type annotation, implicitly has an 'any' return type.

362   emit(name: string, eventData?: IEventData);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:366:3 - error TS7010: 'load', which lacks return-type annotation, implicitly has an 'any' return type.

366   load();
      ~~~~~~~

node_modules/indigo-player/src/types.ts:367:3 - error TS7010: 'unload', which lacks return-type annotation, implicitly has an 'any' return type.

367   unload();
      ~~~~~~~~~

node_modules/indigo-player/src/types.ts:369:3 - error TS7010: 'play', which lacks return-type annotation, implicitly has an 'any' return type.

369   play();
      ~~~~~~~

node_modules/indigo-player/src/types.ts:370:3 - error TS7010: 'pause', which lacks return-type annotation, implicitly has an 'any' return type.

370   pause();
      ~~~~~~~~

node_modules/indigo-player/src/types.ts:371:3 - error TS7010: 'seekTo', which lacks return-type annotation, implicitly has an 'any' return type.

371   seekTo(time: number);
      ~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:372:3 - error TS7010: 'setVolume', which lacks return-type annotation, implicitly has an 'any' return type.

372   setVolume(volume: number);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:373:3 - error TS7010: 'selectTrack', which lacks return-type annotation, implicitly has an 'any' return type.

373   selectTrack(track: ITrack);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:374:3 - error TS7010: 'selectAudioLanguage', which lacks return-type annotation, implicitly has an 'any' return type.

374   selectAudioLanguage(language: string);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:375:3 - error TS7010: 'setPlaybackRate', which lacks return-type annotation, implicitly has an 'any' return type.

375   setPlaybackRate(playbackRate: number);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:379:3 - error TS7010: 'load', which lacks return-type annotation, implicitly has an 'any' return type.

379   load();
      ~~~~~~~

node_modules/indigo-player/src/types.ts:380:3 - error TS7010: 'unload', which lacks return-type annotation, implicitly has an 'any' return type.

380   unload();
      ~~~~~~~~~

node_modules/indigo-player/src/types.ts:382:3 - error TS7010: 'setSource', which lacks return-type annotation, implicitly has an 'any' return type.

382   setSource(src: string);
      ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:384:3 - error TS7010: 'play', which lacks return-type annotation, implicitly has an 'any' return type.

384   play();
      ~~~~~~~

node_modules/indigo-player/src/types.ts:385:3 - error TS7010: 'pause', which lacks return-type annotation, implicitly has an 'any' return type.

385   pause();
      ~~~~~~~~

node_modules/indigo-player/src/types.ts:386:3 - error TS7010: 'seekTo', which lacks return-type annotation, implicitly has an 'any' return type.

386   seekTo(time: number);
      ~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:387:3 - error TS7010: 'setVolume', which lacks return-type annotation, implicitly has an 'any' return type.

387   setVolume(volume: number);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:388:3 - error TS7010: 'setPlaybackRate', which lacks return-type annotation, implicitly has an 'any' return type.

388   setPlaybackRate(playbackRate: number);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:392:3 - error TS7010: 'load', which lacks return-type annotation, implicitly has an 'any' return type.

392   load();
      ~~~~~~~

node_modules/indigo-player/src/types.ts:393:3 - error TS7010: 'unload', which lacks return-type annotation, implicitly has an 'any' return type.

393   unload();
      ~~~~~~~~~

node_modules/indigo-player/src/types.ts:395:3 - error TS7010: 'play', which lacks return-type annotation, implicitly has an 'any' return type.

395   play();
      ~~~~~~~

node_modules/indigo-player/src/types.ts:396:3 - error TS7010: 'pause', which lacks return-type annotation, implicitly has an 'any' return type.

396   pause();
      ~~~~~~~~

node_modules/indigo-player/src/types.ts:397:3 - error TS7010: 'seekTo', which lacks return-type annotation, implicitly has an 'any' return type.

397   seekTo(time: number);
      ~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:398:3 - error TS7010: 'setVolume', which lacks return-type annotation, implicitly has an 'any' return type.

398   setVolume(volume: number);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:399:3 - error TS7010: 'selectTrack', which lacks return-type annotation, implicitly has an 'any' return type.

399   selectTrack(track: ITrack);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:400:3 - error TS7010: 'selectAudioLanguage', which lacks return-type annotation, implicitly has an 'any' return type.

400   selectAudioLanguage(language: string);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:401:3 - error TS7010: 'setPlaybackRate', which lacks return-type annotation, implicitly has an 'any' return type.

401   setPlaybackRate(playbackRate: number);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:424:3 - error TS7010: 'play', which lacks return-type annotation, implicitly has an 'any' return type.

424   play();
      ~~~~~~~

node_modules/indigo-player/src/types.ts:425:3 - error TS7010: 'pause', which lacks return-type annotation, implicitly has an 'any' return type.

425   pause();
      ~~~~~~~~

node_modules/indigo-player/src/types.ts:426:3 - error TS7010: 'seekTo', which lacks return-type annotation, implicitly has an 'any' return type.

426   seekTo(time: number);
      ~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:427:3 - error TS7010: 'setVolume', which lacks return-type annotation, implicitly has an 'any' return type.

427   setVolume(volume: number);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:428:3 - error TS7010: 'selectTrack', which lacks return-type annotation, implicitly has an 'any' return type.

428   selectTrack(track: ITrack);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:429:3 - error TS7010: 'selectAudioLanguage', which lacks return-type annotation, implicitly has an 'any' return type.

429   selectAudioLanguage(language: string);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:430:3 - error TS7010: 'setPlaybackRate', which lacks return-type annotation, implicitly has an 'any' return type.

430   setPlaybackRate(playbackRate: number);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:431:3 - error TS7010: 'destroy', which lacks return-type annotation, implicitly has an 'any' return type.

431   destroy();
      ~~~~~~~~~~

node_modules/indigo-player/src/types.ts:433:3 - error TS7010: 'on', which lacks return-type annotation, implicitly has an 'any' return type.

433   on(name: string, callback: EventCallback);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:434:3 - error TS7010: 'once', which lacks return-type annotation, implicitly has an 'any' return type.

434   once(name: string, callback: EventCallback);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:435:3 - error TS7010: 'removeListener', which lacks return-type annotation, implicitly has an 'any' return type.

435   removeListener(name: string, callback: EventCallback);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:436:3 - error TS7010: 'emit', which lacks return-type annotation, implicitly has an 'any' return type.

436   emit(name: string, eventData?: IEventData);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/indigo-player/src/types.ts:438:3 - error TS7010: 'setError', which lacks return-type annotation, implicitly has an 'any' return type.

438   setError(error: IPlayerError);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant