Skip to content

Commit

Permalink
feat!: remove deprecated options.cssClass param from stringify()
Browse files Browse the repository at this point in the history
  • Loading branch information
hegemonic committed Dec 30, 2024
1 parent 46d8fab commit 0845d44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ enabled, throws an error if the stringified type expression cannot be parsed.

+ `parsedType`: An object containing a parsed Closure Compiler type expression.
+ `options`: Options for stringifying the parse results.
+ `options.cssClass`: Synonym for `options.linkClass`. Deprecated in version
0.8.0; will be removed in a future version.
+ `options.htmlSafe`: Specifies whether to return an HTML-safe string that
replaces angle brackets (`<` and `>`) with HTML entities. **Note**:
Characters in name expressions are not escaped.
Expand Down
1 change: 0 additions & 1 deletion lib/stringify.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ function combineNameAndType(nameString, typeString) {
class Stringifier {
constructor(options) {
this._options = options || {};
this._options.linkClass = this._options.linkClass || this._options.cssClass;
}

applications(applications) {
Expand Down

0 comments on commit 0845d44

Please sign in to comment.