summaryrefslogtreecommitdiff
path: root/js/src/Ice/FormatType.d.ts
blob: e85fb344e384a7bd901ea5c358e55368dc08df9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

declare module "ice"
{
    namespace Ice
    {
        class FormatType
        {
            static readonly DefaultFormat:FormatType;
            static readonly CompactFormat:FormatType;
            static readonly SlicedFormat:FormatType;

            static valueOf(value:number):FormatType;
            equals(other:any):boolean;
            hashCode():number;
            toString():string;

            readonly name:string;
            readonly value:number;
        }
    }
}