create ParserDefinition type

This commit is contained in:
Reda Al Sulais
2023-08-10 22:26:04 +03:00
parent 66b579cd89
commit 980a5ac8b5
3 changed files with 20 additions and 6 deletions

View File

@@ -35,7 +35,12 @@ describe('DiagramAPI', () => {
'loki',
{
db: {},
parser: {},
parser: {
parse: (_text) => {
return;
},
parser: { yy: {} },
},
renderer: {},
styles: {},
},