Skip to content

import and export function name confliction should be an error #7195

Closed

Description

TypeScript Version:

master

Code

// lib.ts
export function f() {
}
// index.ts
import {f} from './lib';
export function f() {
}

Expected behavior:

error

Actual behavior:

pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFixed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions