Type alias: ExtractFeatureFromClass<F>
Ƭ ExtractFeatureFromClass<F>: F extends FeatureClass<infer O, infer S, infer W> ? Feature<O, S, W> : never
A lookup type to extract the instance from a FeatureClass.
example
type ForceElementInstanceType = ExtractFeatureFromClass<typeof ForceElementSizeFeature>;
Type parameters:
Name | Description |
---|---|
F | The type of the feature class to infer from. |