1
0
Fork 0

add & deprecate old markdownSummary export

pull/1073/head
Rob Herley 2022-05-05 19:44:13 +00:00 committed by GitHub
parent 01aceeaad6
commit 07242b37a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

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'

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