摘要:
interface IMessage { (value: any): void; success(): void; error(): void; version: string; } const Message: IMessage = function Message(value: any) { c 阅读全文
摘要:
class User { constructor(public readonly name: string, public readonly value: Function) {} } class Data { values: any[] = []; register(name: string, v 阅读全文