We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bea589 commit 6929b12Copy full SHA for 6929b12
1 file changed
src/utils/StructuredData.ts
@@ -108,6 +108,7 @@ export class StructuredData< T = any, R = MetricRaw > {
108
*
109
* @param {any} results - The raw metric results
110
* @returns {IndexedResult< R >[]} - Normalized results with indices
111
+ * @throws {TypeError} - If results format is unsupported
112
*/
113
private normalizeResults ( results: CmpFnResult< R > ) : IndexedResult< R >[] {
114
if ( ! Array.isArray( results ) || results.length === 0 ) return [];
0 commit comments