Skip to content
This repository was archived by the owner on Nov 26, 2018. It is now read-only.
This repository was archived by the owner on Nov 26, 2018. It is now read-only.

Troubles using casting and current typings. #9

@Johnz86

Description

@Johnz86

I have troubles to reuse the project with typescript.
If I follow default examples then SolrClient typing is missing getHandlers();
If I want to use the component lego, then I need to cast.
const TextSearch = defaultComponentPack.searchFields.text as any;
Even then I have trouble to access correctly.
state.query.searchFields and state.results.docs

How to use Component Lego with typescript, can you make some example?

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