• Why? Because return obj as T and return <T>obj are not safe type casts.

    Type Parameters

    • T

    Parameters

    • obj: T

    Returns T

Generated using TypeDoc