Hi, I'm sure this is an obvious question but how d...
# general
b
Hi, I'm sure this is an obvious question but how do I use multiple typescript files for my program. I get if you have a separate cluster.ts file and if resources in the index.ts have a dependancy on it, then it gets deployed first. But if there is no dependancy from index.ts, how can I reference it? For example I want cert-manager.ts file alongside index.ts. How do I invoke cert-manager.ts?
t
You should be able to
import "./cert-manager";
from your
index.ts
and get it running.
b
ah yes how obvious 🙂. I was trying to do 'import * as <string> from "./cert-manager" and it wasn't working. Thanks