Skip to content

ts__default$1.default.isTypeAssertionExpression is not a function (ts) #685

@mejgun

Description

@mejgun

Describe the bug
after update to 1.1.15 svelte-check returns error on each svelte component

<component>.svelte:NaN:1
Error: ts__default$1.default.isTypeAssertionExpression is not a function (ts)

project builds and works ok, vscode shows no error

To Reproduce
npm upgrade && npx svelte-check

System (please complete the following information):

  • OS: Linux
  • IDE: VSCode
  • Plugin/Package: svelte+TS

Additional context

  "devDependencies": {
    "@rollup/plugin-commonjs": "^14.0.0",
    "@rollup/plugin-node-resolve": "^8.0.0",
    "@rollup/plugin-typescript": "^6.1.0",
    "@tsconfig/svelte": "^1.0.0",
    "rollup": "^2.33.3",
    "rollup-plugin-livereload": "^2.0.0",
    "rollup-plugin-svelte": "^6.1.1",
    "rollup-plugin-terser": "^7.0.0",
    "svelte": "^3.29.7",
    "svelte-check": "^1.1.15",
    "svelte-preprocess": "^4.6.1",
    "tslib": "^2.0.3",
    "typescript": "^3.9.7"
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions