620e260576
Nameless jsdoc typedefs have their exportedness controlled by the exportedness of the location they pull their name from. Fixes #33575.
23 lines
382 B
TypeScript
23 lines
382 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// GH #35347
|
|
|
|
// @Filename: a.js
|
|
// @allowJs: true
|
|
//// /**
|
|
//// * @enum {string}
|
|
//// */
|
|
//// const testString = {
|
|
//// one: "1",
|
|
//// two: "2"
|
|
//// };
|
|
////
|
|
//// export { test/**/String };
|
|
|
|
verify.quickInfoAt("",
|
|
`(alias) type testString = string
|
|
(alias) const testString: {
|
|
one: string;
|
|
two: string;
|
|
}
|
|
export testString`);
|