UNPKG

1.34 kBPlain TextView Raw
1/*
2 * Copyright 2022 Google LLC
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17export {
18 /**
19 * @deprecated Use `onCLS()` instead.
20 */
21 onCLS as getCLS,
22} from './onCLS.js';
23
24export {
25 /**
26 * @deprecated Use `onFCP()` instead.
27 */
28 onFCP as getFCP,
29} from './onFCP.js';
30
31export {
32 /**
33 * @deprecated Use `onFID()` instead.
34 */
35 onFID as getFID,
36} from './onFID.js';
37
38export {
39 /**
40 * @deprecated Use `onINP()` instead.
41 */
42 onINP as getINP,
43} from './onINP.js';
44
45export {
46 /**
47 * @deprecated Use `onLCP()` instead.
48 */
49 onLCP as getLCP,
50} from './onLCP.js';
51
52export {
53 /**
54 * @deprecated Use `onTTFB()` instead.
55 */
56 onTTFB as getTTFB,
57} from './onTTFB.js';
58
59export {
60 /**
61 * @deprecated Use `ReportCallback` instead.
62 */
63 ReportCallback as ReportHandler,
64} from './types.js';