type 关键字2024-01-17 15:15:52 type常用用法 type words = (word: string) => string //type 定义函数类型 type methodType = ‘GET‘ | ‘POST‘ | ‘get‘ | ‘post‘ //定义字面量类型 type 关键字上一篇:020、percona-备份恢复实验下一篇:RabbitMQ - 消息中间件协议(AMQP, MQTT, OpenMessage, Kafka)