如果想向项目添加 RBS 类型,可以从生成签名原型开始。打开 Ruby 文件并按 &shortcut:Generate; 。然后,在 生成 弹出窗口中选择 类型签名

Generste an RBS prototype