Replies: 1 comment 1 reply
-
|
I don't use Typescript so I can't really help but there's an example here that might help |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm just getting started with WatermelonDB+typescript, and I'm running into some problems; I wonder if I need to configure my tsconfig differently?
model/Thing.ts:tsconfig.json:{ "compilerOptions": { "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx" }, "include": ["src", "model"] }This is the error I'm getting:
Cheers
Beta Was this translation helpful? Give feedback.
All reactions