Explorar o código

refactor: add return type of getInputMedia

Man Nguyen %!s(int64=3) %!d(string=hai) anos
pai
achega
c0aea0e847
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gramjs/Utils.ts

+ 1 - 1
gramjs/Utils.ts

@@ -821,7 +821,7 @@ export function getInputMedia(
         videoNote = false,
         supportsStreaming = false,
     }: GetInputMediaInterface = {}
-): any {
+): Api.TypeInputMedia {
     if (media.SUBCLASS_OF_ID === undefined) {
         _raiseCastFail(media, "InputMedia");
     }