Skip to content

Commit

Permalink
fix(types) bug in d.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman committed Aug 22, 2023
1 parent 97b4249 commit d3764de
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accordproject/template-engine",
"version": "2.3.3",
"version": "2.3.4",
"description": "Generation of AgreementMark from TemplateMark + JSON Data",
"homepage": "https://github.com/accordproject",
"engines": {
Expand All @@ -25,26 +25,26 @@
"coverage": "jest --coverage",
"compile-js": "jest ./test/TypeScriptCompiler.test.ts",
"test:watch": "jest --watchAll",
"updateRuntimeDependencies": "node ./scripts/updateRuntimeDependencies",
"updateCompiledTemplates": "rm -rf ./test/compiled-templates/ && mkdir ./test/compiled-templates/ && cp -r ./output/full ./test/compiled-templates/ "
"updateRuntimeDependencies": "node ./scripts/updateRuntimeDependencies"
},
"repository": {
"type": "git",
"url": "https://github.com/accordproject/template-engine.git"
},
"keywords": [
"concerto",
"tools",
"modeling"
"template",
"engine",
"templatemark"
],
"author": "accordproject.org",
"license": "Apache-2.0",
"dependencies": {
"@accordproject/concerto-codegen": "3.15.2",
"@accordproject/concerto-codegen": "^3.15.2",
"@accordproject/concerto-core": "^3.11.1",
"@accordproject/concerto-util": "^3.11.1",
"@accordproject/markdown-common": "0.16.19",
"@accordproject/markdown-template": "0.16.19",
"@accordproject/markdown-common": "^0.16.19",
"@accordproject/markdown-template": "^0.16.19",
"@typescript/twoslash": "^3.2.1",
"dayjs": "1.11.7",
"jsonpath": "^1.1.1",
Expand All @@ -53,8 +53,8 @@
"typescript": "^4.6.3"
},
"devDependencies": {
"@accordproject/markdown-html": "0.16.19",
"@accordproject/markdown-template": "0.16.19",
"@accordproject/markdown-html": "^0.16.19",
"@accordproject/markdown-template": "^0.16.19",
"@types/jest": "^28.1.1",
"@types/jsonpath": "^0.2.0",
"@types/semver": "7.3.10",
Expand Down
2 changes: 1 addition & 1 deletion src/TemplateMarkInterpreter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export class TemplateMarkInterpreter {
return compiler.compile(templateMark);
}

validateCiceroMark(ciceroMark: object) {
validateCiceroMark(ciceroMark: object) : object {
const modelManager = new ModelManager({ strict: true });
modelManager.addCTOModel(ConcertoMetaModel.MODEL, 'concertometamodel.cto');
modelManager.addCTOModel(CommonMarkModel.MODEL, 'commonmark.cto');
Expand Down

0 comments on commit d3764de

Please sign in to comment.