();
files.set(`/.eslintrc`, config.eslintrc);
diff --git a/packages/website/src/components/linter/createLinter.ts b/packages/website/src/components/linter/createLinter.ts
index 78f001439d87..449b847f5344 100644
--- a/packages/website/src/components/linter/createLinter.ts
+++ b/packages/website/src/components/linter/createLinter.ts
@@ -38,10 +38,12 @@ export interface CreateLinter {
updateParserOptions(sourceType?: SourceType): void;
}
+export type TSVFS = typeof tsvfs;
+
export function createLinter(
system: PlaygroundSystem,
webLinterModule: WebLinterModule,
- vfs: typeof tsvfs,
+ vfs: TSVFS,
): CreateLinter {
const rules: CreateLinter['rules'] = new Map();
const configs = new Map(Object.entries(webLinterModule.configs));
diff --git a/packages/website/src/components/linter/createParser.ts b/packages/website/src/components/linter/createParser.ts
index 6af8e0af3b85..9e2cf874bd3e 100644
--- a/packages/website/src/components/linter/createParser.ts
+++ b/packages/website/src/components/linter/createParser.ts
@@ -12,12 +12,14 @@ import type {
import { defaultParseSettings } from './config';
+export type TSVFS = typeof tsvfs;
+
export function createParser(
system: PlaygroundSystem,
compilerOptions: ts.CompilerOptions,
onUpdate: (filename: string, model: UpdateModel) => void,
utils: WebLinterModule,
- vfs: typeof tsvfs,
+ vfs: TSVFS,
): {
updateConfig: (compilerOptions: ts.CompilerOptions) => void;
} & Parser.ParserModule {
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy