File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/perf/lib/modular Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ type PerformanceSettings = {
39
39
/**
40
40
* Returns a Performance instance for the given app.
41
41
* @param app - FirebaseApp. Required.
42
- * @param settings - PerformanceSettings. Set "dataCollectionEnabled" which will enable/disable Performance collection.
42
+ * @param settings - Optional PerformanceSettings. Set "dataCollectionEnabled" which will enable/disable Performance collection.
43
43
* @returns {Promise<Performance> }
44
44
*/
45
45
export function initializePerformance (
46
46
app : FirebaseApp ,
47
- settings : PerformanceSettings ,
47
+ settings ? : PerformanceSettings ,
48
48
) : Promise < Performance > ;
49
49
50
50
/**
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export function getPerformance(app) {
42
42
/**
43
43
* Returns a Performance instance for the given app.
44
44
* @param app - FirebaseApp. Required.
45
- * @param settings - PerformanceSettings. Set "dataCollectionEnabled" which will enable/disable Performance collection.
45
+ * @param settings - Optional PerformanceSettings. Set "dataCollectionEnabled" which will enable/disable Performance collection.
46
46
* @returns {Performance }
47
47
*/
48
48
export async function initializePerformance ( app , settings ) {
You can’t perform that action at this time.
0 commit comments