10 Commits
Author SHA1 Message Date
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