REPENTOGON Plus Definitions #2#132
Conversation
- Fixes a lot of mistakes in callback definitions - Better documentation for some callbacks - Adds some new callbacks
packages/isaac-typescript-definitions-repentogon/src/types/classes/item-config/ItemConfig.d.ts
Outdated
Show resolved
Hide resolved
|
i reverted the changes to Game.d.ts, since I think it is useful to have the method existing for historical context. |
It doesn't cause any crashes, yeah. In that case I'll just add an Ex method that will return a fixed LevelStage while still transpiling to GetLastDevilRoomStage. |
Updated deprecation notice for IsValidTrinket method.
|
should I merge this now or are you still working on it? |
|
yes it can be merged |
|
is it not possible for Repentongon function definitions to overwrite vanilla function definitions? |
Not as far as I know, since it's expected that the overridden interface field should have the same type as the normal one. In the case of GetLastDevilRoomStage, doing it owuld result in the error:
|
|
oh I see, that's very unfortunate |
|
should I wait for the next PR until releasing? |
|
Sure, the last PR should be out sometime today |
This is the second PR of three(?), as the amount of API additions, changes and definition fixes are large.
For
isaac-typescript-definitions, I had removedLevel.GetLastDevilRoomStageas it has been broken since Repentance and only returns an userdata. I plan on moving it over toisaac-typescript-definitions-repentogonas it is fixed there.