From 674bd7f8678453aff1b9e37e2963246adadf388b Mon Sep 17 00:00:00 2001 From: Peter Wagenet Date: Fri, 3 Mar 2023 11:24:38 -0800 Subject: [PATCH] Add deprecation docs for deprecated modules (cherry picked from commit 15d17b5bb66aec1d84c4a8d495ff8e7667b1f1d6) --- packages/@ember/error/index.ts | 6 +++++- packages/@ember/string/index.ts | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/@ember/error/index.ts b/packages/@ember/error/index.ts index cee6dede8e3..4138449b191 100644 --- a/packages/@ember/error/index.ts +++ b/packages/@ember/error/index.ts @@ -2,7 +2,11 @@ import { deprecate } from '@ember/debug'; import { DEBUG } from '@glimmer/env'; /** - @module @ember/error +This module is deprecated and should not be used. +See [the deprecations guide](https://deprecations.emberjs.com/v4.x#toc_deprecate-ember-error) +for more details. + +@module @ember/error */ /** ErrorConstructor without node extensions */ diff --git a/packages/@ember/string/index.ts b/packages/@ember/string/index.ts index ec975da09c9..948945abd3b 100644 --- a/packages/@ember/string/index.ts +++ b/packages/@ember/string/index.ts @@ -1,4 +1,8 @@ /** +This module is deprecated and should not be used. +See [the deprecations guide](https://deprecations.emberjs.com/v4.x#toc_ember-string-from-ember-module) +for more details. + @module @ember/string */