fix
This commit is contained in:
parent
965d47d57f
commit
572e1b3cc8
|
|
@ -36,7 +36,9 @@ export const initTypings = async (
|
|||
watch: watch(typings_path),
|
||||
spawn: Bun.spawn({
|
||||
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 };
|
||||
prasi: { page_id?: string; params?: Record<string, any> };
|
||||
}) => Promise<Response>;
|
||||
init: (arg: { port?: number }) => Promise<void>;
|
||||
init?: (arg: { port?: number }) => Promise<void>;
|
||||
};
|
||||
|
||||
type IItem = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue