feat: some more docs

This commit is contained in:
TrèsAbhi committed 2026-03-20 19:13:37 -05:00
1 parent 5feec9bf1e
commit 551108e047
8 files changed
+45 -7

No files matched your search

@@ -29,12 +29,11 @@ interface Props {
const { value, locale } = Astro.props;
const strings = await api.strings(locale);
const lang = "ts";
const roots = ["src/protos", "../closed/protos"];
const lang = "ts";
const name = "Avatar";
const path = resolve(`${roots[0]}/${value}.ts`);
const [route, name] = value.split(".");
const path = resolve(`${roots[0]}/${route}.ts`);
const program = createProgram([path], {});
const source = program.getSourceFile(path);