Coder Social home page Coder Social logo

Comments (4)

ryanrain avatar ryanrain commented on May 28, 2024

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.

gsambrotta avatar gsambrotta commented on May 28, 2024

Me too! Same as @ryanrain

from interact.js.

taye avatar taye commented on May 28, 2024

Can you share a minimal repo that reproduces this error?

from interact.js.

codluca avatar codluca commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.