Skip to content

Commit

Permalink
fix(core): Another fix to JSDoc
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Mar 15, 2022
1 parent f2e6ac8 commit 688fe74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/concerto-core/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class ModelLoader {
}
class ModelManager extends BaseModelManager {
+ void constructor(object?)
+ Object addCTOModel(string,string,boolean?) throws IllegalModelException
+ Object addCTOModel(string,string?,boolean?) throws IllegalModelException
}
class SecurityException extends BaseException {
+ void constructor(string)
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-core/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Note that the latest public API is documented using JSDocs and is available in api.txt.
#

Version 1.2.2 {0bd210dc69b3813e8724353b1c355efc} 2021-11-24
Version 1.2.2 {ee5fa0479fe2720d720ac500b1b3ead8} 2021-11-24
- Remove custom instanceof and add methods to check runtime type
- Remove support for Node 12
- Generate Typescript definitions from JSDoc
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-core/lib/modelmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ModelManager extends BaseModelManager {
* Adds a model in CTO format to the ModelManager.
* This is a convenience function equivalent to `addModel` but useful since it avoids having to copy the input CTO.
* @param {string} cto - a cto string
* @param {string} fileName - an optional file name to associate with the model file
* @param {string} [fileName] - an optional file name to associate with the model file
* @param {boolean} [disableValidation] - If true then the model files are not validated
* @throws {IllegalModelException}
* @return {Object} The newly added model file (internal).
Expand Down

0 comments on commit 688fe74

Please sign in to comment.