Commit Graph

16 Commits

Author SHA1 Message Date
Ron Buckton
5d79704931 Sanitize module resolution logs for typesVersions entries 2018-09-11 14:19:28 -07:00
Ron Buckton
04a524511e Add semver range parsing support 2018-08-28 14:11:01 -07:00
Wesley Wigham
5b92678285 Optimize sourcemap application more (#25425)
* Optimize sourcemap application more

* Remove test-only memory hog sourceMapDecodedMappings field

* Update for style, remove unused function that triggers warnings in node 10

* Avoid all raw buffer constructor calls

* Small TDZ fix
2018-07-05 15:12:10 -07:00
Andy
e53e56cf82 Enable '--strictNullChecks' (#22088)
* Enable '--strictNullChecks'

* Fix API baselines

* Make sys.getEnvironmentVariable non-nullable

* make properties optional instead of using `| undefined` in thier type

* reportDiagnostics should be required

* Declare firstAccessor as non-nullable

* Make `some` a type guard

* Fix `getEnvironmentVariable` definition in tests

* Pretend transformFlags are always defined

* Fix one more use of sys.getEnvironmentVariable

* `requiredResponse` accepts undefined, remove assertions

* Mark optional properties as optional instead of using `| undefined`

* Mark optional properties as optional instead of using ` | undefined`

* Remove unnecessary null assertions

* Put the bang on the declaration instead of every use

* Make `createMapFromTemplate` require a parameter

* Mark `EmitResult.emittedFiles` and `EmitResult.sourceMaps` as optional

* Plumb through undefined in emitLsit and EmitExpressionList

* `ElementAccessExpression.argumentExpression` can not be `undefined`

* Add overloads for `writeTokenText`

* Make `shouldWriteSeparatingLineTerminator` argument non-nullable

* Make `synthesizedNodeStartsOnNewLine` argument required

* `PropertyAssignment.initializer` cannot be undefined

* Use one `!` at declaration site instead of on every use site

* Capture host in a constant and avoid null assertions

* Remove few more unused assertions

* Update baselines

* Use parameter defaults

* Update baselines

* Fix lint

* Make Symbol#valueDeclaration and Symbol#declarations non-optional to reduce assertions

* Make Node#symbol and Type#symbol non-optional to reduce assertions

* Make `flags` non-nullable to reduce assertions

* Convert some asserts to type guards

* Make `isNonLocalAlias` a type guard

* Add overload for `getSymbolOfNode` for `Declaration`

* Some more `getSymbolOfNode` changes

* Push undefined suppression into `typeToTypeNodeHelper`

* `NodeBuilderContext.tracker` is never `undefined`

* use `Debug.assertDefined`

* Remove unnecessary tag

* Mark `LiteralType.freshType` and `LiteralTupe.regularType` as required
2018-05-22 14:46:57 -07:00
Wesley Wigham
556c316fed Make new harness fake host more performant in large complications (#23951)
* Make new harness fake host more performant in large complications

* Use sortedmap
2018-05-08 12:46:33 -07:00
Ron Buckton
1dff0af646 More path cleanup 2018-05-01 18:53:54 -07:00
Ron Buckton
c9c562afac Reorganize and remove duplication 2018-04-24 10:48:55 -07:00
Ron Buckton
f153b04f35 Revert changes to unit tests 2018-02-05 23:29:20 -08:00
Ron Buckton
4d8d51452c Migrate core.ts 2018-01-30 11:57:47 -08:00
Ron Buckton
1cb1088e8a Update projects tests to use vfs 2017-12-10 17:35:42 -08:00
Ron Buckton
c3701dfe09 Deprecate virtualFileSystemWithWatch 2017-11-27 17:12:29 -08:00
Ron Buckton
c5e502009f Migrate tsserverProjectSystem to vfs 2017-11-27 15:00:05 -08:00
Ron Buckton
41567b2261 Migrate tscWatchMode to vfs 2017-11-21 19:47:13 -08:00
Ron Buckton
4697ba3e50 Add support for variations in module/target in compiler tests 2017-11-09 18:35:24 -08:00
Ron Buckton
cf261c34aa Retire Harness.compileFiles 2017-11-09 16:26:07 -08:00
Ron Buckton
8245f6246d Update Harness.compileFiles to use vfs 2017-11-09 16:01:33 -08:00