mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42: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/styleclass/StyleClass.d.ts
vendored
4
components/lib/styleclass/StyleClass.d.ts
vendored
|
@ -9,7 +9,7 @@
|
|||
import { DirectiveBinding, ObjectDirective } from 'vue';
|
||||
import { DirectiveHooks } from '../basedirective';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { PassThrough } from '../ts-helpers';
|
||||
import { PassThrough, HintedString } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Defines options of StyleClass.
|
||||
|
@ -18,7 +18,7 @@ export interface StyleClassOptions {
|
|||
/**
|
||||
* Selector to define the target element. Available selectors are '@next', '@prev', '@parent' and '@grandparent'.
|
||||
*/
|
||||
selector?: '@next' | '@prev' | '@parent' | '@grandparent' | string | undefined;
|
||||
selector?: HintedString<'@next' | '@prev' | '@parent' | '@grandparent'> | undefined;
|
||||
/**
|
||||
* Style class to add when item begins to get displayed.
|
||||
* @deprecated since v3.41.0. Use 'enterFromClass' option instead.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue