Skip to content
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

Sharing types between the main application and functions #82

Open
ghost opened this issue Jun 30, 2019 · 0 comments
Open

Sharing types between the main application and functions #82

ghost opened this issue Jun 30, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 30, 2019

Once interfaces ( or other entities ) have been defined inside the main application /src/** and imported from within /functions --> import { InterfaceTest } from '../../src/app/path';, where the path resolves to a file within a sibling of /functions, the folder structure of compiled output generated by tsc in the /functions folder changes to reflect the "touched" structure of the imports from /src/app.

Is there a method i'm missing for using types within both projects? Aside from adding more build steps or a type file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants