您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Interface.ts 336B

12345678910111213
  1. import { Raid, Signup, Character, RaidData } from "../../Types/Types"
  2. export type ShoutMessage = {
  3. message: string,
  4. sender: string,
  5. date: string
  6. }
  7. export class IShoutbox{
  8. shout: (uuid:string, msg: ShoutMessage) => Promise<void>
  9. getFeed: () => Promise<ShoutMessage[]>
  10. subscribe: (callback) => Promise<string>
  11. }