Commit graph

80 commits

Author SHA1 Message Date
Nathan Shively-Sanders acac035aed
Add missing index.ts files to user projects (#39163)
This makes the language service treat .js files inside node_modules as
part of the parent project, so that you can view the same errors in the
editor as you see in the baselines.

Also update a comment in the parser that I missed in an earlier PR.
2020-06-22 08:46:14 -07:00
Pierre-Antoine Mills eb569a5c74
chore(ts-toolbelt): remove deprecated test (#37932) 2020-04-13 12:32:01 -07:00
Nathan Shively-Sanders ed1863b3e6
Add node to zone.js' tsconfig types (#37499) 2020-04-01 14:40:01 -07:00
Wesley Wigham 241b3b942a
Forcibly remove _the other_ submodules 2020-02-27 14:36:08 -08:00
Wesley Wigham a792fbb1a1
Forcibly remove submodules 2020-02-27 14:30:50 -08:00
Pathurs 5c85febb0c
Fix Get/Set being enumerable (#32264)
* Fix Get/Set being enumerable

fixes #3610

* fix tests

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2020-02-27 14:08:20 -08:00
Jack Bates bf370659b3
Don't npm install the parent project with no args (#35359) 2020-02-12 14:19:46 -08:00
Nathan Shively-Sanders 770fbcb42f
Add jest to fp-ts user test (#36360)
It was missing because I *think* they just added it.
2020-01-22 13:38:25 -08:00
Pierre-Antoine Mills 9a766c3197 test(ts-toolbelt): recursive iteration types (#33810)
* test: recursive iteration types for ts-toolbelt

* fix: implementation details

* fix: comment

* Update index.ts
2019-12-05 09:47:25 -08:00
Nathan Shively-Sanders 02348895c9
Add fp-ts to user tests (#35249) 2019-11-21 16:07:55 -08:00
Wesley Wigham 038d95144d
Remove all submodules - just force clone and reset on run instead (#33425) 2019-09-13 16:14:33 -07:00
TypeScript Bot 99229f88dd Update user baselines (#33411) 2019-09-13 15:14:25 -07:00
TypeScript Bot 6cca052063 Update user baselines (#33322) 2019-09-09 11:25:56 -07:00
TypeScript Bot fb453f8208 Update user baselines (#33281) 2019-09-06 11:38:30 -07:00
typescript-bot 72a0f3847d Update user baselines 2019-09-05 14:05:14 +00:00
Wesley Wigham 2b153fc75a
Add browser field entries for all require calls in sys.ts (#33242) 2019-09-04 16:59:16 -07:00
TypeScript Bot c06fd14748 Update user baselines (#33238) 2019-09-04 10:15:21 -07:00
TypeScript Bot 82a1a28fd4 Update user baselines (#33212) 2019-09-03 16:20:03 -07:00
TypeScript Bot e2b94231c8 Update user baselines (#33162) 2019-08-30 08:46:21 -07:00
TypeScript Bot ccf41ef803 Update user baselines (#33083) 2019-08-28 13:05:24 -07:00
Andrew Branch 5d04250ea8
Improve “Add missing await” fix-all (#32922)
* Improve codeFixAll for add missing await

* Improve add missing await for initializers and fix-all

* Fix when only one side of a binary expression can have its initializer fixed
2019-08-20 16:53:28 -07:00
Wesley Wigham d9f0212324
Resolve SymbolFlags.Type only at first in jsdoc getTypeFromTypeReference (#32947)
* Fix lookup of exported eunm type alias in local scope in JS

* Fix by adjusting type lookup fallback behavior to not include SymbolFlags.Value in its initial lookup instead
2019-08-19 11:31:47 -07:00
TypeScript Bot 2cde3b722a Update user baselines (#32975) 2019-08-19 10:46:30 -07:00
TypeScript Bot b57b5fe5ee Update user baselines (#32946) 2019-08-16 15:47:15 -07:00
Wesley Wigham e145f322d8
Add produceLKG flag to cherry-pick PR script 2019-08-16 13:01:18 -07:00
Ryan Cavanaugh 11c28d6dd0
Update versions to 3.7 (#32879)
* Update versions to 3.7

* Update API baselines
2019-08-14 13:00:26 -07:00
Wesley Wigham abd127f308
Only check import = reference when target is Value (#32747) 2019-08-06 16:44:42 -07:00
Nathan Shively-Sanders 480b73915f
Improve excess property checking for intersections (#32582)
* Improve excess property checking for intersections

Still a draft, the implementation needs improvement

* Use mutable isIntersection in checkTypeRelatedTo

This makes parameter lists a lot shorter. Seems like a slight
improvement, although I can revert if I change my mind.

* Fix semicolon lint

* Remove TODOOOO

* Revert "Use mutable isIntersection in checkTypeRelatedTo"

This reverts commit b8dccff2a2.
2019-08-06 15:03:24 -07:00
Wesley Wigham 40fd4efdf6
Strip more kinds of timestamps and versions from dockerfile output (#32519)
* Strip more kinds of timestamps and versions from dockerfile output, rewrite office-ui-fabric dockerfile to use new lerna build system

* Add another filter for just output

* Update user baselines (#23)

* Update user baselines (#24)

* Strip only maybe-present timestamps

* More lenient timestamp filter

* Update user baselines (#25)

* Simplify and enhance vscode dockerfile to use nightly ts in ts extension, too

* Update user baselines (#26)

* Update user baselines (#27)
2019-07-23 17:14:50 -07:00
Nathan Shively-Sanders e543d8bc5a
Fix type keyword completions (#32474)
* Fix type keyword completions

1. In functions, type keywords were omitted.
2. In All context, no keywords were omitted.

(1) fixes #28737
(2) removes 17 keywords that should not be suggested, even at the
toplevel of a typescript file:

* private
* protected
* public
* static
* abstract
* as
* constructor
* get
* infer
* is
* namespace
* require
* set
* type
* from
* global
* of

I don't know whether we have a bug tracking this or not.

* Change keyword filter in filterGlobalCompletion

Instead of changing FunctionLikeBodyKeywords

* Add more tests cases

* Make type-only completions after < more common

Because isPossiblyTypeArgumentPosition doesn't give false positives now
that it uses type information.
2019-07-19 15:22:04 -07:00
Wesley Wigham 0ddd847e03
Small addition to user PR script to support fork/branch PRs 2019-04-05 16:28:25 -07:00
Nathan Shively-Sanders 762a557fcc Update TypeScript-React-Native-Starter
Add a 'path' field to test.json.
2019-04-04 11:37:15 -07:00
Nathan Shively-Sanders bf0dd79e4a Update user test submodules (#30705) 2019-04-02 12:49:39 -07:00
Wesley Wigham 84076a5535
Add diagnostic context for expando property declarations (#29905) 2019-02-13 22:54:33 -08:00
Nathan Shively-Sanders 17d16d1bbb
Disable checkJS survey (#29830)
* Disable checkJS survey

* Completely remove survey infrastructure

* Re-instate the protocol part of SurveyReady
2019-02-11 08:36:35 -08:00
Wesley Wigham 89fda5ca83
Fix enum const initializer visibility painting (#28415) 2018-11-08 12:33:54 -08:00
EECOLOR 1a9c20949e path mappings now supports rooted disk paths and urls - fixes #13730 2018-11-07 22:19:04 +01:00
Wesley Wigham 4cfff8962c
Fix declaration emit for cross-file enums (#28237) 2018-10-30 14:55:01 -07:00
Klaus Meinhardt 33568795e0 Suggest adding to tsconfig after installing @types (#28211)
Ref: https://github.com/Microsoft/TypeScript/pull/28168#issuecomment-433554228
2018-10-30 11:33:05 -07:00
Wesley Wigham 4ad6541646
Store and check deferred nodes by containing file (#27378) 2018-10-05 14:40:09 -07:00
Andy 62306bc3f9
Fix git submodule update syntax (#27549) 2018-10-04 09:03:20 -07:00
Nathan Shively-Sanders 5433cd8685
remove Animations from chrome-devtools' user test shim (#26494)
It looks like it's successfully merging with the DOM definition now
instead.
2018-08-23 09:18:06 -07:00
Wesley Wigham 297f12e92c
Add bailout case to sourcemap searching code (#25212)
* Add bailout case to sourcemap searching code

* Also skip sourcemappy comments like sourceURL
2018-06-28 11:40:31 -07:00
Nathan Shively-Sanders 5c2eeb20b1
Destructuring declaration prefers type annotation type (#25282)
* Destructuring declaration prefers type annotation type

Previously, getTypeForBindingElement would always union the declarations type and
the type of the default initializer. Now, if the declaration has a type
annotation, it does not union with the initializer type. The type
annotation's type is the one used.

* Small cleanup in parentDeclarationHasTypeAnnotation

* Refactoring based on PR comments

* Combine getCombined*Flags into a single helper function

Retain the individual functions since they are used a lot.

* Remove unneeded temp
2018-06-28 10:41:38 -07:00
Wesley Wigham 38dab7417a
Fix lint race when not running tests in parallel (#25235) 2018-06-26 12:27:49 -07:00
Nathan Shively-Sanders 99ebcd788f
Treat link tag as comment (#25206)
* First attempt at parsing. Doesn't work

But my machine is dying, so this is an emergency commit.

* Parsing sort of works

But it's not right yet; the test I added fails. See the TODO I added.

* Parse link tag as comment
2018-06-25 15:27:49 -07:00
Wesley Wigham 66d6e5e6e0
Remove leveldown, stip absolute paths from test mk 2, accept reordered and new user baselines (#24227) 2018-05-17 15:32:10 -07:00
Wesley Wigham 5756ae1fd8
External runner fixes (#24115)
* Add missing @types/node dep to so many projects, rename parent node_modules dirs so they dont participate in tests, sort errors

* Accept new baselines

* Satisfy linter
2018-05-15 11:15:08 -07:00
Nathan Shively-Sanders 1595f7fe83
Add prettier user test and fix associated crash (#23715)
* Add prettier and fix crash bug

Name resolution would crash when resolving a type name inside a
typedef's property tag.

* Update tsconfig and thefore prettier baseline
2018-04-26 14:03:18 -07:00
Nathan Shively-Sanders e26745f129
Add axios' source to user tests (#23490)
* Add axios' source to user tests

We already have the npm-installed version in order to test their d.ts so
that we don't break their users.

* Just compile lib, plus fix some config lint
2018-04-17 15:20:48 -07:00