Skip to content

Simplify typescript recommendations #685

Open
@silverwind

Description

@silverwind

The docs currently seem to recommend adding .d.ts files:

I had success by just adding to compilerOptions.types in tsconfig.json. Maybe that's all that is needed?

  "compilerOptions": {
    "types": [
      "jest-extended",
    ],
  },

In case vitest globals are in use, one can add vitest/globals to that array.

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