35. implement Filter<T, A>

  -通过 / -执行

请实现Filter<T, A>,返回T中能够assign给A的type所组成的新tuple。

type A = Filter<[1,'BFE', 2, true, 'dev'], number> // [1, 2]
type B = Filter<[1,'BFE', 2, true, 'dev'], string> // ['BFE', 'dev']
type C = Filter<[1,'BFE', 2, any, 'dev'], string> // ['BFE', any, 'dev']

争取10分钟以内搞定这个问题

(26)