fix
This commit is contained in:
parent
965d47d57f
commit
572e1b3cc8
|
|
@ -36,7 +36,9 @@ export const initTypings = async (
|
||||||
watch: watch(typings_path),
|
watch: watch(typings_path),
|
||||||
spawn: Bun.spawn({
|
spawn: Bun.spawn({
|
||||||
cmd: [
|
cmd: [
|
||||||
...`tsc --watch --moduleResolution node --emitDeclarationOnly --outFile ../typings.d.ts --declaration --noEmit false`.split(
|
...`${dir.path(
|
||||||
|
"node_modules/tsc"
|
||||||
|
)} --watch --moduleResolution node --emitDeclarationOnly --outFile ../typings.d.ts --declaration --noEmit false`.split(
|
||||||
" "
|
" "
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ declare global {
|
||||||
index: { head: string[]; body: string[]; render: () => string };
|
index: { head: string[]; body: string[]; render: () => string };
|
||||||
prasi: { page_id?: string; params?: Record<string, any> };
|
prasi: { page_id?: string; params?: Record<string, any> };
|
||||||
}) => Promise<Response>;
|
}) => Promise<Response>;
|
||||||
init: (arg: { port?: number }) => Promise<void>;
|
init?: (arg: { port?: number }) => Promise<void>;
|
||||||
};
|
};
|
||||||
|
|
||||||
type IItem = {
|
type IItem = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue