add & deprecate old markdownSummary export

This commit is contained in:
Rob Herley authored and GitHub committed 2022-05-05 19:44:13 +00:00
1 parent c0b27a0570
commit 8b902d5a64
2 files changed
+12 -2

No files matched your search

+5
View File
@@ -364,3 +364,8 @@ export async function getIDToken(aud?: string): Promise<string> {
* Summary exports
*/
export {summary} from './summary'
/**
* @deprecated use core.summary
*/
export {markdownSummary} from './summary'
+7 -2
View File
@@ -354,5 +354,10 @@ class Summary {
}
}
// singleton export
export const summary = new Summary()
const _summary = new Summary()
/**
* @deprecated use `core.summary`
*/
export const markdownSummary = _summary
export const summary = _summary