Skip to content

Commit 8a3c527

Browse files
authored
chore(tsconfig): enable checkJs (#56)
1 parent 89ed672 commit 8a3c527

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

Diff for: src/Time.svelte

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script>
2-
// @ts-check
3-
42
const {
53
/**
64
* Original timestamp

Diff for: src/dayjs.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @ts-check
21
import dayjs from "dayjs";
32
import relativeTime from "dayjs/plugin/relativeTime.js";
43

Diff for: src/svelte-time.svelte.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @ts-check
21
import { dayjs } from "./dayjs";
32

43
/**

Diff for: tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"compilerOptions": {
33
"noEmit": true,
4+
"checkJs": true,
45
"esModuleInterop": true,
56
"forceConsistentCasingInFileNames": true,
67
"noUnusedLocals": true,

0 commit comments

Comments
 (0)