Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

(bug) short-hand module declaration not working in combination with 'noImplicitAny' #10191

Copy link
Copy link
@choeller

Description

@choeller
Issue body actions

TypeScript Version: 2.1.0-dev.2016080

Code
Trying to declare a module with the new short-hand syntax like this:

  declare module 'lodash';

leads to the following TypeScript-Compiler error

error TS7005: Variable ''lodash'' implicitly has an 'any' type.

I also can't find a way to make this "explicit any".

Expected behavior:

new shorthand syntax for module-declaration should also work with 'noImplicitAny' activated

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.