Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (31 loc) · 728 Bytes

TODO.md

File metadata and controls

33 lines (31 loc) · 728 Bytes

TODOs

export interface nsIXPCTestCEnums extends nsISupports {
  ///CONST 1
  readonly testConst: number;
  ///CENUM {
  testFlagsExplicit: {
    shouldBe1Explicit: 1;
    shouldBe2Explicit: 2;
    shouldBe4Explicit: 4;
    shouldBe8Explicit: 8;
    shouldBe12Explicit: NaN;
  };
  ///CENUM {
  testFlagsImplicit: {
    shouldBe0Implicit: 0;
    shouldBe1Implicit: 1;
    shouldBe2Implicit: 2;
    shouldBe3Implicit: 3;
    shouldBe5Implicit: 5;
    shouldBe6Implicit: 6;
    shouldBe2AgainImplicit: 2;
    shouldBe3AgainImplicit: 3;
  };
  testCEnumInput: (
    abc: nsIXPCTestCEnums_testFlagsExplicit, ///in
  ) => void;
  testCEnumOutput: () => nsIXPCTestCEnums_testFlagsExplicit;
}

it is not critical for using