Skip to content

allow type 'unsafe' way to doing es6 style imports #6371

Closed
@pdeva

Description

@pdeva

Currently if have an import of a library which doesnt have any type definition, like this:

import {A} from 'randomLib';

Typescript will mark an error saying it cant find randomLib anywhere.
We need some way of telling typescript to suppress the error for this particular import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already createdSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions