diff options
| -rw-r--r-- | src/pages/chart/ChartPage.tsx | 2 | ||||
| -rw-r--r-- | tsconfig.app.json | 14 |
2 files changed, 10 insertions, 6 deletions
diff --git a/src/pages/chart/ChartPage.tsx b/src/pages/chart/ChartPage.tsx index c0526c0..784aa0d 100644 --- a/src/pages/chart/ChartPage.tsx +++ b/src/pages/chart/ChartPage.tsx @@ -118,7 +118,7 @@ const ChartPage = () => { <div className="chart-section"> <h2>Numbers</h2> <div className="morse-grid"> - {[...'0123456789'].map(char => ( + {[...'1234567890'].map(char => ( <div key={char} className="morse-item" data-char={char}> <div className="character">{char}</div> <div className="morse">{getMorseCode(char)}</div> diff --git a/tsconfig.app.json b/tsconfig.app.json index 54d2c7b..3e8e9c9 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -4,10 +4,13 @@ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "target": "ES2020", "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], + "lib": [ + "ES2020", + "DOM", + "DOM.Iterable" + ], "module": "ESNext", "skipLibCheck": true, - /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, @@ -15,7 +18,6 @@ "moduleDetection": "force", "noEmit": true, "jsx": "react-jsx", - /* Linting */ "strict": true, "noUnusedLocals": true, @@ -23,5 +25,7 @@ "noFallthroughCasesInSwitch": true, "noUncheckedSideEffectImports": true }, - "include": ["src"] -} + "include": [ + "src" + ] +}
\ No newline at end of file |
