Skip to content

typescript ^5.0.0 should be included in peerDependencies or direct dependencies #11915

@woss

Description

@woss

Describe the problem

the tweak_types method will try to get the 4 new methods that are available in the TS 4.8.0+ https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-8.html and fail without the error code. This is OK since this will not spam the user output, unfortunately, many people ended up wondering why the types are not created from the load functions and this is not written anywhere.

Furthermore, the typescript that is imported in the ts.js will fail to load the local typescript when in the workspace (monorepo).

Describe the proposed solution

add the peerDependency to the minimum of 4.8.0 so the package managers correctly install it with the sveltekit

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions