Skip to content

v0.40.0 Errors to build on TypeScript - No exported member 'GameMetadata' #809

@evandroabukamel

Description

@evandroabukamel

Hey, guys.
Recently I've installed the v0.40.0 to try it but I couldn't build my project in TypeScript.

node_modules/bgio-storage-cache/dist/bgio-storage-cache.d.ts:9:38 - error TS2694: Namespace '"./node_modules/boardgame.io/dist/types/src/types".Server' has no exported member 'GameMetadata'.

9         metadata: LRU<string, Server.GameMetadata>;
                                       ~~~~~~~~~~~~

node_modules/bgio-storage-cache/dist/bgio-storage-cache.d.ts:47:50 - error TS2694: Namespace '"./node_modules/boardgame.io/dist/types/src/types".Server' has no exported member 'GameMetadata'.

47     setMetadata(gameID: string, metadata: Server.GameMetadata): Promise<void>;
                                                    ~~~~~~~~~~~~

That's it. I didn't have time to investigate yet. I still have to work on my PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions