Waiting for https://github.com/Microsoft/TypeScript/issues/2607 to to be implemented
Ref: SO #1 SO #2