Skip to content

Use typescript DOM lib only in appropriate packages, reorganize tsconfigs #167

Description

@mrkvon

This is a follow-up improvement of #134.

We have added lib: ["ES2021, "DOM"] in tsconfig.base.json (previously brought by cross-fetch).

However, many LDO packages are browser-independent. We should only use DOM types in the packages which rely on browser environment. Start addressing this by removing DOM from tsconfig lib, then add it only where appropriate. This may also require reorganization of tsconfigs so they apply to their respective packages and only to them.

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