Libertas OS API Documentation
    Preparing search index...

    Type Alias LuaTableSetMethod<TKey, TValue>

    LuaTableSetMethod: (key: TKey, value: TValue) => void & LuaExtension<
        "TableSetMethod",
    >

    Calls to methods with this type are translated to table[key] = value, where table is the object with the method. For more information see: https://typescripttolua.github.io/docs/advanced/language-extensions

    Type Parameters

    • TKey extends AnyNotNil

      The type of the key to use to access the table.

    • TValue

      The type of the value to assign to the table.