typedEntries | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function typedEntries

    • Returns an array of key/values of the enumerable own properties of an object, with exact types. Use when no extra properties are expected on the object. Exists because Object.entries returns always string as key type.

      Type Parameters

      • T extends object

      Parameters

      • obj: T

        Object that contains the properties and methods

      Returns TypedEntriesInternal<T, keyof T & string>[]