Conflicts: src/compiler/checker.ts src/compiler/diagnosticInformationMap.generated.ts src/compiler/emitter.ts tests/baselines/reference/es6ImportDefaultBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
17 lines
280 B
TypeScript
17 lines
280 B
TypeScript
//// [es5ExportDefaultIdentifier.ts]
|
|
|
|
export function f() { }
|
|
|
|
export default f;
|
|
|
|
|
|
//// [es5ExportDefaultIdentifier.js]
|
|
function f() {
|
|
}
|
|
exports.f = f;
|
|
exports.default = f;
|
|
|
|
|
|
//// [es5ExportDefaultIdentifier.d.ts]
|
|
export declare function f(): void;
|
|
export default f;
|