Daniel Rosenwasser
312df84934
Added overload for 'String#search' to take objects with '[Symbol.search]' method.
2015-08-19 15:06:10 -07:00
Daniel Rosenwasser
25d55b5101
Added overload for 'String#replace' to take objects with '[Symbol.replace]' method.
2015-08-19 15:02:46 -07:00
Daniel Rosenwasser
4dd701a22c
Added overload for 'String#match' to take objects with '[Symbol.match]' method.
2015-08-19 15:02:13 -07:00
Daniel Rosenwasser
21de00fb7e
Removed inappropriate methods from the 'RegExp' interface.
2015-08-18 15:24:23 -07:00
Daniel Rosenwasser
006fc951e3
Added the '[Symbol.unscopables]' method to the 'Array<T>' interface.
2015-08-18 15:22:13 -07:00
Daniel Rosenwasser
66b17c1c73
Added the '[Symbol.species]' method to the 'RegExpConstructor' interface.
2015-08-18 15:14:37 -07:00
Daniel Rosenwasser
f56d8f5509
Added the '[Symbol.split]' method to the 'RegExp' interface.
2015-08-18 15:10:08 -07:00
Daniel Rosenwasser
e4077ec0f8
Added the '[Symbol.search]' method to the 'RegExp' interface.
2015-08-18 15:01:58 -07:00
Daniel Rosenwasser
97618104bd
Added the '[Symbol.replace]' method to the 'RegExp' interface.
2015-08-18 14:58:35 -07:00
Daniel Rosenwasser
1e9b5e4c30
Added the '[Symbol.match]' method to the 'RegExp' interface.
2015-08-18 13:39:51 -07:00
Daniel Rosenwasser
b7fcf161d5
Added the '[Symbol.toPrimitive]' method to the 'Date' interface.
2015-08-18 13:17:27 -07:00
Daniel Rosenwasser
2682703cca
Added the '[Symbol.hasInstance]' method to the 'Function' interface.
2015-08-18 13:17:23 -07:00
Daniel Rosenwasser
448f2d607d
Removed 'Function.toMethod'.
2015-08-18 13:17:10 -07:00
Schmavery
6f42e4164b
Apply suggested fixes to arguments
PR
2015-08-17 18:33:48 -07:00
Schmavery
2b3da9a49e
Add arguments
to completion list #4249
2015-08-17 17:13:17 -07:00
Mohamed Hegazy
e86f207859
Merge pull request #4309 from Microsoft/fix4274
...
Fix #4274 : When collecting linked aliases use SymbolFlags.Alias to capture local aliases as well
2015-08-17 15:55:35 -07:00
Sheetal Nandi
ed361a26b9
Merge pull request #4086 from Microsoft/sourcemap
...
Fixes the interaction of sourcemap and source comments
2015-08-17 15:34:35 -07:00
Mohamed Hegazy
25dfcec83b
Merge pull request #4290 from Microsoft/fix4277
...
Fix #4277 : Ensure we are passing refEnd and not length to findSourceFile
2015-08-17 15:21:04 -07:00
Vladimir Matveev
b6b735c0f2
merge with master
2015-08-17 14:38:24 -07:00
Vladimir Matveev
a88bfbd651
Merge branch 'master' into reuseAndCache
2015-08-17 14:36:17 -07:00
Mohamed Hegazy
2ffc37510d
Merge pull request #4281 from adidahiya/expose-scanner-typings
...
Make createScanner external (fixes #4057 )
2015-08-17 12:18:00 -07:00
Mohamed Hegazy
96286e9400
Merge pull request #4330 from SaschaNaz/formatTsx
...
Fix JsxElement formatting
2015-08-17 11:57:45 -07:00
Sheetal Nandi
ebe7ca75a6
Merge branch 'master' into sourcemap
2015-08-17 11:26:49 -07:00
Vladimir Matveev
6a17db8e3b
Merge pull request #4319 from Microsoft/renameDependencies
...
allow transpiler to provide alternative names for dependencies
2015-08-17 10:44:53 -07:00
Vladimir Matveev
cbb2425ccd
addressed PR feedback
2015-08-17 10:37:44 -07:00
SaschaNaz
bcde56202e
fix jsxelement formatting
2015-08-16 17:27:23 +09:00
Vladimir Matveev
bc3025b391
make 'require is defined' a precondition for Node-based sys
2015-08-14 20:53:38 -07:00
Mohamed Hegazy
53239d4a8b
Merge pull request #4310 from Microsoft/fix4170
...
Fix #4170 , remove error when using import=require syntax in t=ES6 and in ambient context
2015-08-14 15:11:19 -07:00
Vladimir Matveev
7e8cfa0859
allow transpiler to provide alternative names for dependencies
2015-08-14 13:00:41 -07:00
Vladimir Matveev
5fbe3fc75c
Merge pull request #4308 from Microsoft/adjustNodeCheck
...
adjust check for node env to handle webpack\browserify
2015-08-14 11:41:16 -07:00
Anders Hejlsberg
7376e4845d
Merge pull request #4200 from Microsoft/unionPartialSignatures
...
Partial matches in union type signatures
2015-08-13 23:16:48 -07:00
Mohamed Hegazy
e34238cb92
Merge pull request #4305 from ToddThomson/SpaceWithinNonEmptyBrackets
...
Add Spacing for Nonempty Brackets Formatting Option
2015-08-13 15:00:13 -07:00
Mohamed Hegazy
7353cfaece
Fix #4170 , remove error when using import=require syntax in t=ES6 and in ambient context
...
This is consistent with the behaviour of "export=" in --t=ES6 and in ambient contexts
2015-08-13 14:56:27 -07:00
Mohamed Hegazy
fafd497124
Fix #4274 : When collecting linked aliases use SymbolFlags.Alias to capture local aliases as well
2015-08-13 14:30:29 -07:00
ToddThomson
0415cc7f68
Addresses PR comments
...
Removed all spaces from nonempty parenthesis in code for this PR.
Modified the input string for testing the
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets option in the
fourslash test.
2015-08-13 14:06:56 -07:00
Vladimir Matveev
5a48508ffa
adjust check for node env to handle webpack\browserify
2015-08-13 13:14:38 -07:00
Mohamed Hegazy
1749329655
Merge branch 'master' into fix4277
2015-08-13 12:45:53 -07:00
Mohamed Hegazy
fdda66f055
handel merge conflict, use refPos instead of start
2015-08-13 12:45:26 -07:00
ToddThomson
9146d9bc2f
Add Spacing for Nonempty Brackets Formatting Option
...
User formatting option to add single space after opening and before
closing nonempty brackets.
2015-08-13 11:56:35 -07:00
SaschaNaz
f832bd20f2
fix class expression + expressionWithTypeArgument
2015-08-14 03:45:52 +09:00
Yui
f92aa8681a
Merge pull request #4230 from Microsoft/commentsNotPreserveForCallExp
...
Preserve comments on parameters in call expressions
2015-08-12 18:54:34 -07:00
Yui T
6adf7feb5e
Remove asterisks
2015-08-12 17:52:36 -07:00
Yui T
732376a73b
Merge branch 'master' into commentsNotPreserveForCallExp
2015-08-12 17:46:39 -07:00
Yui T
c0801b1388
Add asterisks
2015-08-12 17:46:24 -07:00
Vladimir Matveev
405db829a0
mismatch order of arguments
2015-08-12 13:55:41 -07:00
Mohamed Hegazy
94fa6b92b4
Fix #4277 : Ensure we are passing refEnd and not length to findSourceFile.
...
Also add a more conservative check for empty refPos and refEnd to ensure diagnostic emit does not fail
2015-08-12 13:04:10 -07:00
Adi Dahiya
fcc43a6730
Make createScanner external ( fixes #4057 )
2015-08-11 21:44:56 -04:00
Vladimir Matveev
7c8da42230
Merge pull request #4279 from Microsoft/highlightRefsInOneDocument
...
keep only document highlights from the original file
2015-08-11 18:01:59 -07:00
Daniel Rosenwasser
9717427130
Merge pull request #4276 from SaschaNaz/typeAssertionFormattingFix
...
Fix generics/type-assertion formatting
2015-08-11 12:22:08 -07:00
Vladimir Matveev
ce44d95115
keep only document highlights from the original file
2015-08-11 12:04:55 -07:00