mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-12 20:25:48 -06:00
Merge pull request #9853 from HerringtonDarkholme/master
Fix #9843. IScriptSnapshot can return undefined
This commit is contained in:
commit
a2f45e9599
@ -94,7 +94,7 @@ namespace ts {
|
||||
* change range cannot be determined. However, in that case, incremental parsing will
|
||||
* not happen and the entire document will be re - parsed.
|
||||
*/
|
||||
getChangeRange(oldSnapshot: IScriptSnapshot): TextChangeRange;
|
||||
getChangeRange(oldSnapshot: IScriptSnapshot): TextChangeRange | undefined;
|
||||
|
||||
/** Releases all resources held by this script snapshot */
|
||||
dispose?(): void;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user