@@ -358,6 +358,8 @@ export class CommentPlugin extends ConverterComponent {
358
358
* @param tagName The name of the that that should be removed.
359
359
*/
360
360
static removeTags ( comment : Comment | undefined , tagName : string ) {
361
+ // Can't use a logger here, we don't have one.
362
+ console . warn ( 'Using deprecated function removeTags. This function will be removed in the next minor release.' ) ;
361
363
comment ?. removeTags ( tagName ) ;
362
364
}
363
365
@@ -367,6 +369,8 @@ export class CommentPlugin extends ConverterComponent {
367
369
* Warn in 0.17, remove in 0.18
368
370
*/
369
371
static removeReflections ( project : ProjectReflection , reflections : Reflection [ ] ) {
372
+ // Can't use a logger here, we don't have one.
373
+ console . warn ( 'Using deprecated function removeReflections. This function will be removed in the next minor release.' ) ;
370
374
for ( const reflection of reflections ) {
371
375
project . removeReflection ( reflection , true ) ;
372
376
}
@@ -378,6 +382,8 @@ export class CommentPlugin extends ConverterComponent {
378
382
* Warn in 0.17, remove in 0.18
379
383
*/
380
384
static removeReflection ( project : ProjectReflection , reflection : Reflection ) {
385
+ // Can't use a logger here, we don't have one.
386
+ console . warn ( 'Using deprecated function removeReflections. This function will be removed in the next minor release.' ) ;
381
387
project . removeReflection ( reflection , true ) ;
382
388
}
383
389
0 commit comments