mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Fix return type of FPDF.output() (#10166)
This commit is contained in:
@@ -548,8 +548,8 @@ class FPDF(GraphicsStateMixin):
|
||||
dest: Unused = "",
|
||||
linearize: bool = False,
|
||||
output_producer_class: Callable[[FPDF], OutputProducer] = ...,
|
||||
) -> None: ...
|
||||
) -> bytearray: ...
|
||||
@overload
|
||||
def output(
|
||||
self, name: str, dest: Unused = "", linearize: bool = False, output_producer_class: Callable[[FPDF], OutputProducer] = ...
|
||||
) -> bytearray: ...
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user