Closed mwawrusch closed 2 months ago
Posted in the wrong repo, sorry, should be libHalo.
Hi, I am having problems importing libhalo because of missing types. We are using a standard turbo monorep with vercel based configs.
Workaround for now seems to be
declare module '*';
in a libhalo.d.ts file.
This is the vercel standard React Library tsconfig that we use:
{ "$schema": "https://json.schemastore.org/tsconfig", "display": "React Library", "extends": "./base.json", "compilerOptions": { "jsx": "react-jsx", "lib": ["ES2015", "DOM"], "module": "ESNext", "target": "es6" } }
base
{ "$schema": "https://json.schemastore.org/tsconfig", "display": "Default", "compilerOptions": { "composite": false, "declaration": true, "declarationMap": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "inlineSources": false, "isolatedModules": true, "moduleResolution": "node", "noUnusedLocals": false, "noUnusedParameters": false, "preserveWatchOutput": true, "skipLibCheck": true, "strict": true, "strictNullChecks": true }, "exclude": ["node_modules"] }
Hello, thanks for your report. The libhalo version 1.5.0 was now released, with the full TypeScript support. We also plan to enhance typing support in further versions.
Posted in the wrong repo, sorry, should be libHalo.
Hi, I am having problems importing libhalo because of missing types. We are using a standard turbo monorep with vercel based configs.
Workaround for now seems to be
in a libhalo.d.ts file.
This is the vercel standard React Library tsconfig that we use:
base