Closed vasicvuk closed 11 months ago
If using NPM package @microsoft/fast-element with Esmodule i cannot import additional features that are not exported as part of index.js.
@microsoft/fast-element
index.js
Example:
import { twoWay } from "@microsoft/fast-element/binding/two-way.js";
gives me Cannot find module '@microsoft/fast-element/binding/two-way.js' or its corresponding type declarations.
Cannot find module '@microsoft/fast-element/binding/two-way.js' or its corresponding type declarations.
The import should work
It seems that only root import is possible which does not have all the needed functionalities.
Browser: Microsoft Edge Environment: VS Code Version: 2.0.0-beta.26
I had to change tsconfig configuration to get this working. Closing
What exactly were your changes? 😄
🐛 Bug Report
If using NPM package
@microsoft/fast-element
with Esmodule i cannot import additional features that are not exported as part ofindex.js
.Example:
gives me
Cannot find module '@microsoft/fast-element/binding/two-way.js' or its corresponding type declarations.
🤔 Expected Behavior
The import should work
😯 Current Behavior
It seems that only root import is possible which does not have all the needed functionalities.
🌍 Your Environment
Browser: Microsoft Edge Environment: VS Code Version: 2.0.0-beta.26