Skip to content

Commit 71db400

Browse files
Add test case to reproduce deprecated default export issue
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
1 parent 19508eb commit 71db400

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/// <reference path="fourslash.ts" />
2+
3+
//// @Filename: mod.ts
4+
//// /** @deprecated please don't use this */
5+
//// export const depr = 'deprecated';
6+
////
7+
//// /** Please use this one */
8+
//// export const notDeprecated = 'not deprecated';
9+
////
10+
//// /** @deprecated please import { notDeprecated } instead */
11+
//// export default notDeprecated;
12+
13+
//// @Filename: index.ts
14+
//// import defaultExport/*0*/, { depr, notDeprecated } from './mod.js';
15+
////
16+
//// console.log(defaultExport/*1*/);
17+
//// console.log(depr/*2*/);
18+
//// console.log(notDeprecated/*3*/);
19+
20+
verify.baselineQuickInfo();

0 commit comments

Comments
 (0)