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

Different type at runtime vs compile-time in symphony compat code #318

@ColinEberhardt

Description

@ColinEberhardt

From the following line:

https://github.com/symphonyoss/ContainerJS/blob/master/packages/api-symphony-compatibility/src/mapping.ts#L19

We are invoking a function on the App object, i.e. containerjsSsf.App.setBadgeCount(count) - and the TypeScript compiler is entirely happy with this. However, at runtime, the containerjsSsf has an app property (lowercase).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions