mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52: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/tree/Tree.d.ts
vendored
4
components/lib/tree/Tree.d.ts
vendored
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { TreeNode } from '../treenode';
|
||||
import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { ClassComponent, GlobalComponentConstructor, PassThrough, HintedString } from '../ts-helpers';
|
||||
|
||||
export declare type TreePassThroughOptionType<T = any> = TreePassThroughAttributes | ((options: TreePassThroughMethodOptions<T>) => TreePassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -279,7 +279,7 @@ export interface TreeProps {
|
|||
/**
|
||||
* Height of the scroll viewport in fixed units or the 'flex' keyword for a dynamic size.
|
||||
*/
|
||||
scrollHeight?: 'flex' | string | undefined;
|
||||
scrollHeight?: HintedString<'flex'> | undefined;
|
||||
/**
|
||||
* Defines a string value that labels an interactive element.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue