Andy
9bdd6a3b55
Support loading "index.d.ts" using "typesVersions" without "types", "typings", or "main" ( #27514 )
...
* Support loading "index.d.ts" using "typesVersions" without "types", "typings", or "main"
* Update baseline
2018-10-03 11:44:16 -07:00
Ron Buckton
37c33f4369
Use semver ranges
2018-08-28 17:24:02 -07:00
Ron Buckton
37ec065d93
Add path back-reference tests
2018-08-28 11:44:40 -07:00
Ron Buckton
dc5cd9676b
Switch to paths-like pattern matching
2018-08-28 09:33:03 -07:00
Ron Buckton
015babb6f7
Initial support for 'typesVersions'
2018-08-20 16:57:18 -07:00
Matt McCutchen
d054621477
"Could not find a declaration file for module" error needs to use the
...
unmangled package name where appropriate.
Add a test case for an untyped sub-module of a scoped package with
typings. The other diagnostic message is covered by existing tests; I
guess no one looked at the baselines closely enough.
Fixes #23999 .
2018-08-01 14:13:38 -04:00
Andy
2b9166b2f9
Don't recommend to install '@types/foo' if that already exists ( #24815 )
...
* Don't recommend to install '@types/foo' if that already exists
* Add different extra diagnostic text if the @types package exists
* Update API (#24966 )
2018-06-21 10:19:14 -07:00
Andy
e4e4b17669
Improve error message for untyped import of scoped package ( #22189 )
2018-02-26 10:38:54 -08:00
Andy
ec37651308
Use packageId for suggestion to install @types/packageName
( #21241 )
2018-01-17 14:22:58 -08:00
Andy
0ae42ea3de
Allow relative imports of '.js' files when --noImplicitAny
is disabled ( #18489 )
...
* Allow relative imports of '.js' files when `--noImplicitAny` is disabled
* Update baselines, and don't ignore a diagnostic about missing JSX
2017-09-19 12:42:29 -07:00
Andy Hanson
8ec593aec2
Support @types module resolution from scoped packages
2017-04-06 08:05:30 -07:00
Andy Hanson
432808d50b
Allow package.json "main" to specify a directory
2017-01-25 07:31:24 -08:00
Andy
ecb7b00e1c
Forbid augmentation of untyped module ( #11962 )
...
* Forbid augmentation of untyped module
* Just use `undefined` for untyped modules
2016-10-31 15:04:22 -07:00
Andy Hanson
4937d9c8b4
Allow untyped imports
2016-10-27 08:54:19 -07:00