Skip to content

Better way to add the { analytics } prop type to NextPage? #52

@omarryhan

Description

@omarryhan

Thanks for the awesome package!

Minor question. Is there a way to make TS infer the extra { analytics } prop without importing my custom _App props in every page?

Also, is there a specific reason why the Readme.md is in JS and not TS? I can help add TS code instructions if you're open to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions