Commit Graph
19 Commits
Author SHA1 Message Date
Andy cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Daniel Herman 49013b7277 Correctly identify a few methods as polymorphic
Since these methods return `this`, we should modify the return value to
reflect that so that inherited classes have the return type appropriately
identified as the inherited class
2017-08-07 14:09:42 -04:00
Daniel Herman 9379410e90 Correct the return types for wrap and context
The `wrap` function accepts a function and returns a function that returns
the value from said function, not the Raven instance.  `context` is
implemented in terms of `wrap` and as such should have a return type
corresponding to the value returned from the wrapped function.

Ref:

https://github.com/getsentry/raven-node/blob/d359ff776dd1866351822384d0127b5c5c094141/lib/client.js#L323-L360
2017-08-07 13:52:03 -04:00
Daniel Herman 841d4801dc Remove non-existent argument from context
The `onErr` argument no longer exists on the `context` and `wrap` methods
as of Raven 2.0.0

https://github.com/getsentry/raven-node/commit/8a88d5d4f8ed92b62345c6bb3f79f98de65461fe
2017-08-07 13:50:30 -04:00
Daniel Herman d2dfe1e49e add shouldSendCallback 2017-08-07 12:47:31 -04:00
Scott Cooper 72b910cdf0 add parseUser config (#18610) 2017-08-04 16:43:22 -07:00
Dmitry Sorin 00f366894b [raven] Support for raven@2 (#18459)
* Add captureMessage to raven own methods, fix return type (it should be eventId: string) for both captureMessage and captureException

* Add support for req and user (2.x)
2017-07-28 09:06:06 -07:00
Pablo Ois Lagarde c4ba3f9e65 [raven] Add missing requestHandler 2017-07-11 14:34:53 -03:00
Wang Dàpéng b2da60db58 [raven]: Fix CaptureOptions.fingerprint definition 2017-07-07 11:38:23 +08:00
Silas Rech 1dc7cafe4c [raven] fix key substructure 2017-05-13 20:24:06 +02:00
Andy bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy ff0d451b56 Fix various lint errors (#15529) 2017-03-30 15:33:16 -07:00
Scott Cooper 9fd8449959 flatten exports 2017-03-28 13:16:19 -07:00
Scott Cooper 1e249a5e4f strict null checks and remove namespace export 2017-03-28 12:49:34 -07:00
Scott Cooper 0edfa82dae remove lint error 2017-03-27 23:24:24 -07:00
Scott Cooper 1bbbc99a32 remove object reference 2017-03-27 22:35:17 -07:00
Scott Cooper 05bb80c0df use 4 spaces 2017-03-27 22:01:53 -07:00
Scott Cooper 8ab6c1ce55 remove minor 2017-03-27 22:00:25 -07:00
Scott Cooper c31c7b4aee add raven-node definitions 2017-03-27 21:34:11 -07:00