-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
Description
Describe the bug
When building a React application with the new 11.1.1 client, the following issue occurs:
node_modules/@terminusdb/terminusdb-client/dist/typescript/lib/query/woqlDoc.d.ts:44:16 - error TS1005: '(' expected.
44 constructor: typeof VarUnique;
To Reproduce
Build a react application with the new VarUnique function in Typescript
Expected behavior
There should not be an issue building.
Error logs
The typescript woqlDoc.d.ts gives an error '(' expected.ts(1005) at the : after constructor.
export class VarUnique {
/**
* @param {string} name The variable name
* @returns
*/
constructor(name: string);
name: string;
json: () => {
'@type': string;
variable: string;
};
constructor: typeof VarUnique;
}