This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Prefer direct exports over "declare module" #90
Comments
ghost
mentioned this issue
Dec 13, 2017
@jrieken fyi not sure if this could be done from the vscode.d.ts we have in our repo in VSCode or we would have to massage the d.ts when downloading for this module. |
I believe not, esp. because we have the |
Yeah, if you have two different versions of the same thing I guess you'll have to use an ambient module in at least one of them. |
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Jan 15, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Jan 16, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Jan 19, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Jan 23, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Jan 29, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Jan 30, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Feb 1, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Feb 2, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
guw
added a commit
to forcedotcom/salesforcedx-vscode
that referenced
this issue
Feb 5, 2018
Workaround for TypeScript duplicate identifier errors when using npm link/lerna More info: microsoft/TypeScript#6496 Root cause: microsoft/vscode-extension-vscode#90 Discussion: https://stackoverflow.com/questions/48221762/error-compiling-vs-code-extension-with-dependency-on-another-extension
I am closing this as I see no actionable item for the vscode module. Since the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently the type definitions are written like:
But they could be written like:
The latter is the style we recommend on DefinitelyTyped. The difference is that it makes the file into an external module that is imported based on its path, rather than an ambient declaration that can be imported from anywhere.
The text was updated successfully, but these errors were encountered: