forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(48291): omit jsdoc modifiers (microsoft#48304)
- Loading branch information
1 parent
9a2868b
commit c1cf901
Showing
5 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//// [tests/cases/conformance/salsa/plainJSGrammarErrors2.ts] //// | ||
|
||
//// [plainJSGrammarErrors2.js] | ||
|
||
//// [a.js] | ||
export default 1; | ||
|
||
//// [b.js] | ||
/** | ||
* @deprecated | ||
*/ | ||
export { default as A } from "./a"; | ||
|
||
|
||
//// [plainJSGrammarErrors2.js] | ||
//// [a.js] | ||
export default 1; | ||
//// [b.js] | ||
/** | ||
* @deprecated | ||
*/ | ||
export { default as A } from "./a"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
=== tests/cases/conformance/salsa/plainJSGrammarErrors2.js === | ||
|
||
No type information for this code.=== /a.js === | ||
export default 1; | ||
No type information for this code. | ||
No type information for this code.=== /b.js === | ||
/** | ||
* @deprecated | ||
*/ | ||
export { default as A } from "./a"; | ||
>default : Symbol(default, Decl(a.js, 0, 0)) | ||
>A : Symbol(A, Decl(b.js, 3, 8)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
=== tests/cases/conformance/salsa/plainJSGrammarErrors2.js === | ||
|
||
No type information for this code.=== /a.js === | ||
export default 1; | ||
No type information for this code. | ||
No type information for this code.=== /b.js === | ||
/** | ||
* @deprecated | ||
*/ | ||
export { default as A } from "./a"; | ||
>default : 1 | ||
>A : 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// @outdir: out/ | ||
// @target: esnext | ||
// @module: esnext | ||
// @allowJs: true | ||
// @filename: plainJSGrammarErrors2.js | ||
|
||
// @filename: /a.js | ||
export default 1; | ||
|
||
// @filename: /b.js | ||
/** | ||
* @deprecated | ||
*/ | ||
export { default as A } from "./a"; |