• Preparing search index...
  • The search index is not available
matter.js-monorepo
  • matter.js-monorepo
  • @matter/node
  • .
  • createType

Function createType

  • createType<const C>(cluster, base, schema?): (new (...args: any) => any)
  • This is the actual implementation of ClusterBehavior.for(). The result must match ClusterBehavior.Type.

    Type Parameters

    • const C extends ClusterType

    Parameters

    • cluster: C
    • base: Type
    • Optionalschema: Schema

    Returns (new (...args: any) => any)

      • new (...args): any
      • Parameters

        • Rest...args: any

        Returns any

    • Defined in packages/node/src/behavior/cluster/ClusterBehaviorUtil.ts:38

Settings

Member Visibility
matter.js-monorepo
  • Loading...

Generated using TypeDoc