react-draggable icon indicating copy to clipboard operation
react-draggable copied to clipboard

ts: allow paths override

Open aovchinn opened this issue 3 years ago • 0 comments
trafficstars

if tsconfig .paths alias used, tsc produces an error

"paths": {
    "alias-reactDraggable": ["./node_modules/react-draggable"]
}
test.tsx:4:40 - error TS2306: File '../react-draggable/typings/index.d.ts' is not a module.

repo with example: https://github.com/aovchinn/react-draggable-ts-alias

aovchinn avatar Jan 25 '22 14:01 aovchinn