Javascript regex to match type annotations

前端 未结 0 1387
Happy的楠姐
Happy的楠姐 2020-12-03 16:12

I\'m trying to match type annotations from a string of parameters:

foo: string, bar:number, baz: Array

my initial pattern was w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题