UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

15 lines (13 loc) 449 B
import type { Feature } from "../../classes/private/Feature"; /** * An interface that represents the `ModUpgraded` class. * * This is used to prevent circular dependencies. * * These methods are private on the real `ModUpgraded` class, so the instantiated class must be * unsafely type-asserted. */ export interface ModUpgradedInterface extends Mod { initFeature: (feature: Feature) => void; uninitFeature: (feature: Feature) => void; }