-
-
Notifications
You must be signed in to change notification settings - Fork 737
Feat/639 #1196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Feat/639 #1196
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
02aad30
Merge pull request #2 from TypeStrong/feat/639
paztis b8a6d42
correct good export naming in library mode
44b98fc
correct good export naming in library mode: unit test update
754ec6e
[module naming] fix remaining index.d after module naming. Remove use…
fd02c12
update declaration ".d" removal unit test
4b48ba9
update double quote removal in unit tests
b2874ce
correct unit tests for double quote useless escaping
8ba5964
in case of mono-repo (node_modules outside the project), trunk the mo…
55f62ad
library export declaration refactoring
9e90746
only consider the program files paths for basePath construction
ad615b3
wording fix
da313ad
update export specs
42ebbee
typescript getFullyQualifiedName wrapping to prefix by sourceFile nam…
db1f74f
typescript getFullyQualifiedName wrapping to prefix by sourceFile nam…
cf8ed0c
don't forgot to flag as exported the default case
33b12ae
always create ReferenceReflection in export {A} declaration: event if…
a7b2b36
referenceReflexion in namespaces fix: copy the sourcefile export logic
1d3556d
tslint fix
5eb1a7b
correct isExported support
c6765e7
update type reference management with real FQN
47fb938
correct export symbol comparison (do not base it only on name)
ebfd032
context remaining symbol reflections support added
f85c6b8
shortcut sub-modules namings by removing parent name from it
d24a418
add all referenceType symbol support
f61becc
upgrade typescript version
fcfc68b
remaining symbols declaration refactoring
cbb97ee
correct file extension problem in FQN generation
3ceae58
test specs alignment on updates
ccfcf4a
tslint
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export { createComment } from './comment'; | ||
export { createDeclaration } from './declaration'; | ||
export { createParameter } from './parameter'; | ||
export { createReferenceType } from './reference'; | ||
export { createReferenceType, createReferenceReflection } from './reference'; | ||
export { createSignature } from './signature'; | ||
export { createTypeParameter } from './type-parameter'; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's correct. If a declaration is not exported, it won't contain the source file path... It seems wrong to me to add it since it might conflict with a FQN created by the TS version. That said, I haven't read through everything yet so there might be a good reason for it that I'm not seeing...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In 2 different files I was having the same named export.
And typescript wasn't providing me a unique identifier (no file path in front)
The result was bad reference link in the documentation.
Here in case the fqn doesn't contain a doc, I prefix it with the file path and it has resolved my problem