• Registers an inspection type, which will appear in tile tooltips or the inspect dialog.

    Parameters

    • name: string
    • handlerClass: InspectionClass

      The class for the handler of the inspection type.

    Returns (<K, T>(target: T, key: K) => void)

      • <K, T>(target: T, key: K): void
      • Type Parameters

        • K extends string | number | symbol

        • T extends Record<K, InspectType>

        Parameters

        • target: T
        • key: K

        Returns void

Generated using TypeDoc