2018-11-01 11:11:55 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2018-11-08 03:43:02 +01:00
|
|
|
////["words"] as string
|
2018-11-01 11:11:55 +01:00
|
|
|
|
|
|
|
verify.codeFix({
|
|
|
|
description: "Add 'unknown' conversion for non-overlapping types",
|
2018-11-08 03:43:02 +01:00
|
|
|
newFileContent: `["words"] as unknown as string`
|
2018-11-01 11:11:55 +01:00
|
|
|
});
|