'const' initializer in an ambient context must be a string or numeric literal

后端 未结 0 1985
不知归路
不知归路 2020-12-03 03:12

I have a namespace in typescript that looks like this :

export declare namespace MyNamespace {
    const myFunc = (a:number) => 3;
}

My co

相关标签:
回答
  • 消灭零回复
提交回复
热议问题