XYO Platform SDK - v3.10.6
    Preparing search index...

    Variable WithFactoryConst

    WithFactory: {
        create: <T extends object>(
            typeCheck: TypeCheck<T>,
        ) => <R>(mod: any, closure: (mod: T) => R) => R | undefined;
    }

    Type declaration

    • create: <T extends object>(
          typeCheck: TypeCheck<T>,
      ) => <R>(mod: any, closure: (mod: T) => R) => R | undefined