首页 > TAG信息列表 > defining
[Typescript] Defining a namespace alias
namespace AllGreetings { export namespace Greetings { export function returnGreeting (greeting: string) { console.log(`The message from namespace Greetings is ${greeting}.`); } } export namespace GreetingsWithLength