EITS-web/node_modules/eslint-plugin-svelte/lib/shared/index.d.ts
2025-12-06 09:54:52 -05:00

12 lines
605 B
TypeScript

import { CommentDirectives } from './comment-directives.js';
export declare class Shared {
readonly commentDirectives: CommentDirectives[];
newCommentDirectives(options: ConstructorParameters<typeof CommentDirectives>[0]): CommentDirectives;
}
/** Start sharing and make the data available. */
export declare function beginShared(filename: string): void;
/** Get the shared data and end the sharing. */
export declare function terminateShared(filename: string): Shared | null;
/** If sharing has started, get the shared data. */
export declare function getShared(filename: string): Shared | null;