dht

Results 5 comments of dht

Perhaps something like that: ```ts import { Reducer, useMemo, useReducer } from 'react'; type Json = Record; type Action = { type: string } & Json; type Middleware = (store:...

Workaround: Use this Javascript script to fix the authors.json file: fix-authors.js ```js const fs = require("fs"); const authors = JSON.parse(fs.readFileSync("./authors.json")); const labels = authors.labels; const output = { ...authors, };...

I had the same issue when the react-draggable was installed in the wrong package in the mono repo. If you're using a mono repo perhaps installing it as a dependency...

@wildwind20001 This means disabling typescript and it means you won't have: - type checking while building - type completion for Draggable's properties (defaultPosition, onStart, etc..). IMHO, it's quite a price...

https://github.com/YousefED/typescript-json-schema/issues/337