node-ffi: adopt for --noImplicitAny