-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
Domain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyIn DiscussionNot yet reached consensusNot yet reached consensusSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
// Filename: mod.js
export const Ns = function () { }
// @Filename: use.js
import { Ns } from './mod'
Ns.expando = 1
Expected behavior:
No error, and Ns has property 'expando'
Actual behavior:
Error, 'expando' not found on 'Ns'.
This merge shouldn't be allowed in Typescript, but it will work in Javascript, so it should be allowed there.
Metadata
Metadata
Assignees
Labels
Domain: JavaScriptThe issue relates to JavaScript specificallyThe issue relates to JavaScript specificallyIn DiscussionNot yet reached consensusNot yet reached consensusSuggestionAn idea for TypeScriptAn idea for TypeScript