Umi — API References - v1.3.0
    Preparing search index...

    Type Alias DataEnum

    Defines a data enum using discriminated union types.

    type WebPageEvent =
    | { __kind: 'pageview', url: string }
    | { __kind: 'click', x: number, y: number };
    type DataEnum = {
        __kind: string;
    }
    Index

    Properties

    Properties

    __kind: string