Skip to main content

Interface: $Properties

Properties of a Declaration.

Extended by​

Properties​

fullName?​

optional fullName?: string | null

The fully-qualified name of the extension field. There must be a leading dot in front of the full name.


number?​

optional number?: number | null

The extension number declared within the extension range.


repeated?​

optional repeated?: boolean | null

If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.


reserved?​

optional reserved?: boolean | null

If true, indicates that the number is reserved in the extension range, and any extension field with the number will fail to compile. Set this when a declared extension field is deleted.


type?​

optional type?: string | null

The fully-qualified type name of the extension field. Unlike Metadata.type, Declaration.type must have a leading dot for messages and enums.