Skip to content

Commit 0ef399a

Browse files
committed
fix: update TypeScript declaration for @lwrjs/api
1 parent 8a811e7 commit 0ef399a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/lwrjs-api.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,17 @@
77

88
/* eslint-disable */
99
declare module '@lwrjs/api' {
10-
export * from '@lwrjs/api/build/es/index.js';
10+
export interface SitesLocalDevOptions {
11+
sfCLI: boolean;
12+
authToken: string;
13+
open: boolean;
14+
port: number;
15+
logLevel: string;
16+
mode: string;
17+
siteZip?: string;
18+
siteDir: string;
19+
}
20+
21+
export function expDev(options: SitesLocalDevOptions): Promise<void>;
22+
export function setupDev(options: SitesLocalDevOptions): Promise<void>;
1123
}

0 commit comments

Comments
 (0)