You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And use it for example here: private client: graphDbRepository.RDFRepositoryClient;
Now after the upgrade, we get the error:
TS2724:
"/home/marcus/Projects/aicosy/node_modules/graphdb/lib/index".repository
has no exported member named RDFRepositoryClient. Did you mean BaseRepositoryClient?
Probably this is related to the changed type generation here: commit
The export in the library code looks like this:
export namespace repository {
let RepositoryClientConfig: typeof import("./repository/repository-client-config");
let BaseRepositoryClient: typeof import("./repository/base-repository-client");
let RDFRepositoryClient: typeof import("./repository/rdf-repository-client");
let StatementPayload: typeof import("./repository/statement-payload");
let AddStatementPayload: typeof import("./repository/add-statement-payload");
let GetStatementsPayload: typeof import("./repository/get-statements-payload");
let RepositoryType: {
SE: string;
MASTER: string;
WORKER: string;
FREE: string;
ONTOP: string;
GRAPHDB: string;
};
let RepositoryConfig: typeof import("./repository/repository-config");
}
So no member of the namespace is exported.
The text was updated successfully, but these errors were encountered:
Same issue using 3.0.3 and 3.0.4: While the constructors are available, the types can not be found. Both IDE (VSCode) and @nx/webpack build give me an error that the import can not be found.
Right now it is ok for us to get the type from the constructor's prototype... type RDFRepositoryClient = typeof graphDbRepository.RDFRepositoryClient.prototype;
...but of course it would be nicer to have the actual type import from the library.
3.0.2
20.11.0
We have an import like this:
And use it for example here:
private client: graphDbRepository.RDFRepositoryClient;
Now after the upgrade, we get the error:
Probably this is related to the changed type generation here: commit
The export in the library code looks like this:
So no member of the namespace is exported.
The text was updated successfully, but these errors were encountered: