diff --git a/construct-stubs/core.pyi b/construct-stubs/core.pyi index 23d9c43..34aaf79 100644 --- a/construct-stubs/core.pyi +++ b/construct-stubs/core.pyi @@ -105,10 +105,10 @@ class Construct(t.Generic[ParsedType, BuildTypes]): def build(self, obj: BuildTypes, **contextkw: ContextKWType) -> bytes: ... def build_stream( self, obj: BuildTypes, stream: StreamType, **contextkw: ContextKWType - ) -> bytes: ... + ) -> None: ... def build_file( self, obj: BuildTypes, filename: FilenameType, **contextkw: ContextKWType - ) -> bytes: ... + ) -> None: ... def sizeof(self, **contextkw: ContextKWType) -> int: ... def compile( self, filename: FilenameType = ...