Comments (4)
I'm seeing this too.
"typescript": "~5.2.2"
Thank you for all your work!
Compiled with problems:
×
ERROR
node_modules/@interactjs/types/index.d.ts:324:18 - error TS2428: All declarations of 'BaseEvent' must have identical type parameters.
324 export class BaseEvent<T extends ActionName | null = never> {
~~~~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:343:22 - error TS2428: All declarations of 'BaseEvent' must have identical type parameters.
343 export interface BaseEvent<T extends ActionName> {
~~~~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:712:94 - error TS2344: Type '"interactable" | "element" | "prepared" | "pointerIsDown" | "pointerWasMoved" | "_proxy" | "start" | "move" | "end" | "stop" | "interacting" | "offsetBy"' does not satisfy the constraint 'keyof Interaction<T>'.
Type '"_proxy"' is not assignable to type 'keyof Interaction<T>'.
712 export type InteractionProxy<T extends ActionName | null = never> = Pick<Interaction<T>, keyof typeof _ProxyValues | keyof typeof _ProxyMethods>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:727:30 - error TS2339: Property 'fire' does not exist on type 'Scope'.
727 scopeFire: Scope['fire'];
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:915:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
915 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:977:26 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
977 import type { Scope, Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1091:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1091 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1193:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1193 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1360:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1360 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1435:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1435 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1562:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1562 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1746:26 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1746 import type { Scope, Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1821:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1821 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1854:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1854 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:1966:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
1966 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:2170:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
2170 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:2212:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
2212 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:2234:31 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
2234 import type { SignalArgs, Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:2435:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
2435 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:2932:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
2932 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:2974:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
2974 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:3045:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
3045 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:3066:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
3066 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:3077:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
3077 import type { Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:3087:26 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
3087 import type { Scope, Plugin } from "@interactjs/core/scope";
~~~~~~
ERROR
node_modules/@interactjs/types/index.d.ts:3200:19 - error TS2305: Module '"@interactjs/core/scope"' has no exported member 'Plugin'.
3200 export type { Plugin } from "@interactjs/core/scope";
~~~~~~
from interact.js.
Me too! Same as @ryanrain
from interact.js.
Can you share a minimal repo that reproduces this error?
from interact.js.
Here is a sample project with Stencil: https://github.com/codluca/stencil-interact-upgrade-test
Try:
npm install
npm run build
from interact.js.
Related Issues (20)
- @Interacrt/Interact cannot trigger the move event
- draggable and gesturable div, behavior lock with inertia
- Issue with Module Parsing in Project Using react-multi-crops HOT 3
- Vite production builds fail after v1.10.25
- Resize modifier - wrong types HOT 1
- Gestures not working in ShadowDom
- Incompatible with Angular (v17) HOT 3
- New Snap syntax not working HOT 1
- Can't drag element when wrap drag item inside div HOT 1
- Restricting a drag with parent as origin. HOT 4
- Set snap on or off by user
- Demo Page down (https://interactjs.io/) HOT 1
- Is there a way to set the z-index of dropactive?
- interactjs.io is down
- mouseButtons typescript type definitions
- Web server is down (interactjs.io) HOT 1
- The draggable element hide or change its position when I resize the chrome window
- How do I get a native dataTransfer? To setDragImage, or there's another way?
- Dropzone doesn't respect Autoscroll's scroll when the container option is set and the window doesn't scroll with the container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interact.js.