Added void return types for some methods of gapi. It alows compile with --noImplicitAny

Added void return types for some methods of gapi. It alows compile with --noImplicitAny