Skip to content

Plugin fails to load on Typescript V4.X #22

Description

@djm30

As per title, plugin won't load when on any 4.x version of Typescript. Works fine when using v5.x.

Info 23   [20:10:28.576] Enabling plugin typescript-styled-plugin from candidate paths: /Users/dylan/Code/web/frontend/node_modules/typescript/lib/tsserver.js/../../..,/Users/dylan/.vscode/extensions/svelte.svelte-vscode-108.3.0,/Users/dylan/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.30
Info 24   [20:10:28.576] Loading typescript-styled-plugin from /Users/dylan/Code/web/frontend/node_modules/typescript/lib/tsserver.js/../../.. (resolved to /Users/dylan/Code/web/frontend/node_modules/node_modules)
Info 25   [20:10:28.628] [ts-styled-plugin] config: {"tags":["styled","css","extend","injectGlobal","createGlobalStyle"],"validate":true,"lint":{"emptyRules":"ignore"},"emmet":{}}
Info 26   [20:10:28.628] Plugin activation failed: TypeError: Cannot read properties of undefined (reading 'bind')

Running on Mac OS 14.1 on M1 Pro chip.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions