Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure all deprecated symbols are annotated #227

Merged
merged 1 commit into from May 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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';