22 lines
392 B
TypeScript
22 lines
392 B
TypeScript
|
/// <reference path='fourslash.ts' />
|
||
|
|
||
|
// @jsx: preserve
|
||
|
// @noLib: true
|
||
|
// @libFiles: react.d.ts,lib.d.ts
|
||
|
|
||
|
// @Filename: file.tsx
|
||
|
//// import React = require('react');
|
||
|
//// [|<div/>;|]
|
||
|
//// 1;
|
||
|
|
||
|
verify.moveToNewFile({
|
||
|
newFileContents: {
|
||
|
"/tests/cases/fourslash/file.tsx":
|
||
|
`1;`,
|
||
|
"/tests/cases/fourslash/newFile.tsx":
|
||
|
`import React = require('react');
|
||
|
<div />;
|
||
|
`,
|
||
|
}
|
||
|
});
|