**Code** ```ts let data: string[] = []; data.push('foo'); data.push('foo'); data.push('bar'); data = [...new Set(data)]; ``` **Expected behavior:** `data = [...new Set(data)]` should match `data = Array.from(new Set(data));` => ```["foo", "bar"]``` **Actual behavior:** typescript compilation error "error TS2461: Type 'Set<string>' is not an array type."