Open
Description
protobuf.js version: 6.7.3
Generated package typings don't contain any standard object methods, for example hasOwnProperty
and so on, however they are exist, because it returns an object.
Typings generated with:
pbjs -t static-module -w commonjs -o ./index.js ./proto/*.proto && pbts -o ./index.d.ts ./index.js
import * as proto from 'my-static-protobuf-schemas';
proto.packageName.hasOwnProperty('MyMessage')