diff --git a/src/components/api/index.d.ts b/src/components/api/index.d.ts index 2666e9c961..03749541e4 100644 --- a/src/components/api/index.d.ts +++ b/src/components/api/index.d.ts @@ -1,9 +1,17 @@ // Config +interface ZIndexOptions { + modal: number; + overlay: number; + menu: number; + tooltip: number; + toast: number; +} + interface APIOptions { ripple?: boolean; locale?: string; autoZIndex?: false; - zIndex?: number; + zIndex?: ZIndexOptions; appendTo?: 'self' | HTMLElement | undefined | null; }