mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
589 B
Diff
16 lines
589 B
Diff
--- old.reactImportUnusedInNewJSXEmit(jsx=react-jsxdev).errors.txt
|
|
+++ new.reactImportUnusedInNewJSXEmit(jsx=react-jsxdev).errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
-index.tsx(3,1): error TS6133: 'React' is declared but its value is never read.
|
|
+index.tsx(3,8): error TS6133: 'React' is declared but its value is never read.
|
|
|
|
|
|
==== index.tsx (1 errors) ====
|
|
/// <reference path="/.lib/react16.d.ts" />
|
|
|
|
import React from "react";
|
|
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ ~~~~~
|
|
!!! error TS6133: 'React' is declared but its value is never read.
|
|
|
|
function Bar() {
|