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

style imports added to the result *.d.ts files #17

Open
pinggi opened this issue Feb 22, 2022 · 0 comments
Open

style imports added to the result *.d.ts files #17

pinggi opened this issue Feb 22, 2022 · 0 comments

Comments

@pinggi
Copy link

pinggi commented Feb 22, 2022

My component files contain sass imports. When I generate the type files for the exposed components, the declaration modules contain the style imports. The style imports is something that should not be there right?

declare module "ui/Component" {
    import { HTMLAttributes } from 'react';
    import './Component.scss';                        <---
    export interface Component {
        name: string;
        ...
@pinggi pinggi changed the title style imports added to the result *.d.ts file style imports added to the result *.d.ts files Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant