feat(dx): Improve hinted string types (#5286)

This commit is contained in:
Fahad 2024-02-23 14:38:50 +06:00 committed by GitHub
parent 2011f702a3
commit 8f0d3188cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 60 additions and 58 deletions

View file

@ -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 {
/**