-
Notifications
You must be signed in to change notification settings - Fork 12.8k
[Transforms] Merge master 08/09 #10263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…he expression of each `ExpressionWithTypeArguments` is an `EntityNameExpression`.
This makes sure that a union type that includes a type parameter is still usable as the actual type that the type guard narrows to.
When a property is declared in the constructor and on the prototype of an ES6 class, the property's symbol is discarded in favour of the method's symbol. That because the usual use for this pattern is to bind an instance function: `this.m = this.m.bind(this)`. In this case the type you want really is the method's type.
Previously it was using TypeFacts.All. But the constraint of an unconstrained type parameter is actually {}.
Limit "type guards as assertions" behavior
Add a helper function `getOrUpdateProperty` to prevent unprotected access to Maps.
…types path resolution errors (#9867) * Change the shape of the shim layer to support getAutomaticTypeDirectives * Change the key for looking up automatic type-directives * Update baselines from change look-up name of type-directives * Add @CurrentDirectory into the test * Update baselines * Fix linting error * Address PR: fix spelling mistake * Instead of return path of the type directive names just return type directive names
… not produce these files (#9233)
…uded in TSX attributes
The extra `else` caused a ton of test failures!
Don't allow properties inherited from Object to be automatically included in TSX attributes
Add .types extension
…so allow it to have an extension)
Allow "typings" in a package.json to be missing its extension
…ypes JSDoc supports null, undefined and never types
* Use ES7 term of ExponentiationExpression * Update timeout for mac OS * Address PR: add space
Unify representation of tuples and other generic types
routine update of dom libs
Return non-JsDocComment children for syntactic classification
Tolerate errors in config file
* Properly emit await expression with yield expression * Add tests and update baselines * Move parsing await expression into parse unary-expression * Update incorrect comment
…ally-typed-type-parameters Instantiate this for contextually typed type parameters
…-resolves-to-module allowSyntheticDefaultImports resolves to modules instead of variables
Add error message
# Conflicts: # Gulpfile.ts # Jakefile.js # src/compiler/binder.ts # src/compiler/checker.ts # src/compiler/core.ts # src/compiler/diagnosticMessages.json # src/compiler/emitter.ts # src/compiler/parser.ts # src/compiler/program.ts # src/compiler/types.ts # src/compiler/utilities.ts # src/harness/compilerRunner.ts # src/harness/harness.ts # src/harness/projectsRunner.ts # src/harness/unittests/jsDocParsing.ts # src/harness/unittests/transpile.ts # tests/baselines/reference/classExpressionES63.js # tests/webTestServer.ts
@yuit can you take a look at the lint failure? |
Hi, However, I would have expected this to use a normal merge commit, because e.g. now if I want to merge the Can you give me some insight about this, @yuit, @rbuckton? Thank you! |
No description provided.