Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename exported color.d.ts and react-types.d.ts types #3084

Open
mimarz opened this issue Feb 3, 2025 · 0 comments
Open

Rename exported color.d.ts and react-types.d.ts types #3084

mimarz opened this issue Feb 3, 2025 · 0 comments
Labels
cli @digdir/designsystemet react @digdir/designsystemet-react

Comments

@mimarz
Copy link
Collaborator

mimarz commented Feb 3, 2025

Rename this to names without d.ts as is most common in libraries that export types you can use in your tsconfig.

Investigate possible naming conventions and update docs.

Examples from other packages:

    "types": [
      "@testing-library/jest-dom",
      "vitest/globals",
    ]
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@mimarz mimarz moved this to 🔵 Inbox in Team Design System Feb 3, 2025
@mimarz mimarz added react @digdir/designsystemet-react cli @digdir/designsystemet labels Feb 3, 2025
@mimarz mimarz added this to the V1 - Lansering milestone Feb 3, 2025
@mimarz mimarz moved this from 🔵 Inbox to 📄 Todo in Team Design System Feb 3, 2025
@mimarz mimarz changed the title Rename exported color.d.ts and react-types.d.ts types Rename exported color.d.ts and react-types.d.ts types Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli @digdir/designsystemet react @digdir/designsystemet-react
Projects
Status: 📄 Todo
Development

No branches or pull requests

1 participant