mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-13 14:29:00 -06:00
addressed PR feedback: added comments
This commit is contained in:
parent
ee1350b40e
commit
e190761d96
@ -247,6 +247,8 @@ module ts {
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
// if scriptSnapshotShim is a COM object then property check becomes method call with no arguments
|
||||
// 'in' does not have this effect
|
||||
if ("dispose" in this.scriptSnapshotShim) {
|
||||
this.scriptSnapshotShim.dispose();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user