export const diagnostic1 = { file : { fileName : '/Users/fi3ework/vite-plugin-checker/playground/react-ts/src/App.tsx' , text : "import React, { useState } from 'react'\n" + "import logo from './logo.svg'\n" + "import './App.css'\n" + '\n' + 'function App() {\n' + '  // Try change <string> to <number> and the overlay will gone.\n' + '  const [count, setCount] = useState<string>(1)\n' + '  return (\n' + '    <div className="App">\n' + '      <header className="App-header">\n' + '        <img src={logo} className="App-logo" alt="logo" />\n' + '        <p>Hello Vite + React!</p>\n' + '        <p>\n' + '          <button onClick={() => setCount((count) => count + 1)}>count is: {count}</button>\n' + '        </p>\n' + '        <p>\n' + '          Edit <code>App.tsx</code> and save to test HMR updates.\n' + '        </p>\n' + '        <p>\n' + '          <a\n' + '            className="App-link"\n' + '            href="https://reactjs.org"\n' + '            target="_blank"\n' + '            rel="noopener noreferrer"\n' + '          >\n' + '            Learn React\n' + '          </a>\n' + "          {' | '}\n" + '          <a\n' + '            className="App-link"\n' + '            href="https://vitejs.dev/guide/features.html"\n' + '            target="_blank"\n' + '            rel="noopener noreferrer"\n' + '          >\n' + '            Vite Docs\n' + '          </a>\n' + '        </p>\n' + '      </header>\n' + '    </div>\n' + '  )\n' + '}\n' + '\n' + 'export default App\n' , languageVersion : 99 , languageVariant : 1 , scriptKind : 4 , isDeclarationFile : false , hasNoDefaultLib : false , bindDiagnostics : [ ] , bindSuggestionDiagnostics : undefined , checkJsDirective : undefined , referencedFiles : [ ] , typeReferenceDirectives : [ ] , libReferenceDirectives : [ ] , amdDependencies : [ ] , commentDirectives : undefined , nodeCount : 177 , identifierCount : 48 , parseDiagnostics : [ ] , version : 'e38e5afa683ca0a1613c6d335a73db12ae58b69c4555ac645ccc8f6a15dce3d6' , path : '/users/fi3ework/vite-plugin-checker/playground/react-ts/src/app.tsx' , resolvedPath : '/users/fi3ework/vite-plugin-checker/playground/react-ts/src/app.tsx' , originalFileName : '/Users/fi3ework/vite-plugin-checker/playground/react-ts/src/App.tsx' , moduleAugmentations : [ ] , ambientModuleNames : [ ] , endFlowNode : { flags : 2 } , symbolCount : 36 , id : 14728 , lineMap : [ 0 , 40 , 70 , 89 , 90 , 107 , 171 , 219 , 230 , 256 , 294 , 353 , 388 , 400 , 492 , 505 , 517 , 583 , 596 , 608 , 621 , 654 , 693 , 721 , 759 , 771 , 795 , 810 , 828 , 841 , 874 , 932 , 960 , 998 , 1010 , 1032 , 1047 , 1060 , 1076 , 1087 , 1091 , 1093 , 1094 , 1113 , ] , } , start : 216 , length : 1 , code : 2345 , category : 1 , messageText : "Argument of type 'number' is not assignable to parameter of type 'string | (() => string)'." , relatedInformation : undefined , } ;