Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.61 KB

File metadata and controls

13 lines (8 loc) · 1.61 KB

Exclude easy #built-in

by Zheeeng @zheeeng

Take the Challenge    简体中文 日本語 한국어

Implement the built-in Exclude<T, U>

Exclude from T those types that are assignable to U

For example:

type Result = MyExclude<'a' | 'b' | 'c', 'a'> // 'b' | 'c'

Back Share your Solutions Check out Solutions