Skip to content

How to handle generic return from a method #67

@rhys-vdw

Description

@rhys-vdw
        /***
         * Get the underlying table. Note: Implemented in next release as of May 9 2025. See [PR](https://github.com/beyond-all-reason/RecoilEngine/pull/2241)
         * @generic T
         * @function RmlUi.SolLuaDataModel<T>:__GetTable
         * @return T
         */

This seems weird, not sure how to properly capture the generic from the class when defining a method on said class. Need to experiment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions