Currently, I am using TypeScript for a personal project and attempting to import a function from a library called Solid Client JS.
The issue arises when I only include the following line in my single `file.ts`:
import { getFile } from '@inrupt/solid-client";
Without anything else added, upon running "tsc", it throws the following error:
❯ tsc
node_modules/@inrupt/solid-client/dist/rdf.internal.d.ts:24:10 - error TS2305: Module '"./datatypes"' has no exported member 'XmlSchemaTypeIri'.
24 import { XmlSchemaTypeIri } from "./datatypes";
~~~~~~~~~~~~~~~~
Found 1 error.
After analyzing, I suspect this error might be due to the configuration in my `tsconfig.json`, which is as follows:
{
"compilerOptions": {
"module": "commonjs",
"target": "es2015",
"declaration": true,
"outDir": "./dist",
"baseUrl": ".",
},
"include": [
"src/**/*"
]
}
Has anyone encountered this same issue before?