Skip to content

Commit 32319df

Browse files
committed
chore: tidy up
1 parent e1e0223 commit 32319df

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

docs-svelte-kit/tools/generate-routes.mts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
import path from 'path';
22
import fs from 'fs';
33
import { fileURLToPath } from 'url';
4-
const dirname = path.dirname(
5-
fileURLToPath(
6-
// @ts-expect-error -- Cannot change `module` option
7-
import.meta.url
8-
)
9-
);
4+
const dirname = path.dirname(fileURLToPath(import.meta.url));
105

116
/** Generate SvelteKit routes files */
127
export default function generateRoutes(): void {

docs-svelte-kit/tools/vite-plugin-svelte-md-option.mts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import highlight from './highlight.mjs';
22
import replaceLinkPlugin from './markdown-it-replace-link.mjs';
3-
// @ts-expect-error missing types
43
import { full as emojiPlugin } from 'markdown-it-emoji';
54
import anchorPlugin from 'markdown-it-anchor';
65
import containerPlugin from 'markdown-it-container';

0 commit comments

Comments
 (0)