TypeScript/tests/cases/conformance
Nathan Shively-Sanders 29f9493d87
Fix crash when exporting+aliasing globalThis inside declare global (#34408)
* global module:Fix crash when exporting+aliasing globalThis

* Fix another globalThis crash

find-all-refs assumed that an export inside a `declare x` was always an
ambient module, but it is not -- `declare global` does not allow
`export`, so find-all-refs shouldn't return any refs for this error case.
2019-10-15 14:05:39 -07:00
..
ambient Add bad test case 2019-04-24 08:44:24 -07:00
async Prevent substitution of 'super' in async super helper 2019-03-19 11:35:18 -07:00
classes Add useDefineForClassFields flag for Set -> Define property declaration (#33509) 2019-09-26 13:25:05 -07:00
constEnums fix compiler crash (#25925) 2019-04-25 10:51:36 -07:00
controlFlow Update tests 2019-10-05 18:58:51 -07:00
declarationEmit Merge branch 'master' into attach_property_to_default_export 2019-03-22 17:40:37 +08:00
decorators Change the type of 'uriComponent' (passed to 'encodeURIComponent') from 'string' to 'string | number | boolean'. Fixes #18159 (#31103) 2019-04-26 13:07:14 -07:00
dynamicImport Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
emitter Merge branch 'master' into es2019 2019-02-07 10:08:26 +09:00
enums Better template literals support in checker (#32064) 2019-09-27 12:04:13 -07:00
es6 Improve type checking and inference for Generators and Async Generators (#30790) 2019-07-03 21:55:59 -07:00
es7 Allow trailing commas after-rest elements in destructuring 2018-06-04 14:58:30 -07:00
es2017 Fix #21089: Do not infer from numeric index signature in Object.values and Object.entries (#21129) 2018-01-17 14:16:11 -08:00
es2018 Change esnext.promise to es2018.promise (#22292) 2018-03-02 17:08:36 -08:00
es2019 Fix crash when exporting+aliasing globalThis inside declare global (#34408) 2019-10-15 14:05:39 -07:00
expressions Fix crash in transformations (#33768) 2019-10-02 16:13:32 -07:00
externalModules Add test 2019-04-08 09:46:47 -07:00
functions Add tests 2018-12-10 09:45:55 -08:00
generators Get contextual type of yield from contextual signature of containing function (#32433) 2019-07-16 17:16:21 -07:00
interfaces getConstraintDeclaration gets the first declaration with a constraint… (#33426) 2019-09-18 13:56:24 -07:00
internalModules
jsdoc Detect unbindable exports before setting CommonJS module indicator (#33784) 2019-10-04 11:52:38 -05:00
jsx Fix unicode escapes in jsx identifiers and extended unicode characters in jsdoc (#32716) 2019-08-06 15:14:32 -07:00
moduleResolution Fix handling of empty 'types', 'typings', etc. fields in package.json (#31539) 2019-05-23 17:19:32 -07:00
parser Add test for parenthesized variable and function keyword within ternary 2019-04-01 14:11:30 -07:00
references Update Harness.compileFiles to use vfs 2017-11-09 16:01:33 -08:00
salsa nullish coalescing commit (#32883) 2019-09-30 15:33:50 -07:00
scanner Add error message for keywords with escapes in them (#32718) 2019-08-12 16:00:38 -07:00
statements Reset error record in downlevel for-of (#31519) 2019-05-22 11:18:07 -07:00
Symbols
types Fix for incorrect 'this' type for optional call (#33799) 2019-10-04 13:39:42 -07:00
typings Only suggest adding to types if present in compilerOptions 2018-10-30 21:31:22 +01:00
fixSignatureCaching.ts Property assignments in Typescript (#26368) 2018-08-15 15:25:25 -07:00