Commit Graph

15 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Adrov Igor
6d0db5e66d tslint fixes 2017-11-29 13:06:56 +03:00
Igor Adrov
6cff3bd86b Update sip.js to 0.8 2017-11-29 12:50:55 +03:00
Steve Frécinaux
2570679b2b sip.js: fix typing of SIP.NameAddrHeader
According to sip.js source code, the "uri" parameter and member are never a string, they are always SIP.URI instances.

https://github.com/onsip/SIP.js/blob/master/src/NameAddrHeader.js#L22
2017-11-10 14:23:32 +01:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Sean Bright
bf623ed931 sip.js: Additional tests for updated/added methods 2017-06-15 14:34:25 +00:00
Sean Bright
c3a5fa1f2a sip.js: SIP.Session: Add hold/unhold methods 2017-06-15 14:34:11 +00:00
Sean Bright
9086f62b6d sip.js: SIP.UA: Correct return values of various methods 2017-06-15 14:34:08 +00:00
Sean Bright
4abaeabc99 sip.js: ConfiguarationParameters: Add missing properties 2017-06-15 14:34:05 +00:00
Sean Bright
bda10b63ed sip.js: ConfigurationParameters: Correct ws_uri signature
This property accepts a string, or an array of strings and objects.
2017-06-15 14:33:59 +00:00
Steve Frécinaux
00ab3a3d2a sip.js: fix importing as a module (#16811)
* sip.js: fix conflicts with importing the SIPjs library.

- the 'sipjs' namespace is now linked to the 'sip.js' module import
- the old 'SIP' interface has been merged into the type definition in
  the 'sipjs' namespace so typing can be used naturally.

Tested successfully with typescript 2.3.3 and sip.js 0.7.7

* sip.js: fix SIP.C namespace

It was exposed as a class but it is actually a namespace containing
constants. This was causing build errors.

Also, the namespace name was wrong.

* sip.js: remove the wrapper sipjs namespace and export things instead

Following the suggestion of @andy-ms, this commits removes the wrapper
namespace and the `declare module` block, and instead just exports all
the things individually.
2017-06-15 07:05:04 -07: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
e5ed4fc916 Apply new lint rules to even more files (#15445) 2017-03-28 10:56:00 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00