minus-squareUserFlairOptional@lemmynsfw.comtoJavaScript@programming.dev•Help me understand module system in ESlinkfedilinkEnglisharrow-up3·11 months agoIn all seriousness, this is a fine scenario for AI guided learning. I gave Bing Copilot your question, and the response was very helpful. Here’s the trick though: // In 'firereact/firestore/index.ts' export { useDocument } from './useDocument'; and: // In 'tsconfig.json' { "compilerOptions": { // ... }, "exclude": ["**/*.test.ts", "**/*.spec.ts", "path/to/firebase.ts"] } linkfedilink
In all seriousness, this is a fine scenario for AI guided learning. I gave Bing Copilot your question, and the response was very helpful.
Here’s the trick though:
// In 'firereact/firestore/index.ts' export { useDocument } from './useDocument';
and:
// In 'tsconfig.json' { "compilerOptions": { // ... }, "exclude": ["**/*.test.ts", "**/*.spec.ts", "path/to/firebase.ts"] }