Closed dminkovsky closed 3 years ago
Actually here is a very minimal version that works with my exact tsconfig: https://codesandbox.io/s/restless-wood-r53v1?file=/src/index.tsx. Closing this issue, but if anyone has any ideas I would really appreciate it :) Thank you.
Describe the bug I see that definitions.ts extends
PluginRegister
:However, for some reason, when I import this module and then
import {Plugins} from @capacitor/core
,Plugins.FacebookLogin
isany
.Do you have any debugging advice? Here is my tsconfig:
You can see I tried adding it explicitly to
includes
, but no luck. Generally, though, adding it toinclude
is only necessary if it's not being explicitlyimport
ed, at least that is my understanding and has been working for me. Am I missing something?Thanks a lot for this module.
To Reproduce No reproduction, just seeking troubleshooting advice if anything comes to mind. Please close this issue if nothing comes to mind.
Expected behavior When I import the module, types should be read by the TypeScript compiler.
Screenshots N/A
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.