export default class Test{
      public static a = 1;
      public static sayHello(){

      }
}

 

export module Test{
    export var a = 1;
    export function sayHello(){

    }
}

  

 

static和export有什么关系

 

相关文章:

  • 2022-01-20
  • 2022-12-23
  • 2021-12-31
  • 2021-11-13
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2022-12-23
  • 2022-02-07
  • 2021-12-16
  • 2021-12-15
  • 2021-11-20
  • 2021-10-24
相关资源
相似解决方案