Issue Type: Bug
When trying to augment an interface contained in a module, the Organize Imports option of VSCode removed the required import.
Sample code:
import { Caseless } from 'caseless';
declare module 'caseless' {
interface Caseless {
test(name: KeyType): boolean;
}
}
When you save, Organize Imports removes the import so the augmentation doesn't happen.
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z)
OS version: Darwin x64 18.5.0
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900) |
| GPU Status |
2d_canvas: enabled checker_imaging: disabled_off flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: enabled rasterization: enabled surface_synchronization: enabled_on video_decode: enabled webgl: enabled webgl2: enabled |
| Load (avg) |
3, 3, 3 |
| Memory (System) |
32.00GB (18.87GB free) |
| Process Argv |
|
| Screen Reader |
no |
| VM |
0% |
Extensions: none
Issue Type: Bug
When trying to augment an interface contained in a module, the Organize Imports option of VSCode removed the required import.
Sample code:
When you save, Organize Imports removes the import so the augmentation doesn't happen.
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z)
OS version: Darwin x64 18.5.0
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled