mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
feat(dx): Improve hinted string types (#5286)
This commit is contained in:
parent
2011f702a3
commit
8f0d3188cd
26 changed files with 60 additions and 58 deletions
4
components/lib/portal/Portal.d.ts
vendored
4
components/lib/portal/Portal.d.ts
vendored
|
@ -1,7 +1,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { ClassComponent, GlobalComponentConstructor, HintedString } from '../ts-helpers';
|
||||
|
||||
type PortalAppendToType = 'body' | 'self' | string | undefined | HTMLElement;
|
||||
type PortalAppendToType = HintedString<'body' | 'self'> | undefined | HTMLElement;
|
||||
|
||||
export interface PortalProps {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue