NativeTypesOptions
NativeTypesOptions configures native TypeScript object support.
Properties
Section titled “Properties”registry?
Section titled “registry?”
readonlyoptionalregistry?:Registry
registry is the protobuf and CEL type registry to extend.
When omitted, a fresh registry is created.
readonlytypes: readonlyNativeObjectDescriptor[]
types contains explicit TypeScript object descriptions.
Go reflection discovers this metadata in cel-go. TypeScript erases it, so the equivalent field descriptions are supplied directly.
version?
Section titled “version?”
readonlyoptionalversion?:number
version sets the native types extension version.
Version zero and the current version expose the same API, matching cel-go.