Classes that aren't exposed can still be returned by and then passed to methods, but as these classes aren't exposed Candle doesn't declare them. Surprisingly, not declaring a class doesn't actually seem to cause any issues with intellisense (it still recognises it as a distinct type) but it raises some warnings with type annotations:
To resolve this all classes should have a declaration, or at least all classes that can be returned by a method.
Classes that aren't exposed can still be returned by and then passed to methods, but as these classes aren't exposed Candle doesn't declare them. Surprisingly, not declaring a class doesn't actually seem to cause any issues with intellisense (it still recognises it as a distinct type) but it raises some warnings with type annotations: To resolve this all classes should have a declaration, or at least all classes that can be returned by a method.