mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-04 06:19:46 +00:00
allow for arbitrary grouping of property values and intro PropertyPage
This commit is contained in:
@@ -19,7 +19,7 @@ export type UnionToIntersection<T> = ((x: T) => any) extends (x: infer R) => any
|
||||
export function setupProperties<WrapperData>(
|
||||
fn: (args: {
|
||||
wrapperData: WrapperData
|
||||
}) => void | Promise<void> | Promise<(PropertyGroup | PropertyString)[]>,
|
||||
}) => void | Promise<void> | Promise<PropertyGroup[]>,
|
||||
): ExpectedExports.properties {
|
||||
return (async (options) => {
|
||||
const result = await fn(
|
||||
|
||||
Reference in New Issue
Block a user