-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
microsoft/vscode
#94165Labels
Milestone
Description
TypeScript Version: 3.8.2
Search Terms:
Code
declare function partial<A extends object>(a: A): Partial<A>;
declare function object(): { x: number };
// try adding `.` before each semicolon
partial({ x: 2 });
partial(object());Expected behavior: Both should display x?
Actual behavior: Only one has x?, the other has x.
Note: They both have the question mark on the right hand side.
Also Note: It never shows x? on the playground:
Related Issues: Couldn't find any
Reactions are currently unavailable
