114 Commits

Author SHA1 Message Date
Andy Hanson
543b484ec5 Remove trailing whitespace 2016-06-06 08:17:14 -07:00
Anders Hejlsberg
59f269c90a Merge pull request #8652 from Microsoft/neverType
Add 'never' type
2016-05-18 11:39:22 -07:00
Anders Hejlsberg
9a22d08422 Merge pull request #8625 from Microsoft/optionalClassProperties
Optional class properties
2016-05-18 11:32:50 -07:00
Anders Hejlsberg
c11d691d6f Introduce 'never' type 2016-05-17 06:15:57 -07:00
Anders Hejlsberg
a11f72f9ab Emit '?' for optional parameter property in declaration file 2016-05-16 13:34:54 -07:00
Andy Hanson
a9742c5861 Change name from ConstructorParameterModifier to ParameterPropertyModifier 2016-05-11 09:48:37 -07:00
Andy Hanson
ad2634e343 Fix #7590: Allow 'readonly' to be used in constructor parameters 2016-05-11 08:32:17 -07:00
Alex Eagle
be9d8bd67a Include sourcefiles in the WriteFileCallback for .d.ts emit
Fixes #7438
2016-05-01 11:11:09 -07:00
Sheetal Nandi
685900c2a3 Fix declaration emit when first generic function type in type argument position specified using space 2016-04-18 16:08:52 -07:00
Vladimir Matveev
376c493e67 include type reference directives in .d.ts. files 2016-04-11 21:36:07 -07:00
Sheetal Nandi
1d2730790e Report implicit any errors on destructuring parameter declarations
Handles #6935
2016-04-08 12:22:07 -07:00
Sheetal Nandi
592a4b9fb3 Emit "declare" for temp default var name only if declaration file emit context allows
Fixes #7807
2016-04-04 13:35:42 -07:00
Anders Hejlsberg
cf9e08b75c Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/checker.ts
2016-03-09 13:00:59 -08:00
Mohamed Hegazy
3bb2c57264 Fix #3810: Handel expressions in extends clauses 2016-03-03 22:35:30 -08:00
Anders Hejlsberg
ea4b13bdf9 Allow 'null' and 'undefined' as type names 2016-03-03 11:18:12 -08:00
Daniel Rosenwasser
dbf8b02656 Use single-quoted strings in certain places. 2016-02-29 11:13:20 -08:00
Vladimir Matveev
8e77f40ace avoid multiple passes over the program when computing diagnostics for the bundled emit 2016-02-24 14:21:30 -08:00
AbubakerB
d0843e1dc2 Merge branch 'ts-master' into constructorAccessibility
Conflicts:
	src/compiler/checker.ts
2016-02-12 23:35:22 +00:00
Vladimir Matveev
5b7b57626c split declaration and initialization of writer variable 2016-02-10 13:58:31 -08:00
Josh Soref
e848e95bab spelling fixes for checker.ts, declarationEmitter.ts, types.ts
* accessibility
* accessor
* annotate
* anything
* apply
* assignability
* collection
* conservatively
* constituent
* constructor
* containing
* contextual
* contributed
* declaration
* excessively
* exclusion
* field
* indistinguishable
* initializer
* intrinsic
* knowing
* noisiness
* occurred
* overridden
* parameter
* perspective
* properties
* property
* prototype
* rewritten
* specifies
* symbolFromSymbolTable
2016-02-09 18:16:36 +00:00
AbubakerB
bbf92ce391 Added constructor visibility in the declaration emitter 2016-02-04 18:32:56 +00:00
Vladimir Matveev
202452b521 emit import declarations without import clause in .d.ts files 2016-02-02 15:53:20 -08:00
Anders Hejlsberg
a88ff9c2ad Emit readonly in declaration file for get-only accessors in classes 2016-01-28 13:28:49 -08:00
Anders Hejlsberg
3019017093 Emit readonly in declaration files 2016-01-28 10:39:54 -08:00
vladima
7cef1efb4e merge with origin/master 2016-01-11 22:12:03 -08:00
Vladimir Matveev
7f2ebf928a use 'declare global' to define augmentations for the global scope 2015-12-28 12:03:54 -08:00
Nathan Shively-Sanders
abf9961528 Merge branch 'master' into lint-nested-++ 2015-12-22 16:12:07 -08:00
Nathan Shively-Sanders
401a393519 Fix ++/-- lint 2015-12-22 15:45:00 -08:00
Vladimir Matveev
4a963a26c3 initial revision of external module augmentations 2015-12-22 13:56:22 -08:00
Daniel Rosenwasser
80c7f3a529 Removed unused declarations from 'declarationEmitter.ts'. 2015-12-17 14:39:20 -08:00
Anders Hejlsberg
5ab5338574 Fix declaration emitter scoping issue for type parameter constraints 2015-12-10 13:55:57 -08:00
Sheetal Nandi
acedf3c247 Do not emit files if noEmit is specified
Handles #5799
2015-11-30 12:46:53 -08:00
Wesley Wigham
d1c467ff4d Merge branch 'master' into use-common-directory-for-out 2015-11-25 16:41:58 -08:00
Ron Buckton
8909c3a2dd Merge pull request #5725 from Microsoft/stringTypesCleanup
Disambiguate string literal types from other string literals.
2015-11-24 15:23:25 -08:00
Wesley Wigham
b11786866b Merge branch 'master' into use-common-directory-for-out 2015-11-20 13:32:12 -08:00
Ron Buckton
f5b8619199 Adds StringLiteralType to SyntaxKind to disambiguate string literals in a type position. 2015-11-19 17:08:51 -08:00
Sheetal Nandi
883b8d9347 Merge pull request #5471 from Microsoft/jsFileCompilation
Compilation of Js Files
2015-11-19 16:30:40 -08:00
Sheetal Nandi
5ac6eb2d79 PR feedback 2015-11-18 10:48:03 -08:00
Ron Buckton
443abe6dea Adds ThisType to SyntaxKind, to distinguish between a 'this' expression and a 'this' type. Needed for transforms 2015-11-17 10:53:29 -08:00
Wesley Wigham
78e7804668 handle things more rightly 2015-11-13 15:46:48 -08:00
Wesley Wigham
cb1724bd44 in declaration emit, handle = require (again) 2015-11-13 15:26:38 -08:00
Sheetal Nandi
fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -08:00
Wesley Wigham
977c3eec22 fix lints 2015-11-09 12:50:38 -08:00
Wesley Wigham
cadf54334b Merge branch 'master' into out-module-concat 2015-11-09 12:38:23 -08:00
Vladimir Matveev
45746d11a6 make emitter singleton, replace reading file properties with local access, use one constructor function for all nodes 2015-11-06 16:21:43 -08:00
Sheetal Nandi
4c842591f7 Merge branch 'master' into jsFileCompilation 2015-11-06 12:39:42 -08:00
Wesley Wigham
8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Wesley Wigham
6f9702112f Merge branch 'master' into out-module-concat 2015-11-02 16:57:07 -08:00
Wesley Wigham
265fb518a8 feedback from CR 2015-11-02 16:54:12 -08:00
Wesley Wigham
6de5221dcd dont mutate 2015-11-02 12:53:27 -08:00