Browse Source

add ts docs for the new trait option

add-skip-resolve
mohamedsalem401 8 months ago
parent
commit
ab408dbb1b
  1. 7
      packages/core/src/trait_manager/types.ts

7
packages/core/src/trait_manager/types.ts

@ -162,6 +162,13 @@ export interface TraitGetValueOptions {
* @default false
*/
useType?: boolean;
/**
* If false, return the value
* If true and the value is a data resolver, return the data resolver props
* @default false
*/
skipResolve?: boolean;
}
export interface TraitOption {

Loading…
Cancel
Save