mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 21:26:08 +01:00
feat: some more docs
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user