Commit Graph
15 Commits
Author SHA1 Message Date
Kiyo Ichikawa c4493fb3a2 Adding cleanup and reset methods to type definition to help out with https://github.com/DefinitelyTyped/DefinitelyTyped/issues/26417.
Also, cleanup and adding some other missing props/methods.
2018-06-12 11:55:07 -04:00
Kiyotoshi Ichikawa 55194a76e4 Updated types and appended some.
The proxy.proxyRes property could be further expressed to take one or three parameters. Its previous representation was not correct according to the documentation and default configuration the package generates.
Specified types for watchEvents, open, and logLevel options.
Converted type Object references to object per recommended guidelines of DefinitelyTyped repo.
Converted type Function references to arrow function.
More SnippetOptions properties, defined FormsOptions under GhostOptions.
Added and modified tests.
2018-04-25 15:43:30 -04:00
Kiyotoshi Ichikawa 34026b93c0 [browser-sync] Type definition for Option type is missing many valid properties.
Also appending tests to cover newly added properties/interfaces.
2018-04-05 13:03:08 -04:00
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
AndyandGitHub 2a9d2f8d59 Convert more "import *" to "import =" (#23446) 2018-02-05 18:27:31 -08:00
AndyandGitHub bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Bernardo 48978b95ee add path mappings to dependent packages 2017-12-18 22:18:01 +01:00
AndyandGitHub 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Clément PandAndy 6366b6c58a Update DefinitelyTyped (#20318)
* Update index.d.ts

add proxyOption.proxyReq

* Update index.d.ts

proxyRes and proxyReq can be Function or Function[]

* Update index.d.ts

* Update browser-sync-tests.ts

add test for proxyRes & proxyReq

* Update browser-sync-tests.ts
2017-10-16 10:54:30 -07:00
AndyandGitHub 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
AndyandGitHub 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Nathan Shively-Sanders 4874667de9 Fix primitive weak type errors
These weak type errors were not caught in TS 2.4 RC. The final TS 2.4
will catch weak type errors with primitives, so this PR fixes those
now-caught errors.
2017-06-15 11:46:46 -07:00
Thomas DeinhamerandGitHub e3536dddfa Update definitions header for browser-sync 2017-05-08 23:55:55 +02:00
Thomas DeinhamerandGitHub 3dd7e9e4ca Add cors option 2017-05-08 23:50:48 +02:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00