Jack Bates
8d0db5254f
[browser-sync] Remove unused lint exceptions ( #48029 )
2020-09-23 13:37:33 -07:00
Wesley Wigham
6970a8fffa
#no-publishing-comment No more tabs in json documents, trailing newlines for every document
2020-05-15 12:27:10 -07:00
Jack Bates
f740de01a3
Enable strictNullChecks 2/3 ( #42650 )
2020-02-26 15:01:31 -08:00
Gabriela Araujo Britto
e980ea529f
Update tslint configs ( #42555 )
...
* Update tslint configs
* Update npm-naming configs
* Fix some configs
#no-publishing-comment
2020-02-24 16:06:03 -08:00
Oliver Joseph Ash
3cd6ad7fa4
Express: use generics for params, default to dictionary ( #37718 )
...
* Revert "Express: improve type of `Request['params']` aka `req.params` (#37502 )"
This reverts commit 9aa863ef23 .
* Express: use generics for params, default to dictionary
* Lint
* Bump all dependants
* Spacing
* Bump dependants
* Bump dependants
* Bump dependants
* Bump dependants
* Bump dependants
* Bump dependants
* Bump dependants
* Bump dependants
* Bump dependants
* Bump dependants
* Bump dependants (via tests)
* Bump dependants
* Bump dependants (via tests)
* Bump dependants
* Simplify test
* Hoist imports
* Tidy test
* Add tests
* Add reasons
* Remove redundant params
* Add tests
* Format
* Remove redundant params
* Add tests
* Add JSDoc
* Improve comment
* Improve comment
2019-08-18 17:47:36 -07:00
Yuma Hashimoto
cdc7decebc
[@types/browser-sync] Fix type of bs: object -> BrowserSyncInstance ( #35460 )
...
* Fix type of bs: object -> BrowserSyncInstance
* fix version to MAJOR.MINOR
2019-05-20 09:04:13 -07:00
Nathan Shively-Sanders
64fc88601e
Disable npm-naming with dt-header ( #34112 )
...
npm-naming is a new rule but the code it runs was already disabled
whenever dt-header was disabled. This change keeps the behaviour the
same.
2019-03-22 09:26:34 -07:00
Spencer Miskoviak
243bd2d1bc
Add chokidar as a dependency for packages that rely on chokidar types
2019-02-24 14:00:18 -08:00
Simon Schick
5cf531673c
fixup! fixup! fixup! chore(node): apply lint
2018-09-24 19:58:02 +02:00
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
Andy
2a9d2f8d59
Convert more "import *" to "import =" ( #23446 )
2018-02-05 18:27:31 -08:00
Andy
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
Andy
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 P
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
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Andy
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 Deinhamer
e3536dddfa
Update definitions header for browser-sync
2017-05-08 23:55:55 +02:00
Thomas Deinhamer
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