Skip to content

Type Alias: RNumberField

ts
type RNumberField = typeof RNumberField & ComponentPublicInstance;

Type definition for the RNumberField component instance.

Provides type-safe access to the component's public interface, including all props, slots, emits, and exposed methods. Useful for programmatic component creation and advanced TypeScript integration.

Example

typescript
import type { RNumberField } from "./number";

// Component reference typing
const numberFieldRef = ref<InstanceType<RNumberField>>();

// Programmatic component creation
const NumberFieldComponent: RNumberField = defineComponent({
  // ... implementation
});