**TypeScript Version:** master **Code** ```ts function split(notSure: string | RegExp) { return foo.split(notSure); } ``` **Expected behavior:** No error **Actual behavior:** Error: "Argument of type 'string | RegExp' is not assignable to parameter of type 'RegExp'."