We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43e07f0 commit 90342d8Copy full SHA for 90342d8
1 file changed
src/lwrjs-api.d.ts
@@ -0,0 +1,23 @@
1
+/*
2
+ * Copyright (c) 2023, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * Licensed under the BSD 3-Clause license.
5
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
+ */
7
+
8
+declare module '@lwrjs/api' {
9
+ export type SitesLocalDevOptions = {
10
+ sfCLI?: boolean;
11
+ authToken?: string;
12
+ open?: boolean;
13
+ port?: number;
14
+ logLevel?: string;
15
+ mode?: string;
16
+ siteZip?: string;
17
+ siteDir?: string;
18
+ };
19
20
+ export function expDev(options: SitesLocalDevOptions): Promise<void>;
21
+ export function setupDev(options: SitesLocalDevOptions): Promise<void>;
22
+ export function cmpDev(options: Record<string, unknown>): Promise<void>;
23
+}
0 commit comments