Skip to content

Commit cbfa5fd

Browse files
committed
fix(core): Another fix to JSDoc
Signed-off-by: Jerome Simeon <[email protected]>
1 parent 8d7fe16 commit cbfa5fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/concerto-core/api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class ModelLoader {
227227
}
228228
class ModelManager extends BaseModelManager {
229229
+ void constructor(object?)
230-
+ Object addCTOModel(string,string,boolean?) throws IllegalModelException
230+
+ Object addCTOModel(string,string?,boolean?) throws IllegalModelException
231231
}
232232
class SecurityException extends BaseException {
233233
+ void constructor(string)

packages/concerto-core/changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# Note that the latest public API is documented using JSDocs and is available in api.txt.
2525
#
2626

27-
Version 1.2.2 {0bd210dc69b3813e8724353b1c355efc} 2021-11-24
27+
Version 1.2.2 {ee5fa0479fe2720d720ac500b1b3ead8} 2021-11-24
2828
- Remove custom instanceof and add methods to check runtime type
2929
- Remove support for Node 12
3030
- Generate Typescript definitions from JSDoc

packages/concerto-core/lib/modelmanager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class ModelManager extends BaseModelManager {
5656
* Adds a model in CTO format to the ModelManager.
5757
* This is a convenience function equivalent to `addModel` but useful since it avoids having to copy the input CTO.
5858
* @param {string} cto - a cto string
59-
* @param {string} fileName - an optional file name to associate with the model file
59+
* @param {string} [fileName] - an optional file name to associate with the model file
6060
* @param {boolean} [disableValidation] - If true then the model files are not validated
6161
* @throws {IllegalModelException}
6262
* @return {Object} The newly added model file (internal).

0 commit comments

Comments
 (0)