📜  打字稿代码示例中的空字符串

📅  最后修改于: 2022-03-11 14:48:18.451000             🧑  作者: Mango

代码示例1
empty string in typescript:

interface StringConstructor { 
    Empty: string;
}

String.Empty = "";

function test(x: string) {

}

test(String.Empty);