Menu

Better error messages for "duplicate XYZ" would be so helpful

Reddit r/typescript·u/rbobby·7 months ago
#34U137VU
#messages#error#duplicate#better#helpful
Reading 0:00
15s threshold

I have two error messages that are giving me grief:

Definitions of the following identifiers conflict with those in another file: TypeOrArray, Node, htmlString, Selector, SuccessTextStatus, ErrorTextStatus, TextStatus, SuccessCallback, ErrorCallback, CompleteCallback, StatusCodeCallbacks, CSSHook, CallbackBase, Callback, Duration, Tweener, PropHook, EasingMethod, AnimationHook, Queue, QueueFunction, SpeedSettings, EventHandlerBase, EventHandler, TypeEventHandler, _TypeEventHandlers, SpecialEventHook, CoordinatesPartial, ValHook, _Falsy, jQuery, $, _Event, _UIEvent, _MouseEvent, _DragEvent, _KeyboardEvent, _TouchEvent, _FocusEvent 

and

Build:Duplicate index signature for type 'string'. 

These messages are nearly useless. I need to know the location of the original definition.

Any ideas how to tackle this?