)?
You shouldn’t have to, but you may also try listing any additional files in the
files
section of ts config.json.
s
shy-finland-77998
12/22/2018, 8:39 PM
i didn’t import it because my assumption is I shouldn’t have to. BUT I will do it just to capture the result…see what happens.
w
white-balloon-205
12/22/2018, 8:40 PM
For Node.js in general, you need to import modules for them to get loaded.
s
shy-finland-77998
12/22/2018, 8:41 PM
yeh but for TS stuff liek interfaces and such, if they’re in a separate file…they still get picked up by the TS compiler. Which they are if I run the compiler by itself using my config.
shy-finland-77998
12/22/2018, 8:44 PM
ok. well. that does fix that particular problem when running
pulumi
shy-finland-77998
12/22/2018, 8:44 PM
so that works. 👍
w
white-balloon-205
12/22/2018, 8:45 PM
That’s true. For the auto-TypeScript support we use tsnode, which compiles files as it loads.
Great that that works for you.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.