Skip to content

Commit

Permalink
Ensure all deprecated symbols are annotated
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed May 11, 2022
1 parent 4a3465f commit 2865240
Showing 1 changed file with 48 additions and 6 deletions.
54 changes: 48 additions & 6 deletions src/deprecated.ts
Expand Up @@ -14,9 +14,51 @@
* limitations under the License.
*/

export {onCLS as getCLS} from './onCLS.js';
export {onFCP as getFCP} from './onFCP.js';
export {onFID as getFID} from './onFID.js';
export {onINP as getINP} from './onINP.js';
export {onLCP as getLCP} from './onLCP.js';
export {onTTFB as getTTFB} from './onTTFB.js';
export {
/**
* @deprecated Use `onCLS()` instead.
*/
onCLS as getCLS,
} from './onCLS.js';

export {
/**
* @deprecated Use `onFCP()` instead.
*/
onFCP as getFCP,
} from './onFCP.js';

export {
/**
* @deprecated Use `onFID()` instead.
*/
onFID as getFID,
} from './onFID.js';

export {
/**
* @deprecated Use `onINP()` instead.
*/
onINP as getINP,
} from './onINP.js';

export {
/**
* @deprecated Use `onLCP()` instead.
*/
onLCP as getLCP,
} from './onLCP.js';

export {
/**
* @deprecated Use `onTTFB()` instead.
*/
onTTFB as getTTFB,
} from './onTTFB.js';

export {
/**
* @deprecated Use `ReportCallback` instead.
*/
ReportCallback as ReportHandler,
} from './types.js';

0 comments on commit 2865240

Please sign in to comment.