Skip to content

Commit

Permalink
Add deprecation docs for deprecated modules
Browse files Browse the repository at this point in the history
(cherry picked from commit 15d17b5)
  • Loading branch information
wagenet authored and kategengler committed Mar 13, 2023
1 parent f2642a4 commit 674bd7f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/@ember/error/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 4 additions & 0 deletions packages/@ember/string/index.ts
Original file line number Diff line number Diff line change
@@ -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
*/

Expand Down

0 comments on commit 674bd7f

Please sign in to comment.